Package ghidra.app.util.bin.format.omf
Class OmfFixupRecord.Subrecord
java.lang.Object
ghidra.app.util.bin.format.omf.OmfFixupRecord.Subrecord
- Enclosing class:
- OmfFixupRecord
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintintintgetIndex()intintintintintbooleanbooleanbooleanbooleanbooleanstatic OmfFixupRecord.SubrecordreadSubrecord(BinaryReader reader, boolean hasBigFields) Read the next subrecord from the input reader
-
Constructor Details
-
Subrecord
public Subrecord()
-
-
Method Details
-
readSubrecord
public static OmfFixupRecord.Subrecord readSubrecord(BinaryReader reader, boolean hasBigFields) throws IOException Read the next subrecord from the input reader- Parameters:
reader- The input filehasBigFields- Is this 16 or 32 bit values- Returns:
- The read subrecord
- Throws:
IOException
-
isThreadSubrecord
public boolean isThreadSubrecord()- Returns:
- True if this is a Thread subrecord type
-
getThreadMethod
public int getThreadMethod()- Returns:
- The method value from a Thread subrecord
-
isFrameInSubThread
public boolean isFrameInSubThread()- Returns:
- True if this is a frame reference
-
getIndex
public int getIndex()- Returns:
- Get the index for explicit thread or frame
-
getThreadNum
public int getThreadNum()- Returns:
- Get the thread index from flag
-
isFrameThread
public boolean isFrameThread() -
isTargetThread
public boolean isTargetThread() -
getFrameMethod
public int getFrameMethod() -
getFixThreadNum
public int getFixThreadNum() -
getFixMethodWithSub
-
getFixMethod
public int getFixMethod() -
getTargetDatum
public int getTargetDatum() -
getTargetDisplacement
public int getTargetDisplacement() -
getLocationType
public int getLocationType() -
getDataRecordOffset
public int getDataRecordOffset() -
isSegmentRelative
public boolean isSegmentRelative()
-