Interface CSManager
- All Known Implementing Classes:
MapBasedCSManager
public interface CSManager
Manages context-sensitive elements and pointers in pointer analysis.
-
Method Summary
Modifier and TypeMethodDescriptiongetArrayIndex
(CSObj array) getCSCallSite
(Context context, Invoke callSite) getCSMethod
(Context context, JMethod method) getCSObjsOf
(Obj obj) getCSVarsOf
(Var var) getInstanceField
(CSObj base, JField field) getStaticField
(JField field) getVars()
pointers()
-
Method Details
-
getCSVar
- Returns:
- a context-sensitive variable for given context and variable.
-
getCSObj
- Returns:
- a context-sensitive object for given context and object.
-
getCSCallSite
- Returns:
- a context-sensitive call site for given context and call site.
-
getCSMethod
- Returns:
- a context-sensitive method for given context and method.
-
getStaticField
- Returns:
- the corresponding StaticField pointer for given static field.
-
getInstanceField
- Returns:
- the corresponding InstanceField pointer for given object and instance field.
-
getArrayIndex
- Returns:
- the corresponding ArrayIndex pointer for given array object.
-
getVars
Collection<Var> getVars()- Returns:
- all variables (without contexts).
-
getCSVarsOf
- Returns:
- all relevant context-sensitive variables for given variable.
-
getCSVars
Collection<CSVar> getCSVars()- Returns:
- all context-sensitive variables.
-
getObjects
Collection<CSObj> getObjects()- Returns:
- all context-sensitive objects.
-
getCSObjsOf
- Returns:
- all relevant context-sensitive objects for given object.
-
getStaticFields
Collection<StaticField> getStaticFields()- Returns:
- all static field pointers.
-
getInstanceFields
Collection<InstanceField> getInstanceFields()- Returns:
- all instance field pointers.
-
getArrayIndexes
Collection<ArrayIndex> getArrayIndexes()- Returns:
- all array index pointers.
-
pointers
- Returns:
- all pointers managed by this manager.
-
getObjectIndexer
-
getMethodIndexer
-