Package soot.jimple.infoflow.river
Interface IUsageContextProvider
- All Known Implementing Classes:
EmptyUsageContextProvider
public interface IUsageContextProvider
Provides the analysis whether usage context is needed
- Author:
- Tim Lange
-
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.
-
Method Details
-
needsAdditionalInformation
Set<AdditionalFlowInfoSpecification> needsAdditionalInformation(soot.jimple.Stmt stmt, Set<Abstraction> taints) Provide an access path that should be queried as an additional flow.- 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
Whether the flow reaching the statement should be recorded.- Parameters:
stmt- current statement in the analysisabs- incoming taint in the analysis- Returns:
- true if the flow should be recorded
-