| Package | Description |
|---|---|
| soot |
Base Soot classes, shared by different intermediate representations.
|
| soot.jimple |
Public classes for the Jimple intermediate representation.
|
| soot.jimple.internal |
Internal, messy, implementation-specific classes for the Jimple intermediate representation.
|
| soot.toolkits.scalar |
A number of scalar optimizations, and the flow analysis framework.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractUnitBox
Reference implementation for UnitBox; just
add a canContainUnit method.
|
| Modifier and Type | Field and Description |
|---|---|
protected UnitBox |
AbstractTrap.beginUnitBox
The first unit being trapped.
|
protected UnitBox |
AbstractTrap.endUnitBox
The unit just before the last unit being trapped.
|
protected UnitBox |
AbstractTrap.handlerUnitBox
The unit to which execution flows after the caught exception is triggered.
|
| Modifier and Type | Method and Description |
|---|---|
UnitBox |
Trap.getBeginUnitBox()
Returns the box holding the unit returned by
Trap.getBeginUnit(). |
UnitBox |
AbstractTrap.getBeginUnitBox() |
UnitBox |
Trap.getEndUnitBox()
Returns the box holding the unit returned by
Trap.getEndUnit(). |
UnitBox |
AbstractTrap.getEndUnitBox() |
UnitBox |
Trap.getHandlerUnitBox()
Returns the box holding the exception handler's unit.
|
UnitBox |
AbstractTrap.getHandlerUnitBox() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<UnitBox> |
Body.getAllUnitBoxes()
Returns the result of iterating through all Units in this body
and querying them for their UnitBoxes.
|
java.util.List<UnitBox> |
Unit.getBoxesPointingToThis()
Returns a list of Boxes pointing to this Unit.
|
java.util.List<UnitBox> |
Unit.getUnitBoxes()
Returns a list of Boxes containing Units defined in this Unit; typically
branch targets.
|
java.util.List<UnitBox> |
Trap.getUnitBoxes()
Returns the boxes for first, last and handler units.
|
java.util.List<UnitBox> |
LocalVariable.getUnitBoxes() |
java.util.List<UnitBox> |
Body.getUnitBoxes(boolean branchTarget)
If branchTarget is true, returns the result of iterating
through all branching Units in this body and querying them for
their UnitBoxes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Unit.addBoxPointingToThis(UnitBox b)
Adds a box to the list returned by getBoxesPointingToThis.
|
void |
AbstractUnit.addBoxPointingToThis(UnitBox b) |
void |
UnitPrinter.endUnitBox(UnitBox u) |
void |
AbstractUnitPrinter.endUnitBox(UnitBox ub) |
void |
Unit.removeBoxPointingToThis(UnitBox b)
Removes a box from the list returned by getBoxesPointingToThis.
|
void |
AbstractUnit.removeBoxPointingToThis(UnitBox b) |
void |
UnitPrinter.startUnitBox(UnitBox u) |
void |
AbstractUnitPrinter.startUnitBox(UnitBox ub) |
| Constructor and Description |
|---|
AbstractTrap(SootClass exception,
UnitBox beginUnitBox,
UnitBox endUnitBox,
UnitBox handlerUnitBox)
Creates an AbstractTrap with the given exception, handler, begin and end units.
|
| Modifier and Type | Method and Description |
|---|---|
UnitBox |
TableSwitchStmt.getDefaultTargetBox() |
UnitBox |
LookupSwitchStmt.getDefaultTargetBox() |
UnitBox |
IfStmt.getTargetBox() |
UnitBox |
GotoStmt.getTargetBox() |
UnitBox |
TableSwitchStmt.getTargetBox(int index) |
UnitBox |
LookupSwitchStmt.getTargetBox(int index) |
UnitBox |
Jimple.newStmtBox(Unit unit) |
| Modifier and Type | Method and Description |
|---|---|
GotoStmt |
Jimple.newGotoStmt(UnitBox stmtBox) |
IfStmt |
Jimple.newIfStmt(Value condition,
UnitBox target) |
LookupSwitchStmt |
Jimple.newLookupSwitchStmt(Value key,
java.util.List<java.lang.Object> lookupValues,
java.util.List<java.lang.Object> targets,
UnitBox defaultTarget) |
TableSwitchStmt |
Jimple.newTableSwitchStmt(Value key,
int lowIndex,
int highIndex,
java.util.List<java.lang.Object> targets,
UnitBox defaultTarget) |
Trap |
Jimple.newTrap(SootClass exception,
UnitBox beginStmt,
UnitBox endStmt,
UnitBox handlerStmt) |
| Modifier and Type | Class and Description |
|---|---|
class |
StmtBox |
| Modifier and Type | Field and Description |
|---|---|
protected UnitBox[] |
JLookupSwitchStmt.targetBoxes |
| Modifier and Type | Method and Description |
|---|---|
UnitBox |
JTableSwitchStmt.getDefaultTargetBox() |
UnitBox |
JLookupSwitchStmt.getDefaultTargetBox() |
UnitBox |
JIfStmt.getTargetBox() |
UnitBox |
JGotoStmt.getTargetBox() |
UnitBox |
JTableSwitchStmt.getTargetBox(int index) |
UnitBox |
JLookupSwitchStmt.getTargetBox(int index) |
| Constructor and Description |
|---|
JGotoStmt(UnitBox box) |
JIfStmt(ValueBox conditionBox,
UnitBox targetBox) |
JIfStmt(Value condition,
UnitBox target) |
JLookupSwitchStmt(ValueBox keyBox,
java.util.List lookupValues,
UnitBox[] targetBoxes,
UnitBox defaultTargetBox) |
JLookupSwitchStmt(ValueBox keyBox,
java.util.List lookupValues,
UnitBox[] targetBoxes,
UnitBox defaultTargetBox) |
JLookupSwitchStmt(Value key,
java.util.List<java.lang.Object> lookupValues,
java.util.List<java.lang.Object> targets,
UnitBox defaultTarget)
Constructs a new JLookupSwitchStmt.
|
JTableSwitchStmt(ValueBox keyBox,
int lowIndex,
int highIndex,
UnitBox[] targetBoxes,
UnitBox defaultTargetBox) |
JTableSwitchStmt(ValueBox keyBox,
int lowIndex,
int highIndex,
UnitBox[] targetBoxes,
UnitBox defaultTargetBox) |
JTableSwitchStmt(Value key,
int lowIndex,
int highIndex,
java.util.List<java.lang.Object> targets,
UnitBox defaultTarget) |
JTrap(SootClass exception,
UnitBox beginStmt,
UnitBox endStmt,
UnitBox handlerStmt) |
| Modifier and Type | Class and Description |
|---|---|
class |
ValueUnitPair
Utility class used to package a Value and a Unit together.
|
Copyright © 2012-2019 RoboVM AB. All Rights Reserved.