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<Edge> |
edgesInto(MethodOrMethodContext m)
Returns an iterator over all edges that have m as their target method.
|
Iterator<Edge> |
edgesOutOf(MethodOrMethodContext m)
Returns an iterator over all edges that have m as their source method.
|
Iterator<Edge> |
edgesOutOf(Unit u)
Returns an iterator over all edges that have u as their source unit.
|
QueueReader<Edge> |
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<Edge> |
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<MethodOrMethodContext> |
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<MethodOrMethodContext> sourceMethods()
sourceMethods in class CallGraphpublic Iterator<Edge> edgesOutOf(Unit u)
edgesOutOf in class CallGraphpublic Iterator<Edge> edgesOutOf(MethodOrMethodContext m)
edgesOutOf in class CallGraphpublic Iterator<Edge> edgesInto(MethodOrMethodContext m)
public QueueReader<Edge> listener()
public QueueReader<Edge> newListener()
newListener in class CallGraphCopyright © 2024 Soot OSS. All rights reserved.