com.ibm.wala.ipa.callgraph.propagation
Interface InstanceKeyFactory
- All Known Subinterfaces:
- ExtendedHeapModel, HeapModel
- All Known Implementing Classes:
- AllocationSiteInNodeFactory, AstJavaCFABuilder, AstJavaSSAPropagationCallGraphBuilder, AstJavaZeroOneContainerCFABuilder, AstJavaZeroXCFABuilder, AstSSAPropagationCallGraphBuilder, ClassBasedInstanceKeys, CrossLanguageInstanceKeys, CrossLanguageSSAPropagationCallGraphBuilder, DelegatingExtendedHeapModel, JavaScopeMappingInstanceKeys, JavaScriptConstructorInstanceKeys, JavaScriptScopeMappingInstanceKeys, JSCFABuilder, JSSSAPropagationCallGraphBuilder, JSZeroOrOneXCFABuilder, nCFABuilder, ScopeMappingInstanceKeys, SmushedAllocationSiteInstanceKeys, SSAPropagationCallGraphBuilder, TypeBasedHeapModel, ZeroXCFABuilder, ZeroXContainerCFABuilder, ZeroXInstanceKeys
public interface InstanceKeyFactory
An object that abstracts how to model instances in the heap.
getInstanceKeyForAllocation
InstanceKey getInstanceKeyForAllocation(CGNode node,
NewSiteReference allocation)
- Returns:
- the instance key that represents a particular allocation
getInstanceKeyForMultiNewArray
InstanceKey getInstanceKeyForMultiNewArray(CGNode node,
NewSiteReference allocation,
int dim)
- Returns:
- the instance key that represents the array allocated as the dim_th
dimension at a particular allocation
getInstanceKeyForConstant
<T> InstanceKey getInstanceKeyForConstant(TypeReference type,
T S)
- Returns:
- the instance key that represents a constant with value S, when considered as a particular type
getInstanceKeyForPEI
InstanceKey getInstanceKeyForPEI(CGNode node,
ProgramCounter instr,
TypeReference type)
- Parameters:
node - instr - type -
- Returns:
- the instance key that represents the exception of type _type_
thrown by a particular PEI.
getInstanceKeyForClassObject
InstanceKey getInstanceKeyForClassObject(TypeReference type)
- Returns:
- the instance key that represents the class object of type _type_.