|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.PointerAnalysis.AbstrPAEdgeSet
public abstract class AbstrPAEdgeSet
Constructor Summary | |
---|---|
AbstrPAEdgeSet()
|
Method Summary | |
---|---|
abstract boolean |
addEdge(PANode node1,
String f,
PANode node2)
|
abstract void |
addEdge(Temp v,
PANode node)
|
void |
addEdges(Collection node1s,
String f,
Collection node2s)
|
void |
addEdges(Collection node1s,
String f,
PANode node2)
|
abstract boolean |
addEdges(PANode node1,
String f,
Collection node2s)
|
abstract void |
addEdges(Temp v,
Collection nodes)
|
abstract Set |
allFlagsForNode(PANode node)
|
abstract Set |
allSourceNodes()
|
abstract Set |
allVariables()
|
Object |
clone()
|
static Set |
difference(PAEdgeSet es1,
PAEdgeSet es2)
Computes the difference between two sets of edges. |
void |
forAllEdges(harpoon.Analysis.PointerAnalysis.PAEdgeVisitor visitor)
|
abstract void |
forAllEdges(PANode node,
harpoon.Analysis.PointerAnalysis.PAEdgeVisitor visitor)
|
void |
forAllEdges(Temp v,
harpoon.Analysis.PointerAnalysis.PAEdgeVisitor visitor)
|
void |
forAllNodes(PANodeVisitor visitor)
|
abstract void |
forAllPointedNodes(PANode node,
PANodeVisitor visitor)
|
void |
forAllPointedNodes(PANode node,
String f,
PANodeVisitor visitor)
|
void |
forAllPointedNodes(Temp v,
PANodeVisitor visitor)
|
Set |
getEdgesFrom(PANode node,
String f)
|
protected abstract PAEdgeSet |
getEmptyPAEdgeSet()
|
Relation |
getPrecedenceRelation()
Returns a relation that contains all the pairs <n2,n1>
such that there was an edge from n1 to n2
(through some field f ). |
Set |
pointedNodes(Collection nodes,
String f)
|
abstract Set |
pointedNodes(PANode node)
|
abstract Set |
pointedNodes(PANode node,
String f)
|
abstract Set |
pointedNodes(Temp v)
|
abstract void |
remove(Set set)
|
abstract void |
removeEdge(PANode node1,
String f,
PANode node2)
|
abstract void |
removeEdge(Temp v,
PANode node)
|
abstract void |
removeEdges(PANode node1)
|
abstract void |
removeEdges(PANode node1,
String f)
|
abstract void |
removeEdges(Temp v)
|
static void |
show_evolution(PAEdgeSet es_old,
PAEdgeSet es_new)
Display the edges which were removed and the edges which were added while passing from es_old to
es_new . |
PAEdgeSet |
specialize(Map map)
|
String |
toString()
|
void |
union(PAEdgeSet edges2)
Convenient version of union , equivalent to
union(edges2, null) . |
abstract void |
union(PAEdgeSet edges2,
Set ppgRoots)
Add all the edges from edges2 to this
PAEdgeSet . |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface harpoon.Analysis.PointerAnalysis.PAEdgeSet |
---|
copyEdges |
Constructor Detail |
---|
public AbstrPAEdgeSet()
Method Detail |
---|
public abstract void addEdge(Temp v, PANode node)
addEdge
in interface PAEdgeSet
public abstract void addEdges(Temp v, Collection nodes)
addEdges
in interface PAEdgeSet
public abstract void removeEdge(Temp v, PANode node)
removeEdge
in interface PAEdgeSet
public abstract void removeEdges(Temp v)
removeEdges
in interface PAEdgeSet
public abstract Set pointedNodes(Temp v)
pointedNodes
in interface PAEdgeSet
public abstract Set allVariables()
allVariables
in interface PAEdgeSet
public abstract boolean addEdge(PANode node1, String f, PANode node2)
addEdge
in interface PAEdgeSet
public abstract boolean addEdges(PANode node1, String f, Collection node2s)
addEdges
in interface PAEdgeSet
public void addEdges(Collection node1s, String f, PANode node2)
addEdges
in interface PAEdgeSet
public void addEdges(Collection node1s, String f, Collection node2s)
addEdges
in interface PAEdgeSet
public abstract void removeEdge(PANode node1, String f, PANode node2)
removeEdge
in interface PAEdgeSet
public abstract void removeEdges(PANode node1, String f)
removeEdges
in interface PAEdgeSet
public abstract void removeEdges(PANode node1)
removeEdges
in interface PAEdgeSet
public abstract Set pointedNodes(PANode node, String f)
pointedNodes
in interface PAEdgeSet
public Set pointedNodes(Collection nodes, String f)
pointedNodes
in interface PAEdgeSet
public abstract Set pointedNodes(PANode node)
pointedNodes
in interface PAEdgeSet
public abstract Set allFlagsForNode(PANode node)
allFlagsForNode
in interface PAEdgeSet
public abstract Set allSourceNodes()
allSourceNodes
in interface PAEdgeSet
public Set getEdgesFrom(PANode node, String f)
getEdgesFrom
in interface PAEdgeSet
public void forAllPointedNodes(Temp v, PANodeVisitor visitor)
forAllPointedNodes
in interface PAEdgeSet
public void forAllPointedNodes(PANode node, String f, PANodeVisitor visitor)
forAllPointedNodes
in interface PAEdgeSet
public abstract void forAllPointedNodes(PANode node, PANodeVisitor visitor)
forAllPointedNodes
in interface PAEdgeSet
public void forAllNodes(PANodeVisitor visitor)
forAllNodes
in interface PAEdgeSet
public void forAllEdges(Temp v, harpoon.Analysis.PointerAnalysis.PAEdgeVisitor visitor)
forAllEdges
in interface PAEdgeSet
public abstract void forAllEdges(PANode node, harpoon.Analysis.PointerAnalysis.PAEdgeVisitor visitor)
forAllEdges
in interface PAEdgeSet
public void forAllEdges(harpoon.Analysis.PointerAnalysis.PAEdgeVisitor visitor)
forAllEdges
in interface PAEdgeSet
protected abstract PAEdgeSet getEmptyPAEdgeSet()
public PAEdgeSet specialize(Map map)
specialize
in interface PAEdgeSet
public abstract void remove(Set set)
remove
in interface PAEdgeSet
public abstract void union(PAEdgeSet edges2, Set ppgRoots)
PAEdgeSet
this
PAEdgeSet
.
union
in interface PAEdgeSet
ppgRoots
- If non-null, the starting points of all new
edges will be added to this set (this is useful for doing
efficient escape info propagation after points-to graph
updates).public void union(PAEdgeSet edges2)
PAEdgeSet
union
, equivalent to
union(edges2, null)
.
union
in interface PAEdgeSet
public Relation getPrecedenceRelation()
PAEdgeSet
<n2,n1>
such that there was an edge from n1
to n2
(through some field f
).
getPrecedenceRelation
in interface PAEdgeSet
public String toString()
toString
in class Object
public Object clone()
clone
in interface PAEdgeSet
clone
in class Object
public static Set difference(PAEdgeSet es1, PAEdgeSet es2)
PASimpleEdge
or
PAComplexEdge
. For debug purposes.
public static void show_evolution(PAEdgeSet es_old, PAEdgeSet es_new)
es_old
to
es_new
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |