Package soot.toolkits.graph
Class CompleteBlockGraph
- java.lang.Object
-
- soot.toolkits.graph.BlockGraph
-
- soot.toolkits.graph.ExceptionalBlockGraph
-
- soot.toolkits.graph.CompleteBlockGraph
-
- All Implemented Interfaces:
Iterable<Block>,DirectedBodyGraph<Block>,DirectedGraph<Block>,ExceptionalGraph<Block>
public class CompleteBlockGraph extends ExceptionalBlockGraph
Represents a CFG for a
Bodyinstance where the nodes areBlockinstances, and where control flow associated with exceptions is taken into account. When dividing theBodyinto basic blocks,CompleteBlockGraphassumes that everyUnitcovered by aTraphas the potential to throw an exception caught by theTrap. This generally has the effect of separating every coveredUnitinto a separate block.This implementation of
CompleteBlockGraphis included for backwards compatibility, but the graphs it produces are not necessarily identical to the graphs produced by the implementation ofCompleteBlockGraphSee the documentation forCompleteUnitGraphfor details of the incompatibilities.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class soot.toolkits.graph.ExceptionalBlockGraph
ExceptionalBlockGraph.ExceptionDest
-
-
Field Summary
-
Fields inherited from class soot.toolkits.graph.ExceptionalBlockGraph
blockToExceptionalPreds, blockToExceptionalSuccs, blockToExceptionDests, blockToUnexceptionalPreds, blockToUnexceptionalSuccs, throwAnalysis
-
-
Constructor Summary
Constructors Constructor Description CompleteBlockGraph(Body b)
-
Method Summary
-
Methods inherited from class soot.toolkits.graph.ExceptionalBlockGraph
buildBlocks, getExceptionalPredsOf, getExceptionalSuccsOf, getExceptionDests, getUnexceptionalPredsOf, getUnexceptionalSuccsOf
-
Methods inherited from class soot.toolkits.graph.BlockGraph
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 soot.toolkits.graph.DirectedGraph
getHeads, getPredsOf, getSuccsOf, getTails, iterator, size
-
Methods inherited from interface soot.toolkits.graph.ExceptionalGraph
getBody
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
CompleteBlockGraph
public CompleteBlockGraph(Body b)
-
-