soot.jimple.toolkits.callgraph
Interface ContextSensitiveCallGraph


public interface ContextSensitiveCallGraph

Represents a context-sensitive call graph for querying by client analyses.

Author:
Ondrej Lhotak

Method Summary
 Iterator allEdges()
          Returns all ContextSensitiveEdge's in the call graph.
 Iterator edgesInto(Context tgtCtxt, SootMethod tgt)
          Returns all ContextSensitiveEdge's into method tgt in context tgtCtxt.
 Iterator edgeSources()
          Returns all MethodOrMethodContext's (context,method pairs) that are the source of some edge.
 Iterator edgesOutOf(Context srcCtxt, SootMethod src)
          Returns all ContextSensitiveEdge's out of method src in context srcCtxt.
 Iterator edgesOutOf(Context srcCtxt, SootMethod src, Unit srcUnit)
          Returns all ContextSensitiveEdge's out of unit srcUnit in method src in context srcCtxt.
 

Method Detail

edgeSources

Iterator edgeSources()
Returns all MethodOrMethodContext's (context,method pairs) that are the source of some edge.


allEdges

Iterator allEdges()
Returns all ContextSensitiveEdge's in the call graph.


edgesOutOf

Iterator edgesOutOf(Context srcCtxt,
                    SootMethod src,
                    Unit srcUnit)
Returns all ContextSensitiveEdge's out of unit srcUnit in method src in context srcCtxt.


edgesOutOf

Iterator edgesOutOf(Context srcCtxt,
                    SootMethod src)
Returns all ContextSensitiveEdge's out of method src in context srcCtxt.


edgesInto

Iterator edgesInto(Context tgtCtxt,
                   SootMethod tgt)
Returns all ContextSensitiveEdge's into method tgt in context tgtCtxt.