Class SourceSinkCondition

java.lang.Object
soot.jimple.infoflow.sourcesSinks.definitions.SourceSinkCondition
Direct Known Subclasses:
AdditionalFlowCondition

public abstract class SourceSinkCondition extends Object
Abstract base class for conditions under which a source/sink definition is valid
Author:
Steven Arzt
  • Constructor Details

    • SourceSinkCondition

      public SourceSinkCondition()
  • Method Details

    • evaluate

      public abstract boolean evaluate(DataFlowResult result, InfoflowResults results)
      Evaluates the condition on the given data flow result
      Parameters:
      result - The data flow result
      results - All results of this data flow analysis
      Returns:
      True if the given data flow result matches the condition, otherwise false
    • getReferencedMethods

      public Set<soot.SootMethod> getReferencedMethods()
      Gets all methods referenced by this condition
      Returns:
      The methods referenced by this condition
    • getReferencedClasses

      public Set<soot.SootClass> getReferencedClasses()
      Gets all classes referenced by this condition
      Returns:
      The classes referenced by this condition
    • getExcludedClasses

      public Set<soot.SootClass> getExcludedClasses()
      Gets all classes excluded by this condition
      Returns:
      The classes excluded by this condition