|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ipa.modref.ModRef
public class ModRef
Mod-ref analysis for heap locations. For each call graph node, what heap locations (as determined by a heap model) may it read or write, including it's callees transitively
| Nested Class Summary | |
|---|---|
protected static class |
ModRef.ModVisitor
|
protected static class |
ModRef.RefVisitor
|
| Constructor Summary | |
|---|---|
protected |
ModRef()
|
| Method Summary | |
|---|---|
java.util.Map<CGNode,OrdinalSet<PointerKey>> |
computeMod(CallGraph cg,
PointerAnalysis pa)
For each call graph node, what heap locations (as determined by a heap model) may it write, including its callees transitively |
java.util.Map<CGNode,OrdinalSet<PointerKey>> |
computeMod(CallGraph cg,
PointerAnalysis pa,
HeapExclusions heapExclude)
For each call graph node, what heap locations (as determined by a heap model) may it write, including its callees transitively |
java.util.Map<CGNode,OrdinalSet<PointerKey>> |
computeRef(CallGraph cg,
PointerAnalysis pa)
For each call graph node, what heap locations (as determined by a heap model) may it read, including its callees transitively |
java.util.Map<CGNode,OrdinalSet<PointerKey>> |
computeRef(CallGraph cg,
PointerAnalysis pa,
HeapExclusions heapExclude)
For each call graph node, what heap locations (as determined by a heap model) may it read, including its callees transitively |
java.util.Set<PointerKey> |
getMod(CGNode n,
ExtendedHeapModel h,
PointerAnalysis pa,
SSAInstruction s,
HeapExclusions hexcl)
Compute the set of PointerKeys that represent pointers that instruction s may write to. |
java.util.Set<PointerKey> |
getMod(CGNode n,
ExtendedHeapModel h,
PointerAnalysis pa,
SSAInstruction s,
HeapExclusions hexcl,
boolean ignoreAllocHeapDefs)
Compute the set of PointerKeys that represent pointers that instruction s may write to. |
java.util.Set<PointerKey> |
getRef(CGNode n,
ExtendedHeapModel h,
PointerAnalysis pa,
SSAInstruction s,
HeapExclusions hexcl)
Compute the set of PointerKeys that represent pointers that instruction s may read. |
static ModRef |
make()
|
protected ModRef.ModVisitor |
makeModVisitor(CGNode n,
java.util.Collection<PointerKey> result,
PointerAnalysis pa,
ExtendedHeapModel h)
|
protected ModRef.ModVisitor |
makeModVisitor(CGNode n,
java.util.Collection<PointerKey> result,
PointerAnalysis pa,
ExtendedHeapModel h,
boolean ignoreAllocHeapDefs)
|
protected ModRef.RefVisitor |
makeRefVisitor(CGNode n,
java.util.Collection<PointerKey> result,
PointerAnalysis pa,
ExtendedHeapModel h)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ModRef()
| Method Detail |
|---|
public static ModRef make()
public java.util.Map<CGNode,OrdinalSet<PointerKey>> computeMod(CallGraph cg,
PointerAnalysis pa,
HeapExclusions heapExclude)
java.lang.IllegalArgumentException - if cg is null
public java.util.Map<CGNode,OrdinalSet<PointerKey>> computeRef(CallGraph cg,
PointerAnalysis pa,
HeapExclusions heapExclude)
java.lang.IllegalArgumentException - if cg is null
public java.util.Map<CGNode,OrdinalSet<PointerKey>> computeMod(CallGraph cg,
PointerAnalysis pa)
public java.util.Map<CGNode,OrdinalSet<PointerKey>> computeRef(CallGraph cg,
PointerAnalysis pa)
protected ModRef.ModVisitor makeModVisitor(CGNode n,
java.util.Collection<PointerKey> result,
PointerAnalysis pa,
ExtendedHeapModel h)
protected ModRef.ModVisitor makeModVisitor(CGNode n,
java.util.Collection<PointerKey> result,
PointerAnalysis pa,
ExtendedHeapModel h,
boolean ignoreAllocHeapDefs)
public java.util.Set<PointerKey> getMod(CGNode n,
ExtendedHeapModel h,
PointerAnalysis pa,
SSAInstruction s,
HeapExclusions hexcl)
PointerKeys that represent pointers that instruction s may write to.
public java.util.Set<PointerKey> getMod(CGNode n,
ExtendedHeapModel h,
PointerAnalysis pa,
SSAInstruction s,
HeapExclusions hexcl,
boolean ignoreAllocHeapDefs)
PointerKeys that represent pointers that instruction s may write to.
protected ModRef.RefVisitor makeRefVisitor(CGNode n,
java.util.Collection<PointerKey> result,
PointerAnalysis pa,
ExtendedHeapModel h)
public java.util.Set<PointerKey> getRef(CGNode n,
ExtendedHeapModel h,
PointerAnalysis pa,
SSAInstruction s,
HeapExclusions hexcl)
PointerKeys that represent pointers that instruction s may read.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||