public class CHACallGraph extends BasicCallGraph<CHAContextInterpreter>
BasicCallGraph.Key, BasicCallGraph.NodeImpl
mr2Nodes
Constructor and Description |
---|
CHACallGraph(IClassHierarchy cha) |
CHACallGraph(IClassHierarchy cha,
boolean applicationOnly) |
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, nodeToString, registerEntrypoint, registerNode, removeNodeAndEdges, setInterpreter, summarizeByPackage, toString
getMaxNumber, getNode, getNumber, getPredNodeNumbers, getSuccNodeNumbers, iterateNodes
addEdge, addNode, edgeString, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeNode, removeOutgoingEdges
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMaxNumber, getNode, getNumber, iterateNodes
forEach, spliterator
public CHACallGraph(IClassHierarchy cha)
public CHACallGraph(IClassHierarchy cha, boolean applicationOnly)
public void init(Iterable<Entrypoint> entrypoints) throws com.ibm.wala.util.CancelException
com.ibm.wala.util.CancelException
public IClassHierarchy getClassHierarchy()
public Set<CGNode> getPossibleTargets(CGNode node, CallSiteReference site)
CallGraph
public 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.CancelException
protected CGNode makeFakeWorldClinitNode() throws com.ibm.wala.util.CancelException
makeFakeWorldClinitNode
in class BasicCallGraph<CHAContextInterpreter>
com.ibm.wala.util.CancelException
public CGNode findOrCreateNode(IMethod method, Context C) throws com.ibm.wala.util.CancelException
BasicCallGraph
findOrCreateNode
in class BasicCallGraph<CHAContextInterpreter>
com.ibm.wala.util.CancelException
- TODOCopyright © 2019. All rights reserved.