public interface InstanceKey extends ContextItem
For example, for 0-CFA, an InstanceKey would embody an <IClass>... we model all instances of a particular class
For 0-1-CFA, an InstanceKey could be <IMethod,statement #>, representing a particular allocation statement in a particular method.
ContextItem.Value<T>| Modifier and Type | Method and Description |
|---|---|
IClass |
getConcreteType()
For now, we assert that each InstanceKey represents a set of classes which are all of the same
concrete type (modulo the fact that all arrays of references are considered concrete type
[]Object;)
|
java.util.Iterator<com.ibm.wala.util.collections.Pair<CGNode,NewSiteReference>> |
getCreationSites(CallGraph CG)
Get the creation sites of
this, i.e., the statements that may allocate objects
represented by this. |
IClass getConcreteType()
java.util.Iterator<com.ibm.wala.util.collections.Pair<CGNode,NewSiteReference>> getCreationSites(CallGraph CG)
this, i.e., the statements that may allocate objects
represented by this. A creation site is a pair (n,s), where n is the containing CGNode in the given CallGraph CG and s is the allocating NewSiteReference.