soot.toolkits.scalar
Interface LocalDefs
- All Known Implementing Classes:
- SimpleLocalDefs
- public interface LocalDefs
Provides an interface for querying for the definitions of a Local
at a given Unit in a method.
Method Summary |
java.util.List |
getDefsOfAt(Local l,
Unit s)
Returns the definition sites for a Local at a certain
point (Unit) in a method. |
getDefsOfAt
public java.util.List getDefsOfAt(Local l,
Unit s)
- Returns the definition sites for a Local at a certain
point (Unit) in a method.
- Parameters:
l
- the Local in question.s
- a unit that specifies the method context (location)
to query for the definitions of the Local.
- Returns:
- a list of Units where the local is defined in the current
method context.