Package ghidra.app.util.bin.format.som
Class SomExportEntryExt
java.lang.Object
ghidra.app.util.bin.format.som.SomExportEntryExt
- All Implemented Interfaces:
StructConverter
Represents a SOM
export_entry_ext structure- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the start of the dreloc records for the exported symbol.intReturns the second reserved value.intReturns the third reserved value.intReturns the circular list of exports that have the same value (physical location) in the library.intgetSize()Returns the size of the export symbol and is only valid for exports of typeST_DATA.Returns a structure datatype representing the contents of the implementor of this interface.
-
Field Details
-
SIZE
public static final int SIZEThe size in bytes of aSomExportEntryExt- See Also:
-
-
Constructor Details
-
SomExportEntryExt
Creates a newSomExportEntryExt- Parameters:
reader- ABinaryReaderpositioned at the start of the export extension list- Throws:
IOException- if there was an IO-related error
-
-
Method Details
-
getSize
public int getSize()Returns the size of the export symbol and is only valid for exports of typeST_DATA.- Returns:
- the size of the export symbol and is only valid for exports of type
ST_DATA
-
getDreloc
public int getDreloc()Returns the start of the dreloc records for the exported symbol.- Returns:
- the start of the dreloc records for the exported symbol
-
getSameList
public int getSameList()Returns the circular list of exports that have the same value (physical location) in the library.- Returns:
- the circular list of exports that have the same value (physical location) in the library
-
getReserved2
public int getReserved2()Returns the second reserved value.- Returns:
- the second reserved value
-
getReserved3
public int getReserved3()Returns the third reserved value.- Returns:
- the third reserved value
-
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- 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:
-