Package | Description |
---|---|
soot.dexpler | |
soot.shimple.toolkits.scalar |
Some analyses based on Shimple.
|
soot.toolkits.scalar |
A number of scalar optimizations, and the flow analysis framework.
|
Modifier and Type | Class and Description |
---|---|
class |
DexDefUseAnalysis
Simplistic caching, flow-insensitive def/use analysis
|
Modifier and Type | Method and Description |
---|---|
protected List<Unit> |
DexTransformer.collectDefinitionsWithAliases(Local l,
LocalDefs localDefs,
LocalUses localUses,
Body body)
Collect definitions of l in body including the definitions of aliases of
l.
|
protected List<Unit> |
DexTransformer.collectDefinitionsWithAliases(Local l,
LocalDefs localDefs,
LocalUses localUses,
Body body)
Collect definitions of l in body including the definitions of aliases of
l.
|
protected Type |
DexTransformer.findArrayType(LocalDefs localDefs,
Stmt arrayStmt,
int depth,
Set<Unit> alreadyVisitedDefs) |
protected Type |
DexTransformer.findArrayType(LocalDefs localDefs,
Stmt arrayStmt,
int depth,
Set<Unit> alreadyVisitedDefs) |
Modifier and Type | Class and Description |
---|---|
class |
ShimpleLocalDefs
This class implements the LocalDefs interface for Shimple.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CombinedAnalysis
Analysis that computes live locals, local defs, and local uses all at once.
|
Modifier and Type | Class and Description |
---|---|
class |
CombinedDUAnalysis
Analysis that computes live locals, local defs, and local uses all at once.
|
class |
SimpleLocalDefs
Analysis that provides an implementation of the LocalDefs interface.
|
class |
SmartLocalDefs
Analysis that provides an implementation of the LocalDefs interface.
|
Modifier and Type | Method and Description |
---|---|
static LocalDefs |
LocalDefs.Factory.newLocalDefs(Body body)
Creates a new LocalDefs analysis based on a
ExceptionalUnitGraph |
static LocalDefs |
LocalDefs.Factory.newLocalDefs(Body body)
Creates a new LocalDefs analysis based on a
ExceptionalUnitGraph |
static LocalDefs |
LocalDefs.Factory.newLocalDefs(Body body,
boolean expectUndefined)
Creates a new LocalDefs analysis based on a
ExceptionalUnitGraph
If you don't trust the input you should set expectUndefined
to true |
static LocalDefs |
LocalDefs.Factory.newLocalDefs(Body body,
boolean expectUndefined)
Creates a new LocalDefs analysis based on a
ExceptionalUnitGraph
If you don't trust the input you should set expectUndefined
to true |
static LocalDefs |
LocalDefs.Factory.newLocalDefs(UnitGraph graph)
Creates a new LocalDefs analysis based on a given
UnitGraph |
static LocalDefs |
LocalDefs.Factory.newLocalDefs(UnitGraph graph)
Creates a new LocalDefs analysis based on a given
UnitGraph |
static LocalDefs |
LocalDefs.Factory.newLocalDefs(UnitGraph graph,
boolean expectUndefined)
Creates a new LocalDefs analysis based on a given
UnitGraph . |
static LocalDefs |
LocalDefs.Factory.newLocalDefs(UnitGraph graph,
boolean expectUndefined)
Creates a new LocalDefs analysis based on a given
UnitGraph . |
static LocalDefs |
LocalDefs.Factory.newLocalDefsFlowInsensitive(UnitGraph graph)
Creates a new LocalDefs analysis based on a given
UnitGraph . |
static LocalDefs |
LocalDefs.Factory.newLocalDefsFlowInsensitive(UnitGraph graph)
Creates a new LocalDefs analysis based on a given
UnitGraph . |
Modifier and Type | Method and Description |
---|---|
static LocalUses |
LocalUses.Factory.newLocalUses(Body body,
LocalDefs localDefs) |
static LocalUses |
LocalUses.Factory.newLocalUses(Body body,
LocalDefs localDefs) |
static LocalUses |
LocalUses.Factory.newLocalUses(UnitGraph graph,
LocalDefs localDefs) |
static LocalUses |
LocalUses.Factory.newLocalUses(UnitGraph graph,
LocalDefs localDefs) |
Constructor and Description |
---|
SimpleLocalUses(Body body,
LocalDefs localDefs)
Construct the analysis from a method body and a LocalDefs
interface.
|
SimpleLocalUses(Body body,
LocalDefs localDefs)
Construct the analysis from a method body and a LocalDefs
interface.
|
SimpleLocalUses(UnitGraph graph,
LocalDefs localDefs)
Construct the analysis from a UnitGraph representation
of a method body and a LocalDefs interface.
|
SimpleLocalUses(UnitGraph graph,
LocalDefs localDefs)
Construct the analysis from a UnitGraph representation
of a method body and a LocalDefs interface.
|