Class DynamicLibraryModule
- java.lang.Object
-
- ghidra.app.util.bin.format.macho.commands.DynamicLibraryModule
-
- All Implemented Interfaces:
StructConverter
public class DynamicLibraryModule extends java.lang.Object implements StructConverter
-
-
Constructor Summary
Constructors Constructor Description DynamicLibraryModule()
DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DynamicLibraryModule
createDynamicLibraryModule(FactoryBundledWithBinaryReader reader, MachHeader header)
int
getExtDefSymCount()
int
getExtDefSymIndex()
int
getExternalRelocationCount()
int
getExternalRelocationIndex()
int
getInitTermCount()
low 16 bits are the number of init section entries, high 16 bits are the number of term section entriesint
getInitTermIndex()
low 16 bits are the index into the init section, high 16 bits are the index into the term sectionint
getLocalSymbolCount()
int
getLocalSymbolIndex()
java.lang.String
getModuleName()
int
getModuleNameIndex()
long
getObjcModuleInfoAddress()
int
getObjcModuleInfoSize()
int
getReferenceSymbolTableCount()
int
getReferenceSymbolTableIndex()
DataType
toDataType()
Returns a structure datatype representing the contents of the implementor of this interface.
-
-
-
Method Detail
-
createDynamicLibraryModule
public static DynamicLibraryModule createDynamicLibraryModule(FactoryBundledWithBinaryReader reader, MachHeader header) throws java.io.IOException
- Throws:
java.io.IOException
-
getModuleNameIndex
public int getModuleNameIndex()
-
getModuleName
public java.lang.String getModuleName()
-
getExtDefSymIndex
public int getExtDefSymIndex()
-
getExtDefSymCount
public int getExtDefSymCount()
-
getReferenceSymbolTableIndex
public int getReferenceSymbolTableIndex()
-
getReferenceSymbolTableCount
public int getReferenceSymbolTableCount()
-
getLocalSymbolIndex
public int getLocalSymbolIndex()
-
getLocalSymbolCount
public int getLocalSymbolCount()
-
getExternalRelocationIndex
public int getExternalRelocationIndex()
-
getExternalRelocationCount
public int getExternalRelocationCount()
-
getInitTermIndex
public int getInitTermIndex()
low 16 bits are the index into the init section, high 16 bits are the index into the term section
-
getInitTermCount
public int getInitTermCount()
low 16 bits are the number of init section entries, high 16 bits are the number of term section entries- Returns:
-
getObjcModuleInfoSize
public int getObjcModuleInfoSize()
-
getObjcModuleInfoAddress
public long getObjcModuleInfoAddress()
-
toDataType
public DataType toDataType() throws DuplicateNameException, java.io.IOException
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
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already existsjava.io.IOException
- See Also:
StructureDataType
-
-