Package ghidra.app.util.bin.format.omf
Class OmfIteratedData
- java.lang.Object
- 
- ghidra.app.util.bin.format.omf.OmfRecord
- 
- ghidra.app.util.bin.format.omf.OmfIteratedData
 
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOmfIteratedData.DataBlock
 - 
Field SummaryFields Modifier and Type Field Description static intMAX_ITERATED_FILL
 - 
Constructor SummaryConstructors Constructor Description OmfIteratedData(BinaryReader reader)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(OmfData o)byte[]getByteArray(BinaryReader reader)Create a byte array holding the data represented by this object.longgetDataOffset()intgetLength()intgetSegmentIndex()booleanisAllZeroes()- 
Methods inherited from class ghidra.app.util.bin.format.omf.OmfRecordcalcCheckSum, getRecordLength, getRecordType, hasBigFields, readCheckSumByte, readIndex, readInt1Or2, readInt2Or4, readRecord, readRecordHeader, readString, validCheckSum
 
- 
 
- 
- 
- 
Field Detail- 
MAX_ITERATED_FILLpublic static final int MAX_ITERATED_FILL - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
OmfIteratedDatapublic OmfIteratedData(BinaryReader reader) throws java.io.IOException - Throws:
- java.io.IOException
 
 
- 
 - 
Method Detail- 
getSegmentIndexpublic int getSegmentIndex() 
 - 
getDataOffsetpublic long getDataOffset() - Specified by:
- getDataOffsetin interface- OmfData
- Returns:
- the starting offset, within the loaded image, of this data
 
 - 
isAllZeroespublic boolean isAllZeroes() - Specified by:
- isAllZeroesin interface- OmfData
- Returns:
- true if this is a block entirely of zeroes
 
 - 
getLengthpublic int getLength() 
 - 
getByteArraypublic byte[] getByteArray(BinaryReader reader) throws java.io.IOException Description copied from interface:OmfDataCreate a byte array holding the data represented by this object. The length of the byte array should exactly match the value returned by getLength()- Specified by:
- getByteArrayin interface- OmfData
- Parameters:
- reader- is for pulling bytes directly from the binary image
- Returns:
- allocated and filled byte array
- Throws:
- java.io.IOException- for problems accessing data through the reader
 
 
- 
 
-