public class ClassWriter
extends soot.SceneTransformer
implements soot.HasPhaseOptions
| Red (cxh) |
| Red (cxh) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeclaredOptions() |
java.lang.String |
getDefaultOptions() |
java.lang.String |
getPhaseName() |
protected void |
internalTransform(java.lang.String phaseName,
java.util.Map options)
Write out the class file.
|
static ClassWriter |
v() |
public static ClassWriter v()
public java.lang.String getPhaseName()
getPhaseName in interface soot.HasPhaseOptionspublic java.lang.String getDefaultOptions()
getDefaultOptions in interface soot.HasPhaseOptionspublic java.lang.String getDeclaredOptions()
getDeclaredOptions in interface soot.HasPhaseOptionsprotected void internalTransform(java.lang.String phaseName,
java.util.Map options)
Scene.v().getPack("wjtp").add(new Transform("wjtp.snapshot1",
ClassWriter.v()));
Scene.v().getPack("wjtp").add(new Transform("wjtp.snapshot1",
JimpleWriter.v()));
Sample option arguments:
-p wjtp.snapshot1 outputDirectory:jimple1internalTransform in class soot.SceneTransformerphaseName - The name of the phase, for example
wjtp.snapshot1.options - The options Map. This method uses the
outputDirectory option to specify where the .class
file should be writtenJimpleWriter