Class OmfGroupRecord
java.lang.Object
ghidra.app.util.bin.format.omf.OmfRecord
ghidra.app.util.bin.format.omf.omf.OmfGroupRecord
- All Implemented Interfaces:
StructConverter
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class ghidra.app.util.bin.format.omf.OmfRecord
checkSum, data, dataEnd, dataReader, recordLength, recordOffset, recordType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAddress(Language language) intThis is the segment selector needed for this objectgetName()bytegetSegmentComponentType(int i) intgetSegmentIndex(int i) longintvoidParses thisOmfRecord's type-spefic datavoidresolveNames(List<String> nameList) voidsetStartAddress(long val) Returns a structure datatype representing the contents of the implementor of this interface.Methods inherited from class ghidra.app.util.bin.format.omf.OmfRecord
calcCheckSum, getData, getRecordChecksum, getRecordLength, getRecordOffset, getRecordType, hasBigFields, toString, validCheckSum
-
Constructor Details
-
OmfGroupRecord
- Throws:
IOException
-
-
Method Details
-
parseData
Description copied from class:OmfRecordParses thisOmfRecord's type-spefic data- Specified by:
parseDatain classOmfRecord- Throws:
IOException- if there was an IO-related errorOmfException- if there was a problem with the OMF specification
-
getName
-
setStartAddress
public void setStartAddress(long val) -
getStartAddress
public long getStartAddress() -
getFrameDatum
public int getFrameDatum()This is the segment selector needed for this object- Returns:
- The segment selector
-
numSegments
public int numSegments() -
getSegmentComponentType
public byte getSegmentComponentType(int i) -
getSegmentIndex
public int getSegmentIndex(int i) -
getAddress
-
resolveNames
- Throws:
OmfException
-
toDataType
Description copied from interface:StructConverterReturns 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:
toDataTypein interfaceStructConverter- Specified by:
toDataTypein 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:
-