Package soot

Interface Unit

    • Method Detail

      • getUseBoxes

        List<ValueBox> getUseBoxes()
        Returns a list of Boxes containing Values used in this Unit.
      • getDefBoxes

        List<ValueBox> getDefBoxes()
        Returns a list of Boxes containing Values defined in this Unit.
      • getUnitBoxes

        List<UnitBox> getUnitBoxes()
        Returns a list of Boxes containing Units defined in this Unit; typically branch targets.
      • getBoxesPointingToThis

        List<UnitBox> getBoxesPointingToThis()
        Returns a list of Boxes pointing to this Unit.
      • addBoxPointingToThis

        void addBoxPointingToThis​(UnitBox b)
        Adds a box to the list returned by getBoxesPointingToThis.
      • removeBoxPointingToThis

        void removeBoxPointingToThis​(UnitBox b)
        Removes a box from the list returned by getBoxesPointingToThis.
      • clearUnitBoxes

        void clearUnitBoxes()
        Clears any pointers to and from this Unit's UnitBoxes.
      • getUseAndDefBoxes

        List<ValueBox> getUseAndDefBoxes()
        Returns a list of Boxes containing any Value either used or defined in this Unit.
      • fallsThrough

        boolean fallsThrough()
        Returns true if execution after this statement may continue at the following statement. GotoStmt will return false but IfStmt will return true.
      • branches

        boolean branches()
        Returns true if execution after this statement does not necessarily continue at the following statement. GotoStmt and IfStmt will both return true.