public class DexArrayInitDetector
extends java.lang.Object
Constructor and Description |
---|
DexArrayInitDetector() |
Modifier and Type | Method and Description |
---|---|
void |
constructArrayInitializations(Body body)
Constructs packed array initializations from the individual element
assignments in the given body
|
void |
fixTraps(Body activeBody)
Fixes the traps in the given body to account for assignments to individual
array elements being replaced by a single fill instruction.
|
java.util.Set<Unit> |
getIgnoreUnits() |
java.util.List<Value> |
getValuesForArrayInit(Unit arrayInit) |
public void constructArrayInitializations(Body body)
body
- The body in which to look for element assignmentspublic java.util.Set<Unit> getIgnoreUnits()
public void fixTraps(Body activeBody)
activeBody
- The body in which to fix the traps