Package soot.toolkits.scalar
Class ConstantValueToInitializerTransformer
- java.lang.Object
-
- soot.Transformer
-
- soot.SceneTransformer
-
- soot.toolkits.scalar.ConstantValueToInitializerTransformer
-
public class ConstantValueToInitializerTransformer extends SceneTransformer
Transformer that creates a static initializer which sets constant values into final static fields to emulate the initializations that are done through the constant table in CLASS and DEX code, but that are not supported by Jimple.- Author:
- Steven Arzt
-
-
Constructor Summary
Constructors Constructor Description ConstantValueToInitializerTransformer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinternalTransform(String phaseName, Map<String,String> options)Performs the transformation on the Scene, under the given phaseName and with the given Options.voidtransformClass(SootClass sc)static ConstantValueToInitializerTransformerv()-
Methods inherited from class soot.SceneTransformer
transform, transform, transform
-
-
-
-
Method Detail
-
v
public static ConstantValueToInitializerTransformer v()
-
internalTransform
protected void internalTransform(String phaseName, Map<String,String> options)
Description copied from class:SceneTransformerPerforms the transformation on the Scene, under the given phaseName and with the given Options.- Specified by:
internalTransformin classSceneTransformer
-
transformClass
public void transformClass(SootClass sc)
-
-