public class FieldRenamer extends SceneTransformer implements IJbcoTransform
Modifier and Type | Field and Description |
---|---|
static String[] |
dependancies |
static int[] |
handedOutPairs |
static int[] |
handedOutRunPairs |
static String |
name |
static Vector<String> |
namesToNotRename |
static Hashtable<String,String> |
oldToNewFieldNames |
static SootField[][] |
opaquePairs |
static Hashtable<SootClass,SootField> |
opaquePreds1ByClass |
static Hashtable<SootClass,SootField> |
opaquePreds2ByClass |
static boolean |
rename_fields |
static ArrayList<SootField> |
sootFieldsRenamed |
debug, out, output
Constructor and Description |
---|
FieldRenamer() |
Modifier and Type | Method and Description |
---|---|
static void |
addOldAndNewName(String oldn,
String newn) |
String[] |
getDependancies() |
String |
getName() |
static String |
getNewName() |
static SootField[] |
getRandomOpaques() |
static int |
getRandomOpaquesForRunnable() |
protected void |
internalTransform(String phaseName,
Map<String,String> options)
Performs the transformation on the Scene, under the given phaseName and with the given Options.
|
static boolean |
isJavaIdentifier(String s) |
void |
outputSummary() |
protected void |
renameField(String cName,
SootField f) |
protected void |
setBooleanTo(SootClass c,
SootField f,
boolean value) |
static void |
updateOpaqueRunnableCount(int i) |
transform, transform, transform
public static String[] dependancies
public static String name
public static SootField[][] opaquePairs
public static int[] handedOutPairs
public static int[] handedOutRunPairs
public static boolean rename_fields
public void outputSummary()
outputSummary
in interface IJbcoTransform
public String[] getDependancies()
getDependancies
in interface IJbcoTransform
public String getName()
getName
in interface IJbcoTransform
protected void internalTransform(String phaseName, Map<String,String> options)
SceneTransformer
internalTransform
in class SceneTransformer
public static String getNewName()
public static boolean isJavaIdentifier(String s)
public static SootField[] getRandomOpaques()
public static int getRandomOpaquesForRunnable()
public static void updateOpaqueRunnableCount(int i)