public class HeapReachingDefs extends Object
| Constructor and Description |
|---|
HeapReachingDefs(ModRef modRef,
ExtendedHeapModel heapModel) |
| Modifier and Type | Method and Description |
|---|---|
Map<Statement,com.ibm.wala.util.intset.OrdinalSet<Statement>> |
computeReachingDefs(CGNode node,
IR ir,
PointerAnalysis<InstanceKey> pa,
Map<CGNode,com.ibm.wala.util.intset.OrdinalSet<PointerKey>> mod,
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 modRef, ExtendedHeapModel heapModel)
public Map<Statement,com.ibm.wala.util.intset.OrdinalSet<Statement>> computeReachingDefs(CGNode node, IR ir, PointerAnalysis<InstanceKey> pa, Map<CGNode,com.ibm.wala.util.intset.OrdinalSet<PointerKey>> mod, 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 trackingIllegalArgumentException - if pa is nullIllegalArgumentException - if statements is nullCopyright © 2015. All rights reserved.