LocalDefs.Factory| Modifier and Type | Field and Description |
|---|---|
protected BitSet[] |
localToDefsBits |
protected Map<Local,Integer> |
localToNumber |
protected BitSet[] |
localToUsesBits |
protected List<Unit> |
unitList |
| Constructor and Description |
|---|
DexDefUseAnalysis(Body body) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<Unit> |
collectDefinitionsWithAliases(Local l)
Collect definitions of l in body including the definitions of aliases of l.
|
List<Unit> |
getDefsOf(Local l)
Returns the definition sites for a Local merged over all points in a method.
|
List<Unit> |
getDefsOfAt(Local l,
Unit s)
Returns the definition sites for a Local at a certain point (Unit) in a method.
|
Set<Unit> |
getUsesOf(Local l) |
protected void |
initialize() |
protected BitSet[] localToDefsBits
protected BitSet[] localToUsesBits
public DexDefUseAnalysis(Body body)
protected void initialize()
protected Set<Unit> collectDefinitionsWithAliases(Local l)
l - the local whose definitions are to collectpublic List<Unit> getDefsOfAt(Local l, Unit s)
LocalDefsnull.getDefsOfAt in interface LocalDefsl - the Local in question.s - a unit that specifies the method context (location) to query for the definitions of the Local.Copyright © 2020 Soot OSS. All rights reserved.