soot.toolkits.scalar
Interface LocalDefs
- All Known Subinterfaces:
- CombinedAnalysis
- All Known Implementing Classes:
- CombinedDUAnalysis, ShimpleLocalDefs, SimpleLocalDefs, SmartLocalDefs
public interface LocalDefs
Provides an interface for querying for the definitions of a Local
at a given Unit in a method.
getDefsOfAt
List<Unit> 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.