Package soot.jimple.infoflow
Class InfoflowManager
java.lang.Object
soot.jimple.infoflow.InfoflowManager
Manager class for passing internal data flow objects to interface
implementors
- Author:
- Steven Arzt
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionInfoflowManager(InfoflowConfiguration config) InfoflowManager(InfoflowConfiguration config, IInfoflowSolver mainSolver, IInfoflowCFG icfg) protectedInfoflowManager(InfoflowConfiguration config, IInfoflowSolver mainSolver, IInfoflowCFG icfg, ISourceSinkManager sourceSinkManager, ITaintPropagationWrapper taintWrapper, soot.FastHierarchy hierarchy, GlobalTaintManager globalTaintManager) protectedInfoflowManager(InfoflowConfiguration config, IInfoflowSolver mainSolver, IInfoflowCFG icfg, ISourceSinkManager sourceSinkManager, ITaintPropagationWrapper taintWrapper, soot.FastHierarchy hierarchy, InfoflowManager existingManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()Releases all resources that are no longer required after the main step of the data flow analysisGets the factory object for creating new access pathsGets the IFDS solver that propagates alias edgesGets the configuration for this data flow analysisGets the manager object for handling global taints outside of the IFDS solversoot.FastHierarchyGets the Soot type hierarchy that was constructed together with the callgraph.getICFG()Gets the interprocedural control flow graphGets the IFDS solver that propagates edges forwardGets the interprocedural control flow graph for the other direction.Gets the SourceSinkManager implementationGets the taint wrapper to be used for handling library callsGets the utility class for type checksGet the additional information flow managersoot.jimple.toolkits.callgraph.VirtualEdgesSummariesReturns the virtual edge summariesbooleanChecks whether the analysis has been abortedvoidsetAliasing(Aliasing aliasing) voidsetAliasSolver(IInfoflowSolver solver) Sets the IFDS solver that propagates edges forwardvoidsetMainSolver(IInfoflowSolver solver) Sets the IFDS solver that propagates edges in the main directionvoidsetUsageContextProvider(IUsageContextProvider usageContextProvider) Set the additional flow manager
-
Field Details
-
additionalManager
-
-
Constructor Details
-
InfoflowManager
-
InfoflowManager
protected InfoflowManager(InfoflowConfiguration config, IInfoflowSolver mainSolver, IInfoflowCFG icfg, ISourceSinkManager sourceSinkManager, ITaintPropagationWrapper taintWrapper, soot.FastHierarchy hierarchy, GlobalTaintManager globalTaintManager) -
InfoflowManager
protected InfoflowManager(InfoflowConfiguration config, IInfoflowSolver mainSolver, IInfoflowCFG icfg, ISourceSinkManager sourceSinkManager, ITaintPropagationWrapper taintWrapper, soot.FastHierarchy hierarchy, InfoflowManager existingManager) -
InfoflowManager
-
-
Method Details
-
getConfig
Gets the configuration for this data flow analysis- Returns:
- The configuration for this data flow analysis
-
setMainSolver
Sets the IFDS solver that propagates edges in the main direction- Parameters:
solver- The IFDS solver that propagates edges in the main direction
-
getMainSolver
Gets the IFDS solver that propagates edges forward- Returns:
- The IFDS solver that propagates edges forward
-
getAliasSolver
Gets the IFDS solver that propagates alias edges- Returns:
- The IFDS solver that propagates alias edges
-
setAliasSolver
Sets the IFDS solver that propagates edges forward- Parameters:
solver- The IFDS solver that propagates edges forward
-
getICFG
Gets the interprocedural control flow graph- Returns:
- The interprocedural control flow graph
-
getOriginalICFG
Gets the interprocedural control flow graph for the other direction. Only available in the alias search.- Returns:
- The inversed interprocedural control flow graph
-
getSourceSinkManager
Gets the SourceSinkManager implementation- Returns:
- The SourceSinkManager implementation
-
getTaintWrapper
Gets the taint wrapper to be used for handling library calls- Returns:
- The taint wrapper to be used for handling library calls
-
getTypeUtils
Gets the utility class for type checks- Returns:
- The utility class for type checks
-
getHierarchy
public soot.FastHierarchy getHierarchy()Gets the Soot type hierarchy that was constructed together with the callgraph. In contrast to Scene.v().getFastHierarchy, this object is guaranteed to be available.- Returns:
- The fast hierarchy
-
getAccessPathFactory
Gets the factory object for creating new access paths- Returns:
- The factory object for creating new access paths
-
isAnalysisAborted
public boolean isAnalysisAborted()Checks whether the analysis has been aborted- Returns:
- True if the analysis has been aborted, otherwise false
-
cleanup
public void cleanup()Releases all resources that are no longer required after the main step of the data flow analysis -
setAliasing
-
getAliasing
-
getGlobalTaintManager
Gets the manager object for handling global taints outside of the IFDS solver- Returns:
- The manager object for handling global taints outside of the IFDS solver
-
setUsageContextProvider
Set the additional flow manager- Parameters:
usageContextProvider- The manager object for usage contexts
-
getUsageContextProvider
Get the additional information flow manager- Returns:
- The manager object for usage contexts
-
getVirtualEdgeSummaries
public soot.jimple.toolkits.callgraph.VirtualEdgesSummaries getVirtualEdgeSummaries()Returns the virtual edge summaries- Returns:
- the virtual edge summaries
-