Package com.ibm.wala.cast.ipa.lexical
Class LexicalModRef
- java.lang.Object
-
- com.ibm.wala.cast.ipa.lexical.LexicalModRef
-
public class LexicalModRef extends Object
Compute mod-ref information limited to accesses of lexical variables.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LexicalModRef(CallGraph cg, PointerAnalysis<InstanceKey> pa)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<CGNode,OrdinalSet<Pair<CGNode,String>>>
computeLexicalMod()
Compute the lexical variables possibly modified by eachCGNode
and its transitive callees.Map<CGNode,OrdinalSet<Pair<CGNode,String>>>
computeLexicalRef()
Compute the lexical variables possibly read by eachCGNode
and its transitive callees.static LexicalModRef
make(CallGraph cg, PointerAnalysis<InstanceKey> pa)
protected Collection<Pair<CGNode,String>>
scanNodeForLexReads(CGNode n)
protected Collection<Pair<CGNode,String>>
scanNodeForLexWrites(CGNode n)
-
-
-
Constructor Detail
-
LexicalModRef
protected LexicalModRef(CallGraph cg, PointerAnalysis<InstanceKey> pa)
-
-
Method Detail
-
make
public static LexicalModRef make(CallGraph cg, PointerAnalysis<InstanceKey> pa)
-
scanNodeForLexReads
protected Collection<Pair<CGNode,String>> scanNodeForLexReads(CGNode n)
-
scanNodeForLexWrites
protected Collection<Pair<CGNode,String>> scanNodeForLexWrites(CGNode n)
-
-