Package soot.jimple.infoflow.river
Class EmptyUsageContextProvider
java.lang.Object
soot.jimple.infoflow.river.EmptyUsageContextProvider
- All Implemented Interfaces:
IUsageContextProvider
Default implementation that does not request any usage contexts
- Author:
- Tim Lange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisStatementWithAdditionalInformation(soot.jimple.Stmt stmt, Abstraction abs) Whether the flow reaching the statement should be recorded.needsAdditionalInformation(soot.jimple.Stmt stmt, Set<Abstraction> taints) Provide an access path that should be queried as an additional flow.
-
Constructor Details
-
EmptyUsageContextProvider
public EmptyUsageContextProvider()
-
-
Method Details
-
needsAdditionalInformation
public Set<AdditionalFlowInfoSpecification> needsAdditionalInformation(soot.jimple.Stmt stmt, Set<Abstraction> taints) Description copied from interface:IUsageContextProviderProvide an access path that should be queried as an additional flow.- Specified by:
needsAdditionalInformationin interfaceIUsageContextProvider- Parameters:
stmt- current statement in the analysistaints- outgoing taints in the analysis- Returns:
- Flow specifications if a usage context shall be computed. Always non-null.
-
isStatementWithAdditionalInformation
Description copied from interface:IUsageContextProviderWhether the flow reaching the statement should be recorded.- Specified by:
isStatementWithAdditionalInformationin interfaceIUsageContextProvider- Parameters:
stmt- current statement in the analysisabs- incoming taint in the analysis- Returns:
- true if the flow should be recorded
-