|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoot.toolkits.graph.BlockGraph
soot.toolkits.graph.BriefBlockGraph
Represents a CFG for a Body where the nodes are Blocks and edges are derived from control flow. Control flow
associated with exceptions is ignored, so the graph will be a
forest where each exception handler constitutes a disjoint
subgraph.
| Constructor Summary | |
BriefBlockGraph(Body body)
Constructs a BriefBlockGraph from a given Body. |
|
BriefBlockGraph(BriefUnitGraph unitGraph)
Constructs a BriefBlockGraph representing the
Unit-level control flow represented by the passed
BriefUnitGraph. |
|
| Methods inherited from class soot.toolkits.graph.BlockGraph |
buildBlocks, computeLeaders, getBlocks, getBody, getHeads, getPredsOf, getSuccsOf, getTails, iterator, size, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BriefBlockGraph(Body body)
BriefBlockGraph from a given Body.
Note that this constructor builds a BriefUnitGraph internally when splitting body's
Units into Blocks. Callers who already have
a BriefUnitGraph to hand can use the constructor
taking a CompleteUnitGraph as a parameter, as a
minor optimization.
body - the Body for which to build a graph.public BriefBlockGraph(BriefUnitGraph unitGraph)
BriefBlockGraph representing the
Unit-level control flow represented by the passed
BriefUnitGraph.
unitGraph - the Body for which to build a graph.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||