soot.toolkits.scalar
Interface LiveLocals
- All Known Implementing Classes:
- SimpleLiveLocals
- public interface LiveLocals
Provides an interface for querying for the list of Locals that are
live before an after a given unit in a method.
Method Summary |
java.util.List |
getLiveLocalsAfter(Unit s)
Returns the list of Locals that are live after the specified
Unit. |
java.util.List |
getLiveLocalsBefore(Unit s)
Returns the list of Locals that are live before the specified
Unit. |
getLiveLocalsBefore
public java.util.List getLiveLocalsBefore(Unit s)
- Returns the list of Locals that are live before the specified
Unit.
- Parameters:
s
- the Unit that defines this query.- Returns:
- a list of Locals that are live before the specified unit in the method.
getLiveLocalsAfter
public java.util.List getLiveLocalsAfter(Unit s)
- Returns the list of Locals that are live after the specified
Unit.
- Parameters:
s
- the Unit that defines this query.- Returns:
- a list of Locals that are live after the specified unit in the method.