Package soot.toolkits.graph
Class BriefBlockGraph
- java.lang.Object
-
- soot.toolkits.graph.BlockGraph
-
- soot.toolkits.graph.BriefBlockGraph
-
- All Implemented Interfaces:
Iterable<Block>,DirectedBodyGraph<Block>,DirectedGraph<Block>
public class BriefBlockGraph extends BlockGraph
-
-
Constructor Summary
Constructors Constructor Description BriefBlockGraph(Body body)Constructs aBriefBlockGraphfrom a givenBody.BriefBlockGraph(BriefUnitGraph unitGraph)Constructs aBriefBlockGraphrepresenting the Unit-level control flow represented by the passedBriefUnitGraph.
-
Method Summary
-
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
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
BriefBlockGraph
public BriefBlockGraph(Body body)
Constructs aBriefBlockGraphfrom a givenBody.Note that this constructor builds a
BriefUnitGraphinternally when splitting body'sUnits intoBlocks. Callers who already have aBriefUnitGraphto hand can use the constructor taking a CompleteUnitGraph as a parameter, as a minor optimization.- Parameters:
body- theBodyfor which to build a graph.
-
BriefBlockGraph
public BriefBlockGraph(BriefUnitGraph unitGraph)
Constructs aBriefBlockGraphrepresenting the Unit-level control flow represented by the passedBriefUnitGraph.- Parameters:
unitGraph- theBodyfor which to build a graph.
-
-