public interface CallGraph extends com.ibm.wala.util.graph.NumberedGraph<CGNode>
CGNode| Modifier and Type | Method and Description |
|---|---|
IClassHierarchy |
getClassHierarchy() |
Collection<CGNode> |
getEntrypointNodes() |
CGNode |
getFakeRootNode()
Return the (fake) interprocedural
root node of the call graph. |
CGNode |
getFakeWorldClinitNode() |
CGNode |
getNode(IMethod method,
Context C)
If you want to get all the nodes corresponding to a particular method, regardless of context, then use
getNodes |
Set<CGNode> |
getNodes(MethodReference m) |
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
|
getMaxNumber, getNode, getNumber, iterateNodesaddNode, containsNode, getNumberOfNodes, iterator, removeNodeCGNode getFakeRootNode()
root node of the call graph.CGNode getFakeWorldClinitNode()
Collection<CGNode> getEntrypointNodes()
CGNode getNode(IMethod method, Context C)
getNodesSet<CGNode> getNodes(MethodReference m)
m - a method referenceIClassHierarchy getClassHierarchy()
Set<CGNode> getPossibleTargets(CGNode node, CallSiteReference site)
int getNumberOfTargets(CGNode node, CallSiteReference site)
Iterator<CallSiteReference> getPossibleSites(CGNode src, CGNode target)
Copyright © 2015. All rights reserved.