soot.toolkits.graph
Class TrapUnitGraph

java.lang.Object
  |
  +--soot.toolkits.graph.UnitGraph
        |
        +--soot.toolkits.graph.TrapUnitGraph

public class TrapUnitGraph
extends UnitGraph

Represents a CFG for a Body instance where the nodes are Unit instances, and where edges are added from statements inside an area of protection to the handler. The difference between a TrapUnitGraph and a CompleteUnitGraph is that a CompleteUnitGraph has edges from the statement before the beginning of a try block to the handler, while a TrapUnitGraph does not.


Fields inherited from class soot.toolkits.graph.UnitGraph
body, method, unitChain, unitToPreds, unitToSuccs
 
Constructor Summary
TrapUnitGraph(Body body)
          Constructs the graph from a given Body instance.
 
Methods inherited from class soot.toolkits.graph.UnitGraph
getBody, getExtendedBasicBlockPathBetween, 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

TrapUnitGraph

public TrapUnitGraph(Body body)
Constructs the graph from a given Body instance.
Parameters:
the - Body instance from which the graph is built.