public class SlowCallGraph extends CallGraph
dummy, srcMethodToEdge, srcUnitToEdge, tgtToEdge| Constructor and Description |
|---|
SlowCallGraph() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addEdge(Edge e)
Used to add an edge to the call graph.
|
Iterator |
edgesInto(MethodOrMethodContext m)
Returns an iterator over all edges that have m as their target method.
|
Iterator |
edgesOutOf(MethodOrMethodContext m)
Returns an iterator over all edges that have m as their source method.
|
Iterator |
edgesOutOf(Unit u)
Returns an iterator over all edges that have u as their source unit.
|
QueueReader |
listener()
Returns a QueueReader object containing all edges added so far, and which will be informed of any new edges that are
later added to the graph.
|
QueueReader |
newListener()
Returns a QueueReader object which will contain ONLY NEW edges which will be added to the graph.
|
boolean |
removeEdge(Edge e)
Removes the edge e from the call graph.
|
int |
size()
Returns the number of edges in the call graph.
|
Iterator |
sourceMethods()
Returns an iterator over all methods that are the sources of at least one edge.
|
String |
toString() |
findEdge, isEntryMethod, iterator, removeAllEdgesOutOf, removeEdge, removeEdges, swapEdgesOutOfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic boolean addEdge(Edge e)
public boolean removeEdge(Edge e)
removeEdge in class CallGraphpublic Iterator sourceMethods()
sourceMethods in class CallGraphpublic Iterator edgesOutOf(Unit u)
edgesOutOf in class CallGraphpublic Iterator edgesOutOf(MethodOrMethodContext m)
edgesOutOf in class CallGraphpublic Iterator edgesInto(MethodOrMethodContext m)
public QueueReader listener()
public QueueReader newListener()
newListener in class CallGraphCopyright © 2020 Soot OSS. All rights reserved.