LocalDefs.Factory
Constructor and Description |
---|
SimpleLocalDefs(UnitGraph graph) |
SimpleLocalDefs(UnitGraph graph,
soot.toolkits.scalar.SimpleLocalDefs.FlowAnalysisMode mode) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Unit> |
getDefsOf(Local l)
Returns the definition sites for a Local merged over all points
in a method.
|
java.util.List<Unit> |
getDefsOfAt(Local l,
Unit s)
Returns the definition sites for a Local at a certain
point (Unit) in a method.
|
public SimpleLocalDefs(UnitGraph graph)
graph
- public SimpleLocalDefs(UnitGraph graph, soot.toolkits.scalar.SimpleLocalDefs.FlowAnalysisMode mode)
public java.util.List<Unit> getDefsOfAt(Local l, Unit s)
LocalDefs
null
.getDefsOfAt
in interface LocalDefs
l
- the Local in question.s
- a unit that specifies the method context (location)
to query for the definitions of the Local.