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- TheByteProviderthat contains the records
-
-
Method Details
-
readNextRecord
Description copied from class:AbstractOmfRecordFactoryReads the nextOmfRecordpointed to by the reader- Specified by:
readNextRecordin 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:AbstractOmfRecordFactoryGets aListof valid record types that can start a supported OMF binary- Specified by:
getStartRecordTypesin classAbstractOmfRecordFactory- Returns:
- A
Listof valid record types that can start a supported OMF binary
-
getEndRecordType
public int getEndRecordType()Description copied from class:AbstractOmfRecordFactoryGets a valid record type that can end a supported OMF binary- Specified by:
getEndRecordTypein classAbstractOmfRecordFactory- Returns:
- A valid record types that can end a supported OMF binary
-