Class OmfCommentRecord
java.lang.Object
ghidra.app.util.bin.format.omf.OmfRecord
ghidra.app.util.bin.format.omf.omf.OmfCommentRecord
- All Implemented Interfaces:
StructConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
Fields inherited from class ghidra.app.util.bin.format.omf.OmfRecord
checkSum, data, dataEnd, dataReader, recordLength, recordOffset, recordType
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ghidra.app.util.bin.format.omf.OmfRecord
calcCheckSum, getData, getRecordChecksum, getRecordLength, getRecordOffset, getRecordType, hasBigFields, toString, validCheckSum
-
Field Details
-
COMMENT_CLASS_TRANSLATOR
public static final byte COMMENT_CLASS_TRANSLATOR- See Also:
-
COMMENT_CLASS_LIBMOD
public static final byte COMMENT_CLASS_LIBMOD- See Also:
-
COMMENT_CLASS_DEFAULT_LIBRARY
public static final byte COMMENT_CLASS_DEFAULT_LIBRARY- See Also:
-
COMMENT_CLASS_WATCOM_SETTINGS
public static final byte COMMENT_CLASS_WATCOM_SETTINGS- See Also:
-
COMMENT_CLASS_MICROSOFT_SETTINGS
public static final byte COMMENT_CLASS_MICROSOFT_SETTINGS- See Also:
-
-
Constructor Details
-
OmfCommentRecord
- Throws:
IOException
-
-
Method Details
-
parseData
Description copied from class:OmfRecord
Parses thisOmfRecord
's type-spefic data- Specified by:
parseData
in classOmfRecord
- Throws:
IOException
- if there was an IO-related errorOmfException
- if there was a problem with the OMF specification
-
getCommentType
public byte getCommentType() -
getCommentClass
public byte getCommentClass() -
getValue
-
toDataType
Description copied from interface:StructConverter
Returns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }
The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Specified by:
toDataType
in interfaceStructConverter
- Specified by:
toDataType
in classOmfRecord
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already existsIOException
- if an IO-related error occurs- See Also:
-