Class Omf51Fixup

java.lang.Object
ghidra.app.util.bin.format.omf.omf51.Omf51Fixup

public class Omf51Fixup extends Object
  • Field Details

  • Constructor Details

    • Omf51Fixup

      public Omf51Fixup(BinaryReader reader, boolean largeBlockId) throws IOException
      Creates a new Omf51Fixup
      Parameters:
      reader - A BinaryReader positioned at the start of the fixup
      largeBlockId - True if the block ID is 2 bytes; false if 1 byte
      Throws:
      IOException - if an IO-related error occurred
  • Method Details

    • getRefLoc

      public int getRefLoc()
      Returns the reference location (REFLOC).
      Returns:
      the reference location (REFLOC)
    • getRefType

      public int getRefType()
      Returns the reference type (REF TYP).
      Returns:
      the reference type (REF TYP)
    • getBlockType

      public int getBlockType()
      Returns the operand block type (ID BLK).
      Returns:
      the operand block type (ID BLK)
    • getBlockId

      public int getBlockId()
      Returns the operand id (segment ID or EXT ID).
      Returns:
      the operand id (segment ID or EXT ID)
    • getOffset

      public int getOffset()
      Returns the operand offset.
      Returns:
      the operand offset