Package ghidra.app.util.bin.format.som
Class SomShlibListEntry
java.lang.Object
ghidra.app.util.bin.format.som.SomShlibListEntry
- All Implemented Interfaces:
StructConverter
Represents a SOM
shlib_list_entry structure- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSomShlibListEntry(BinaryReader reader, long stringTableLoc) Creates a newSomShlibListEntry -
Method Summary
Modifier and TypeMethodDescriptionintgetBind()Returns the binding-time preference.booleanReturns whether or not the shared library was specified on the link line with the-loption or not.shortReturns thehighwater_markvalue.intReturns the reserved value.Returns the name of the shared library.booleanReturns whether or not the shared library entry is an internal name.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 aSomShlibListEntry- See Also:
-
-
Constructor Details
-
SomShlibListEntry
Creates a newSomShlibListEntry- Parameters:
reader- ABinaryReaderpositioned at the start of the headerstringTableLoc- The location of the string table- Throws:
IOException- if there was an IO-related error
-
-
Method Details
-
getShlibName
Returns the name of the shared library.- Returns:
- the name of the shared library
-
getReserved1
public int getReserved1()Returns the reserved value.- Returns:
- the reserved value
-
isInternalName
public boolean isInternalName()Returns whether or not the shared library entry is an internal name.- Returns:
- whether or not the shared library entry is an internal name
-
getDashLReference
public boolean getDashLReference()Returns whether or not the shared library was specified on the link line with the-loption or not.- Returns:
- whether or not the shared library was specified on the link line with
the
-loption or not
-
getBind
public int getBind()Returns the binding-time preference.- Returns:
- the binding-time preference
-
getHighwaterMark
public short getHighwaterMark()Returns thehighwater_markvalue.- Returns:
- the
highwater_markvalue
-
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:
-