public class OnFlyCallGraph extends Object
| Modifier and Type | Field and Description |
|---|---|
protected QueueReader<Edge> |
callEdges |
protected CallGraph |
callGraph |
protected OnFlyCallGraphBuilder |
ofcgb |
protected ReachableMethods |
reachableMethods |
protected QueueReader<MethodOrMethodContext> |
reachablesReader |
| Constructor and Description |
|---|
OnFlyCallGraph(PAG pag,
boolean appOnly) |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
CallGraph |
callGraph() |
protected OnFlyCallGraphBuilder |
createOnFlyCallGraphBuilder(ContextManager cm,
ReachableMethods reachableMethods,
boolean appOnly)
Factory method for creating a new on-fly callgraph builder.
|
void |
mergedWith(Node n1,
Node n2)
Node uses this to notify PAG that n2 has been merged into n1.
|
OnFlyCallGraphBuilder |
ofcgb() |
ReachableMethods |
reachableMethods() |
void |
updatedFieldRef(AllocDotField df,
PointsToSetInternal ptsi) |
void |
updatedNode(VarNode vn) |
protected final OnFlyCallGraphBuilder ofcgb
protected final ReachableMethods reachableMethods
protected final QueueReader<MethodOrMethodContext> reachablesReader
protected final QueueReader<Edge> callEdges
protected final CallGraph callGraph
public OnFlyCallGraph(PAG pag, boolean appOnly)
public ReachableMethods reachableMethods()
public CallGraph callGraph()
protected OnFlyCallGraphBuilder createOnFlyCallGraphBuilder(ContextManager cm, ReachableMethods reachableMethods, boolean appOnly)
cm - The context managerreachableMethods - The reachable method setappOnly - True to only consider application codepublic void build()
public OnFlyCallGraphBuilder ofcgb()
public void updatedFieldRef(AllocDotField df, PointsToSetInternal ptsi)
public void updatedNode(VarNode vn)
Copyright © 2020 Soot OSS. All rights reserved.