Package pascal.taie.analysis.pta.toolkit
Interface PointerAnalysisResultEx
- All Known Implementing Classes:
PointerAnalysisResultExImpl
public interface PointerAnalysisResultEx
Extended version
PointerAnalysisResult
.
Unlike PointerAnalysisResult
which only provides results directly
computed from pointer analysis, this class provides more commonly-used results
that are indirectly derived from original pointer analysis result.
-
Method Summary
Modifier and TypeMethodDescriptiongetBase()
getMethodsInvokedOn
(Obj obj) getObjectsAllocatedIn
(JMethod method) getObjectsOf
(Type type) getReceiverObjectsOf
(JMethod method)
-
Method Details
-
getBase
PointerAnalysisResult getBase()- Returns:
- the base pointer analysis result.
-
getMethodsInvokedOn
- Returns:
- the methods whose receiver objects contain obj.
-
getReceiverObjectsOf
- Returns:
- the receiver objects of given method.
-
getObjectsAllocatedIn
- Returns:
- the objects that are allocated in given method.
-
getObjectsOf
- Returns:
- the objects of given type.
-
getObjectTypes
- Returns:
- types of all reachable objects in pointer analysis.
-