Skip navigation links
soot.toolkits.graph

Class ClassicCompleteUnitGraph

    • Constructor Detail

      • ClassicCompleteUnitGraph

        public ClassicCompleteUnitGraph(Body body)
        Constructs the graph from a given Body instance.
        Parameters:
        the - Body instance from which the graph is built.
    • Method Detail

      • buildExceptionalEdges

        protected void buildExceptionalEdges(java.util.Map<Unit,java.util.List<Unit>> unitToSuccs,
                                             java.util.Map<Unit,java.util.List<Unit>> unitToPreds)
        Method to compute the edges corresponding to exceptional control flow.
        Overrides:
        buildExceptionalEdges in class TrapUnitGraph
        Parameters:
        unitToSuccs - A Map from Units to Lists of Units. This is * an ``out parameter''; buildExceptionalEdges will add a mapping for every Unit within the scope of one or more Traps to a List of the handler units of those Traps.
        unitToPreds - A Map from Units to Lists of Units. This is an ``out parameter''; buildExceptionalEdges will add a mapping for every Trap handler to all the Units within the scope of that Trap.