Interface ICodeOptimizer

All Known Implementing Classes:
AddNopStmt, ConstantTagFolding, DeadCodeEliminator

public interface ICodeOptimizer
Interface for all code optimization implementations
Author:
Steven Arzt
  • Method Details

    • initialize

      void initialize(InfoflowConfiguration config)
      Initializes the code optimizer. This method is called before any actual optimizations are carried out.
      Parameters:
      config - The data flow analyzer's configuration
    • run

      void run(InfoflowManager manager, Collection<soot.SootMethod> entryPoints, ISourceSinkManager sourcesSinks, ITaintPropagationWrapper taintWrapper)
      Runs the coe optimization
      Parameters:
      manager - The data flow manager for interacting with the solver
      entryPoints - The set of entry points for the data flow analysis
      sourcesSinks - The SourceSinkManager
      taintWrapper - The taint wrapper