Class BlockGoto


public class BlockGoto extends BlockGraph
A "plain" goto block possible multiple incoming edges no outgoing edges 1 (implied) outgoing edge representing the unstructured goto
  • Constructor Details

    • BlockGoto

      public BlockGoto()
  • Method Details

    • getGotoTarget

      public PcodeBlock getGotoTarget()
    • getGotoType

      public int getGotoType()
    • setGotoTarget

      public void setGotoTarget(PcodeBlock gt)
    • encodeBody

      protected void encodeBody(Encoder encoder) throws IOException
      Description copied from class: PcodeBlock
      Encode information about the block to stream, other than header and edge info
      Overrides:
      encodeBody in class BlockGraph
      Parameters:
      encoder - is the stream encoder
      Throws:
      IOException - for errors writing to the underlying stream
    • decodeBody

      protected void decodeBody(Decoder decoder, BlockMap resolver) throws DecoderException
      Description copied from class: PcodeBlock
      Restore the any additional information beyond header and edges from stream
      Overrides:
      decodeBody in class BlockGraph
      Parameters:
      decoder - is the stream decoder
      resolver - is for looking up edge references
      Throws:
      DecoderException - for invalid encoding