public class CallGraphBuilder extends Object
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
protected OnFlyCallGraphBuilder |
createCGBuilder(ContextManager cm,
ReachableMethods reachables2) |
CallGraph |
getCallGraph() |
static ContextManager |
makeContextManager(CallGraph cg) |
protected boolean |
process(MethodOrMethodContext momc)
Processes one item.
|
protected void |
processArrays(MethodOrMethodContext momc) |
protected void |
processBases(MethodOrMethodContext momc) |
protected void |
processReceivers(MethodOrMethodContext momc) |
protected void |
processStringConstants(MethodOrMethodContext momc) |
ReachableMethods |
reachables() |
public CallGraphBuilder(PointsToAnalysis pa)
public CallGraphBuilder()
public CallGraph getCallGraph()
public ReachableMethods reachables()
public static ContextManager makeContextManager(CallGraph cg)
protected OnFlyCallGraphBuilder createCGBuilder(ContextManager cm, ReachableMethods reachables2)
public void build()
protected boolean process(MethodOrMethodContext momc)
momc - the method or method contextprotected void processStringConstants(MethodOrMethodContext momc)
protected void processArrays(MethodOrMethodContext momc)
protected void processBases(MethodOrMethodContext momc)
protected void processReceivers(MethodOrMethodContext momc)
Copyright © 2020 Soot OSS. All rights reserved.