E - public class PointsToGraphSync extends PointsToGraph
af, solved| Constructor and Description |
|---|
PointsToGraphSync(StmtRegistrar registrar,
PointsToEngineMultiThread engine) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addCall(PointsToEngine.StmtAndContext sac,
polyglot.types.CodeInstance caller,
CContext callerContext,
polyglot.types.ProcedureInstance callee,
CContext calleeContext,
polyglot.util.Position origin) |
boolean |
addEdge(PointsToEngine.StmtAndContext sac,
PointsToGraphNode src,
HContext trg,
polyglot.util.Position origin) |
boolean |
addEdges(PointsToEngine.StmtAndContext sac,
PointsToGraphNode src,
java.util.Set<HContext> trgs,
polyglot.util.Position origin) |
accrue.analysis.pointer.CallGraph |
callGraph() |
void |
dump(java.io.PrintStream out)
Dump the graph in a human readable form.
|
void |
dumpPointsToGraph(int level)
Dump the graph in GraphViz dot format.
|
long |
edgeSize() |
java.util.Set<CContext> |
getContexts(polyglot.types.CodeInstance pi) |
java.util.Set<PointsToGraphNode> |
getNodes() |
java.util.Set<HContext> |
pointsTo(PointsToEngine.StmtAndContext sac,
PointsToGraphNode r) |
java.lang.String |
toString() |
equals, hashCode, nodeSize, pointsTo, pointsToFiltered, pointsToFilteredpublic PointsToGraphSync(StmtRegistrar registrar, PointsToEngineMultiThread engine)
public java.util.Set<CContext> getContexts(polyglot.types.CodeInstance pi)
getContexts in class PointsToGraphpublic java.util.Set<PointsToGraphNode> getNodes()
public accrue.analysis.pointer.CallGraph callGraph()
callGraph in class PointsToGraphpublic void dump(java.io.PrintStream out)
PointsToGraphdump in class PointsToGraphpublic long edgeSize()
edgeSize in class PointsToGraphpublic java.lang.String toString()
toString in class java.lang.Objectpublic void dumpPointsToGraph(int level)
PointsToGraphdumpPointsToGraph in class PointsToGraphpublic boolean addEdge(PointsToEngine.StmtAndContext sac, PointsToGraphNode src, HContext trg, polyglot.util.Position origin)
addEdge in class PointsToGraphpublic boolean addEdges(PointsToEngine.StmtAndContext sac, PointsToGraphNode src, java.util.Set<HContext> trgs, polyglot.util.Position origin)
addEdges in class PointsToGraphpublic boolean addCall(PointsToEngine.StmtAndContext sac, polyglot.types.CodeInstance caller, CContext callerContext, polyglot.types.ProcedureInstance callee, CContext calleeContext, polyglot.util.Position origin)
addCall in class PointsToGraphpublic java.util.Set<HContext> pointsTo(PointsToEngine.StmtAndContext sac, PointsToGraphNode r)
pointsTo in class PointsToGraph