Class DeadCodeEliminator
java.lang.Object
soot.jimple.infoflow.codeOptimization.DeadCodeEliminator
- All Implemented Interfaces:
ICodeOptimizer
Code optimizer that performs an interprocedural dead-code elimination on all
application classes
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(InfoflowConfiguration config) Initializes the code optimizer.voidrun(InfoflowManager manager, Collection<soot.SootMethod> entryPoints, ISourceSinkManager sourcesSinks, ITaintPropagationWrapper taintWrapper) Runs the coe optimization
-
Constructor Details
-
DeadCodeEliminator
public DeadCodeEliminator()
-
-
Method Details
-
initialize
Description copied from interface:ICodeOptimizerInitializes the code optimizer. This method is called before any actual optimizations are carried out.- Specified by:
initializein interfaceICodeOptimizer- Parameters:
config- The data flow analyzer's configuration
-
run
public void run(InfoflowManager manager, Collection<soot.SootMethod> entryPoints, ISourceSinkManager sourcesSinks, ITaintPropagationWrapper taintWrapper) Description copied from interface:ICodeOptimizerRuns the coe optimization- Specified by:
runin interfaceICodeOptimizer- Parameters:
manager- The data flow manager for interacting with the solverentryPoints- The set of entry points for the data flow analysissourcesSinks- The SourceSinkManagertaintWrapper- The taint wrapper
-