Class SourceSinkCondition
java.lang.Object
soot.jimple.infoflow.sourcesSinks.definitions.SourceSinkCondition
- Direct Known Subclasses:
AdditionalFlowCondition
Abstract base class for conditions under which a source/sink definition is
valid
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanevaluate(DataFlowResult result, InfoflowResults results) Evaluates the condition on the given data flow resultSet<soot.SootClass>Gets all classes excluded by this conditionSet<soot.SootClass>Gets all classes referenced by this conditionSet<soot.SootMethod>Gets all methods referenced by this condition
-
Constructor Details
-
SourceSinkCondition
public SourceSinkCondition()
-
-
Method Details
-
evaluate
Evaluates the condition on the given data flow result- Parameters:
result- The data flow resultresults- All results of this data flow analysis- Returns:
- True if the given data flow result matches the condition, otherwise false
-
getReferencedMethods
Gets all methods referenced by this condition- Returns:
- The methods referenced by this condition
-
getReferencedClasses
Gets all classes referenced by this condition- Returns:
- The classes referenced by this condition
-
getExcludedClasses
Gets all classes excluded by this condition- Returns:
- The classes excluded by this condition
-