Class AbstractPointerAnalysis
java.lang.Object
com.ibm.wala.ipa.callgraph.propagation.AbstractPointerAnalysis
- All Implemented Interfaces:
PointerAnalysis<InstanceKey>
- Direct Known Subclasses:
PointerAnalysisImpl, TypeBasedPointerAnalysis
public abstract class AbstractPointerAnalysis
extends Object
implements PointerAnalysis<InstanceKey>
Abstract superclass for
PointerAnalysis implementations.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MutableMapping<InstanceKey> bijection from InstanceKey <=> Integer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPointerAnalysis(CallGraph cg, MutableMapping<InstanceKey> instanceKeys) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PointerAnalysis
getClassHierarchy, getHeapModel, getPointerKeys, getPointsToSet, isFilteredModifier and TypeMethodDescriptiongetPointsToSet(PointerKey key) booleanisFiltered(PointerKey pk) did the pointer analysis use a type filter for a given points-to set? (this is ugly).
-
Field Details
-
instanceKeys
bijection from InstanceKey <=> Integer
-
-
Constructor Details
-
AbstractPointerAnalysis
-
-
Method Details
-
getHeapGraph
- Specified by:
getHeapGraphin interfacePointerAnalysis<InstanceKey>- Returns:
- a graph view of the pointer analysis solution
-
getCallGraph
-
getInstanceKeys
- Specified by:
getInstanceKeysin interfacePointerAnalysis<InstanceKey>- Returns:
- all instance keys known
-
getInstanceKeyMapping
- Specified by:
getInstanceKeyMappingin interfacePointerAnalysis<InstanceKey>- Returns:
- the bijection between InstanceKey <=> Integer that defines the interpretation of points-to-sets.
-