Package it.unive.lisa.interprocedural
Interface ScopeId
-
- All Known Implementing Classes:
UniqueScope
public interface ScopeId
An identifier for anInterproceduralAnalysis
to distinguish different results for the sameCFG
based on their calling contexts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isStartingId()
Yields whether or not this id is the starting one, that is, if it has been generated withstartingId()
or if it must be considered equivalent to the value returned by that method.ScopeId
push(CFGCall c)
Transforms the current scope id by appending the given call.ScopeId
startingId()
Yields the id to use at the start of the analysis, for entrypoints.
-
-
-
Method Detail
-
startingId
ScopeId startingId()
Yields the id to use at the start of the analysis, for entrypoints.- Returns:
- the scope
-
isStartingId
boolean isStartingId()
Yields whether or not this id is the starting one, that is, if it has been generated withstartingId()
or if it must be considered equivalent to the value returned by that method.- Returns:
true
if that condition holds
-
-