public class SimpleLiveLocals extends Object implements LiveLocals
LiveLocals.Factory| Constructor and Description |
|---|
SimpleLiveLocals(UnitGraph graph)
Computes the analysis given a UnitGraph computed from a method body.
|
| Modifier and Type | Method and Description |
|---|---|
List<Local> |
getLiveLocalsAfter(Unit s)
Returns the list of Locals that are live after the specified Unit.
|
List<Local> |
getLiveLocalsBefore(Unit s)
Returns the list of Locals that are live before the specified Unit.
|
public SimpleLiveLocals(UnitGraph graph)
graph - a graph on which to compute the analysis.ExceptionalUnitGraphpublic List<Local> getLiveLocalsAfter(Unit s)
LiveLocalsgetLiveLocalsAfter in interface LiveLocalss - the Unit that defines this query.public List<Local> getLiveLocalsBefore(Unit s)
LiveLocalsgetLiveLocalsBefore in interface LiveLocalss - the Unit that defines this query.Copyright © 2020 Soot OSS. All rights reserved.