public class SsaConverter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
| Constructor and Description |
|---|
SsaConverter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final boolean DEBUG
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 argumentpublic static void updateSsaMethod(SsaMethod ssaMeth, int threshold)
ssaMeth - inputthreshold - registers below this number are unchangedpublic 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 argumentpublic 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 argumentCopyright © 2020. All Rights Reserved.