Class InfoflowManager

java.lang.Object
soot.jimple.infoflow.InfoflowManager

public class InfoflowManager extends Object
Manager class for passing internal data flow objects to interface implementors
Author:
Steven Arzt
  • Field Details

  • Constructor Details

  • Method Details

    • getConfig

      public InfoflowConfiguration getConfig()
      Gets the configuration for this data flow analysis
      Returns:
      The configuration for this data flow analysis
    • setMainSolver

      public void setMainSolver(IInfoflowSolver solver)
      Sets the IFDS solver that propagates edges in the main direction
      Parameters:
      solver - The IFDS solver that propagates edges in the main direction
    • getMainSolver

      public IInfoflowSolver getMainSolver()
      Gets the IFDS solver that propagates edges forward
      Returns:
      The IFDS solver that propagates edges forward
    • getAliasSolver

      public IInfoflowSolver getAliasSolver()
      Gets the IFDS solver that propagates alias edges
      Returns:
      The IFDS solver that propagates alias edges
    • setAliasSolver

      public void setAliasSolver(IInfoflowSolver solver)
      Sets the IFDS solver that propagates edges forward
      Parameters:
      solver - The IFDS solver that propagates edges forward
    • getICFG

      public IInfoflowCFG getICFG()
      Gets the interprocedural control flow graph
      Returns:
      The interprocedural control flow graph
    • getOriginalICFG

      public IInfoflowCFG 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

      public ISourceSinkManager getSourceSinkManager()
      Gets the SourceSinkManager implementation
      Returns:
      The SourceSinkManager implementation
    • getTaintWrapper

      public ITaintPropagationWrapper getTaintWrapper()
      Gets the taint wrapper to be used for handling library calls
      Returns:
      The taint wrapper to be used for handling library calls
    • getTypeUtils

      public TypeUtils 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

      public AccessPathFactory 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

      public void setAliasing(Aliasing aliasing)
    • getAliasing

      public Aliasing getAliasing()
    • getGlobalTaintManager

      public GlobalTaintManager 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

      public void setUsageContextProvider(IUsageContextProvider usageContextProvider)
      Set the additional flow manager
      Parameters:
      usageContextProvider - The manager object for usage contexts
    • getUsageContextProvider

      public IUsageContextProvider 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