public class HeapReachingDefs<T extends InstanceKey>
extends java.lang.Object
| Constructor and Description |
|---|
HeapReachingDefs(ModRef<T> modRef,
ExtendedHeapModel heapModel) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Statement,com.ibm.wala.util.intset.OrdinalSet<Statement>> |
computeReachingDefs(CGNode node,
IR ir,
PointerAnalysis<T> pa,
java.util.Map<CGNode,com.ibm.wala.util.intset.OrdinalSet<PointerKey>> mod,
java.util.Collection<Statement> statements,
HeapExclusions exclusions,
CallGraph cg)
For each statement s, return the set of statements that may def the heap value read by s.
|
public HeapReachingDefs(ModRef<T> modRef, ExtendedHeapModel heapModel)
public java.util.Map<Statement,com.ibm.wala.util.intset.OrdinalSet<Statement>> computeReachingDefs(CGNode node, IR ir, PointerAnalysis<T> pa, java.util.Map<CGNode,com.ibm.wala.util.intset.OrdinalSet<PointerKey>> mod, java.util.Collection<Statement> statements, HeapExclusions exclusions, CallGraph cg)
node - the node we are computing heap reaching defs forir - IR for the nodepa - governing pointer analysismod - the set of heap locations which may be written (transitively) by this node. These
are logically return values in the SDG.statements - the statements whose def-use are considered interestingexclusions - heap locations that should be excluded from data dependence trackingjava.lang.IllegalArgumentException - if pa is nulljava.lang.IllegalArgumentException - if statements is null