Class Omf51RecordFactory
java.lang.Object
ghidra.app.util.bin.format.omf.AbstractOmfRecordFactory
ghidra.app.util.bin.format.omf.omf51.Omf51RecordFactory
A class for reading/creating OMF-51 records
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.omf.AbstractOmfRecordFactory
reader
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ghidra.app.util.bin.format.omf.AbstractOmfRecordFactory
getReader, reset
-
Constructor Details
-
Omf51RecordFactory
Creates a newOmf51RecordFactory
- Parameters:
provider
- TheByteProvider
that contains the records
-
-
Method Details
-
readNextRecord
Description copied from class:AbstractOmfRecordFactory
Reads the nextOmfRecord
pointed to by the reader- Specified by:
readNextRecord
in classAbstractOmfRecordFactory
- Returns:
- The next read
OmfRecord
- Throws:
IOException
- if there was an IO-related errorOmfException
- if there was a problem with the OMF specification
-
getStartRecordTypes
Description copied from class:AbstractOmfRecordFactory
Gets aList
of valid record types that can start a supported OMF binary- Specified by:
getStartRecordTypes
in classAbstractOmfRecordFactory
- Returns:
- A
List
of valid record types that can start a supported OMF binary
-
getEndRecordType
public int getEndRecordType()Description copied from class:AbstractOmfRecordFactory
Gets a valid record type that can end a supported OMF binary- Specified by:
getEndRecordType
in classAbstractOmfRecordFactory
- Returns:
- A valid record types that can end a supported OMF binary
-