Class BlockCopy


  • public class BlockCopy
    extends PcodeBlock
    Placeholder for a basic block (BlockBasic) within a structured control-flow graph. It originally mirrors the in and out edges of the basic block, but edges may be modified during the structuring process. This copy holds a reference to the actual basic block
    • Constructor Detail

      • BlockCopy

        public BlockCopy()
      • BlockCopy

        public BlockCopy​(java.lang.Object r,
                         Address addr)
    • Method Detail

      • getStart

        public Address getStart()
        Overrides:
        getStart in class PcodeBlock
        Returns:
        the first Address covered by this block
      • getStop

        public Address getStop()
        Overrides:
        getStop in class PcodeBlock
        Returns:
        the last Address covered by this block
      • getRef

        public java.lang.Object getRef()
        Returns:
        the underlying basic block Object
      • set

        protected void set​(java.lang.Object r,
                           Address addr)
        Used (by BlockGraph.transferObjectRef) to reset the internal Object and Address
        Parameters:
        r - is the internal Object
        addr - is the Address
      • getAltIndex

        public int getAltIndex()
        Returns:
        the alternative index, used as an id for the original basic block Object
      • saveXmlHeader

        public void saveXmlHeader​(java.lang.StringBuilder buf)
        Overrides:
        saveXmlHeader in class PcodeBlock