|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.ssa.SsaConverter
public class SsaConverter
Converts ROP methods to SSA Methods
| Field Summary | |
|---|---|
static boolean |
DEBUG
|
| Constructor Summary | |
|---|---|
SsaConverter()
|
|
| Method Summary | |
|---|---|
static SsaMethod |
convertToSsaMethod(RopMethod rmeth,
int paramWidth,
boolean isStatic)
Returns an SSA representation, edge-split and with phi functions placed. |
static SsaMethod |
testEdgeSplit(RopMethod rmeth,
int paramWidth,
boolean isStatic)
Returns an SSA represention with only the edge-splitter run. |
static SsaMethod |
testPhiPlacement(RopMethod rmeth,
int paramWidth,
boolean isStatic)
Returns an SSA represention with only the steps through the phi placement run. |
static void |
updateSsaMethod(SsaMethod ssaMeth,
int threshold)
Updates an SSA representation, placing phi functions and renaming all registers above a certain threshold number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DEBUG
| Constructor Detail |
|---|
public SsaConverter()
| Method Detail |
|---|
public static SsaMethod convertToSsaMethod(RopMethod rmeth,
int paramWidth,
boolean isStatic)
rmeth - inputparamWidth - the total width, in register-units, of the method's
parametersisStatic - true if this method has no this
pointer argument
public static void updateSsaMethod(SsaMethod ssaMeth,
int threshold)
ssaMeth - inputthreshold - registers below this number are unchanged
public static SsaMethod testEdgeSplit(RopMethod rmeth,
int paramWidth,
boolean isStatic)
rmeth - method to processparamWidth - width of all arguments in the methodisStatic - true if this method has no this
pointer argument
public static SsaMethod testPhiPlacement(RopMethod rmeth,
int paramWidth,
boolean isStatic)
rmeth - method to processparamWidth - width of all arguments in the methodisStatic - true if this method has no this
pointer argument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||