public class SideEffectFreeInvocationRemover
extends soot.SceneTransformer
| Modifier and Type | Method and Description |
|---|---|
static void |
_removeSideEffectFreeMethodCalls(soot.SootMethod method,
soot.jimple.toolkits.callgraph.CallGraph callGraph,
SideEffectAnalysis analysis)
Remove any calls to other methods from the given method that
have no side effects and whose return value is dead.
|
java.lang.String |
getDeclaredOptions()
Return the declared options.
|
java.lang.String |
getDefaultOptions()
Return the default options.
|
protected void |
internalTransform(java.lang.String phaseName,
java.util.Map options) |
static SideEffectFreeInvocationRemover |
v() |
public static SideEffectFreeInvocationRemover v()
public java.lang.String getDefaultOptions()
public java.lang.String getDeclaredOptions()
protected void internalTransform(java.lang.String phaseName,
java.util.Map options)
internalTransform in class soot.SceneTransformerpublic static void _removeSideEffectFreeMethodCalls(soot.SootMethod method,
soot.jimple.toolkits.callgraph.CallGraph callGraph,
SideEffectAnalysis analysis)
method - The given method.callGraph - the call graph.analysis - the analysis.