soot.jimple.toolkits.callgraph
Class CallGraphBuilder
java.lang.Object
soot.jimple.toolkits.callgraph.CallGraphBuilder
public final class CallGraphBuilder
- extends Object
Models the call graph.
- Author:
- Ondrej Lhotak
Constructor Summary |
CallGraphBuilder()
This constructor builds the incomplete hack call graph for the
Dava ThrowFinder. |
CallGraphBuilder(PointsToAnalysis pa)
This constructor builds a complete call graph using the given
PointsToAnalysis to resolve virtual calls. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallGraphBuilder
public CallGraphBuilder(PointsToAnalysis pa)
- This constructor builds a complete call graph using the given
PointsToAnalysis to resolve virtual calls.
CallGraphBuilder
public CallGraphBuilder()
- This constructor builds the incomplete hack call graph for the
Dava ThrowFinder.
It uses all application class methods as entry points, and it ignores
any calls by non-application class methods.
Don't use this constructor if you need a real call graph.
getCallGraph
public CallGraph getCallGraph()
reachables
public ReachableMethods reachables()
makeContextManager
public static ContextManager makeContextManager(CallGraph cg)
build
public void build()