Class Omf51Fixup
java.lang.Object
ghidra.app.util.bin.format.omf.omf51.Omf51Fixup
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionOmf51Fixup
(BinaryReader reader, boolean largeBlockId) Creates a newOmf51Fixup
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the operand id (segment ID or EXT ID).int
Returns the operand block type (ID BLK).int
Returns the operand offset.int
Returns the reference location (REFLOC).int
Returns the reference type (REF TYP).
-
Field Details
-
REF_TYPE_LOW
public static final int REF_TYPE_LOW- See Also:
-
REF_TYPE_BYTE
public static final int REF_TYPE_BYTE- See Also:
-
REF_TYPE_RELATIVE
public static final int REF_TYPE_RELATIVE- See Also:
-
REF_TYPE_HIGH
public static final int REF_TYPE_HIGH- See Also:
-
REF_TYPE_WORD
public static final int REF_TYPE_WORD- See Also:
-
REF_TYPE_INBLOCK
public static final int REF_TYPE_INBLOCK- See Also:
-
REF_TYPE_BIT
public static final int REF_TYPE_BIT- See Also:
-
REF_TYPE_CONV
public static final int REF_TYPE_CONV- See Also:
-
ID_BLOCK_SEGMENT
public static final int ID_BLOCK_SEGMENT- See Also:
-
ID_BLOCK_RELOCATABLE
public static final int ID_BLOCK_RELOCATABLE- See Also:
-
ID_BLOCK_EXTERNAL
public static final int ID_BLOCK_EXTERNAL- See Also:
-
-
Constructor Details
-
Omf51Fixup
Creates a newOmf51Fixup
- Parameters:
reader
- ABinaryReader
positioned at the start of the fixuplargeBlockId
- 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
-