public class CHACallGraph extends BasicCallGraph<CHAContextInterpreter>
BasicCallGraph.Key, BasicCallGraph.NodeImplmr2Nodes| Constructor and Description |
|---|
CHACallGraph(IClassHierarchy cha) |
| Modifier and Type | Method and Description |
|---|---|
CGNode |
findOrCreateNode(IMethod method,
Context C)
Use with extreme care.
|
IClassHierarchy |
getClassHierarchy() |
protected com.ibm.wala.util.graph.NumberedEdgeManager<CGNode> |
getEdgeManager() |
int |
getNumberOfTargets(CGNode node,
CallSiteReference site) |
Iterator<CallSiteReference> |
getPossibleSites(CGNode src,
CGNode target) |
Set<CGNode> |
getPossibleTargets(CGNode node,
CallSiteReference site)
Return the set of CGNodes that represent possible targets of a particular call site from a particular node
|
void |
init(Iterable<Entrypoint> entrypoints) |
protected CGNode |
makeFakeRootNode() |
protected CGNode |
makeFakeWorldClinitNode() |
containsNode, getEntrypointNodes, getFakeRootNode, getFakeWorldClinitNode, getInterpreter, getNode, getNode, getNodeManager, getNodes, getNumberOfNodes, init, iterator, registerEntrypoint, registerNode, removeNodeAndEdges, setInterpreter, summarizeByPackage, toStringgetMaxNumber, getNode, getNumber, getPredNodeNumbers, getSuccNodeNumbers, iterateNodesaddEdge, addNode, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeNode, removeOutgoingEdgesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMaxNumber, getNode, getNumber, iterateNodespublic CHACallGraph(IClassHierarchy cha)
public void init(Iterable<Entrypoint> entrypoints) throws com.ibm.wala.util.CancelException
com.ibm.wala.util.CancelExceptionpublic IClassHierarchy getClassHierarchy()
public Set<CGNode> getPossibleTargets(CGNode node, CallSiteReference site)
CallGraphpublic int getNumberOfTargets(CGNode node, CallSiteReference site)
public Iterator<CallSiteReference> getPossibleSites(CGNode src, CGNode target)
protected CGNode makeFakeRootNode() throws com.ibm.wala.util.CancelException
makeFakeRootNode in class BasicCallGraph<CHAContextInterpreter>com.ibm.wala.util.CancelExceptionprotected CGNode makeFakeWorldClinitNode() throws com.ibm.wala.util.CancelException
makeFakeWorldClinitNode in class BasicCallGraph<CHAContextInterpreter>com.ibm.wala.util.CancelExceptionpublic CGNode findOrCreateNode(IMethod method, Context C) throws com.ibm.wala.util.CancelException
BasicCallGraphfindOrCreateNode in class BasicCallGraph<CHAContextInterpreter>com.ibm.wala.util.CancelException - TODOCopyright © 2015. All rights reserved.