Interface IReversibleSourceSinkManager
- All Superinterfaces:
ISourceSinkManager
- All Known Implementing Classes:
BaseSourceSinkManager,ConditionalFlowSourceSinkManagerWrapper,DefaultSourceSinkManager
A source sink manager which also allows to treat sinks as sources and vice versa.
Backwards search uses this type of SourceSinkManager
- Author:
- Tim Lange
-
Method Summary
Modifier and TypeMethodDescriptiongetInverseSinkInfo(soot.jimple.Stmt sCallSite, InfoflowManager manager) Determines if a method called by the Stmt is a sink method or not.getInverseSourceInfo(soot.jimple.Stmt sCallSite, InfoflowManager manager, AccessPath ap) Determines whether this is a source resulting in a leak for backwards search.Methods inherited from interface soot.jimple.infoflow.sourcesSinks.manager.ISourceSinkManager
getSinkInfo, getSourceInfo, initialize
-
Method Details
-
getInverseSourceInfo
Determines whether this is a source resulting in a leak for backwards search. Creating a SinkInfo using source signatures.- Parameters:
sCallSite- a Stmt which should include an invokeExrp calling a methodmanager- The manager object for interacting with the solverap- The access path to check. Pass null to check whether the given statement can be a sink for any given access path.- Returns:
- A SourceInfo object containing additional information if this call is a source, otherwise null
-
getInverseSinkInfo
Determines if a method called by the Stmt is a sink method or not. If so, additional information is returned to introduce a taint. Creating a SourceInfo using sink signatures- Parameters:
sCallSite- The call site to checkmanager- The manager object for interacting with the solver- Returns:
- A SinkInfo object containing additional information if this call is a sink, otherwise null
-