Class TableOfContents
java.lang.Object
ghidra.app.util.bin.format.macho.commands.TableOfContents
- All Implemented Interfaces:
StructConverter
Represents a dylib_table_of_contents structure.
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
An index into the module table indicating the module in which this defined external symbol is defined.int
An index into the symbol table indicating the defined external symbols to which this entry refers.Returns a structure datatype representing the contents of the implementor of this interface.
-
Method Details
-
getSymbolIndex
public int getSymbolIndex()An index into the symbol table indicating the defined external symbols to which this entry refers.- Returns:
- an index into the symbol table
-
getModuleIndex
public int getModuleIndex()An index into the module table indicating the module in which this defined external symbol is defined.- Returns:
- an index into the module table
-
toDataType
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 existsIOException
- if an IO-related error occurs- See Also:
-