| Package | Description |
|---|---|
| com.android.dx.cf.code |
Implementation of classes having to do with Java simulation, such as
is needed for verification or stack-to-register conversion.
|
| com.android.dx.dex.cf |
Classes for translating Java classfiles into Dalvik classes.
|
| com.android.dx.rop.code |
Classes relating to a register-based opcode system.
|
| com.android.dx.ssa |
| Modifier and Type | Method and Description |
|---|---|
static RopMethod |
Ropper.convert(ConcreteMethod method,
TranslationAdvice advice,
MethodList methods,
DexOptions dexOptions)
Converts a
ConcreteMethod to a RopMethod. |
| Modifier and Type | Method and Description |
|---|---|
void |
OptimizerOptions.compareOptimizerStep(RopMethod nonOptRmeth,
int paramSize,
boolean isStatic,
CfOptions args,
TranslationAdvice advice,
RopMethod rmeth)
Compares the output of the optimizer run normally with a run skipping
some optional steps.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConservativeTranslationAdvice
Implementation of
TranslationAdvice which conservatively answers
false to all methods. |
class |
DexTranslationAdvice
Implementation of
TranslationAdvice which represents what
the dex format will be able to represent. |
| Modifier and Type | Method and Description |
|---|---|
static TranslationAdvice |
Optimizer.getAdvice() |
| Modifier and Type | Method and Description |
|---|---|
static SsaMethod |
Optimizer.debugDeadCodeRemover(RopMethod rmeth,
int paramWidth,
boolean isStatic,
boolean inPreserveLocals,
TranslationAdvice inAdvice) |
static SsaMethod |
Optimizer.debugEdgeSplit(RopMethod rmeth,
int paramWidth,
boolean isStatic,
boolean inPreserveLocals,
TranslationAdvice inAdvice) |
static SsaMethod |
Optimizer.debugNoRegisterAllocation(RopMethod rmeth,
int paramWidth,
boolean isStatic,
boolean inPreserveLocals,
TranslationAdvice inAdvice,
java.util.EnumSet<Optimizer.OptionalStep> steps) |
static SsaMethod |
Optimizer.debugPhiPlacement(RopMethod rmeth,
int paramWidth,
boolean isStatic,
boolean inPreserveLocals,
TranslationAdvice inAdvice) |
static SsaMethod |
Optimizer.debugRenaming(RopMethod rmeth,
int paramWidth,
boolean isStatic,
boolean inPreserveLocals,
TranslationAdvice inAdvice) |
static RopMethod |
Optimizer.optimize(RopMethod rmeth,
int paramWidth,
boolean isStatic,
boolean inPreserveLocals,
TranslationAdvice inAdvice)
Runs optimization algorthims over this method, and returns a new
instance of RopMethod with the changes.
|
static RopMethod |
Optimizer.optimize(RopMethod rmeth,
int paramWidth,
boolean isStatic,
boolean inPreserveLocals,
TranslationAdvice inAdvice,
java.util.EnumSet<Optimizer.OptionalStep> steps)
Runs optimization algorthims over this method, and returns a new
instance of RopMethod with the changes.
|
Copyright © 2020. All Rights Reserved.