public class SimpleLiveLocals extends Object implements LiveLocals
LiveLocals.Factory| Constructor and Description |
|---|
SimpleLiveLocals(DirectedBodyGraph<Unit> graph)
Computes the analysis given a DirectedBodyGraph
|
| 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(DirectedBodyGraph<Unit> 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 © 2024 Soot OSS. All rights reserved.