Interface IEOptFilterCanDiscard


public interface IEOptFilterCanDiscard
Interface for can-discard filter implementations used by a master optimizer. Refer to IEMasterOptimizer.addDisregardedOutputFilter(IEOptFilterCanDiscard).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check(CFG<IEStatement> cfg, long insnAddress, int varDefId)
     
  • Method Details

    • check

      boolean check(CFG<IEStatement> cfg, long insnAddress, int varDefId)
      Parameters:
      cfg - CFG
      insnAddress - instruction in CFG
      varDefId - a variable id being defined by the instruction
      Returns:
      true if the definition at the instruction could be considered useless