Class SomModuleEntry

java.lang.Object
ghidra.app.util.bin.format.som.SomModuleEntry
All Implemented Interfaces:
StructConverter

public class SomModuleEntry extends Object implements StructConverter
Represents a SOM module_entry structure
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getDrelocs

      public int getDrelocs()
      Returns the text address into the dynamic relocation table.
      Returns:
      the text address into the dynamic relocation table
    • getImports

      public int getImports()
      Returns the text address into the module import table.
      Returns:
      the text address into the module import table
    • getImportCount

      public int getImportCount()
      Returns the number of symbol entries in the module import table belonging to this module.
      Returns:
      the number of symbol entries in the module import table belonging to this module
    • getFlags

      public int getFlags()
      Returns the flags.
      Returns:
      the flags
    • getReserved1

      public int getReserved1()
      Returns the first reserved value.
      Returns:
      the first reserved value
    • getModuleDependencies

      public int getModuleDependencies()
      Returns the number of modules the current module needs to have bound before all of its own import symbols can be found.
      Returns:
      the number of modules the current module needs to have bound before all of its own import symbols can be found
    • getReserved2

      public int getReserved2()
      Returns the second reserved value.
      Returns:
      the second reserved value
    • toDataType

      public DataType toDataType() throws DuplicateNameException, 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 interface StructConverter
      Returns:
      returns a structure datatype representing the implementor of this interface
      Throws:
      DuplicateNameException - when a datatype of the same name already exists
      IOException - if an IO-related error occurs
      See Also: