Enum Class InfoflowConfiguration.CodeEliminationMode

java.lang.Object
java.lang.Enum<InfoflowConfiguration.CodeEliminationMode>
soot.jimple.infoflow.InfoflowConfiguration.CodeEliminationMode
All Implemented Interfaces:
Serializable, Comparable<InfoflowConfiguration.CodeEliminationMode>, Constable
Enclosing class:
InfoflowConfiguration

public static enum InfoflowConfiguration.CodeEliminationMode extends Enum<InfoflowConfiguration.CodeEliminationMode>
Enumeration containing all possible modes of dead and irrelevant code elimination
  • Enum Constant Details

    • NoCodeElimination

      public static final InfoflowConfiguration.CodeEliminationMode NoCodeElimination
      Do not perform any code elimination before running the taint analysis
    • PropagateConstants

      public static final InfoflowConfiguration.CodeEliminationMode PropagateConstants
      Perform an inter-procedural constant propagation and folding and then remove all code that is unreachable
    • RemoveSideEffectFreeCode

      public static final InfoflowConfiguration.CodeEliminationMode RemoveSideEffectFreeCode
      In addition to the inter-procedural constant propagation and folding, also remove live code that cannot potentially influence the outcome of the taint analysis
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InfoflowConfiguration.CodeEliminationMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null