| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleLocalDefs.FlowAnalysisMode
The different modes in which the flow analysis can run
|
class |
SimpleLocalDefs.FlowAssignment |
static class |
SimpleLocalDefs.StaticSingleAssignment |
| Constructor and Description |
|---|
SimpleLocalDefs(UnitGraph graph) |
SimpleLocalDefs(UnitGraph graph,
SimpleLocalDefs.FlowAnalysisMode mode) |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
assignNumbers(Local[] locals) |
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.
|
protected int |
getLocalNumber(Local l) |
protected LocalDefs |
init(DirectedGraph<Unit> graph,
Local[] locals,
SimpleLocalDefs.FlowAnalysisMode mode) |
protected void |
restoreNumbers(Local[] locals,
int[] oldNumbers) |
public SimpleLocalDefs(UnitGraph graph)
graph - public SimpleLocalDefs(UnitGraph graph, SimpleLocalDefs.FlowAnalysisMode mode)
protected void restoreNumbers(Local[] locals, int[] oldNumbers)
protected int[] assignNumbers(Local[] locals)
protected LocalDefs init(DirectedGraph<Unit> graph, Local[] locals, SimpleLocalDefs.FlowAnalysisMode mode)
protected int getLocalNumber(Local l)
public 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 © 2024 Soot OSS. All rights reserved.