Class SomExecAuxHeader

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

public class SomExecAuxHeader extends SomAuxHeader
Represents a SOM som_exec_auxhdr structure
See Also:
  • Constructor Details

  • Method Details

    • getExecTextSize

      public long getExecTextSize()
      Returns the text size in bytes.
      Returns:
      the text size in bytes
    • getExecTextMem

      public long getExecTextMem()
      Returns the offset of text in memory.
      Returns:
      the offset of text in memory
    • getExecTextFile

      public long getExecTextFile()
      Returns the location of text in file.
      Returns:
      the location of text in file
    • getExecDataSize

      public long getExecDataSize()
      Returns the initialized data size in bytes.
      Returns:
      the initialized data size in bytes
    • getExecDataMem

      public long getExecDataMem()
      Returns the offset of data in memory.
      Returns:
      the offset of data in memory
    • getExecDataFile

      public long getExecDataFile()
      Returns the location of data in file.
      Returns:
      the location of data in file
    • getExecBssSize

      public long getExecBssSize()
      Returns the uninitialized data (BSS) size in bytes.
      Returns:
      the uninitialized data (BSS) size in bytes
    • getExecEntry

      public long getExecEntry()
      Returns the offset of entrypoint.
      Returns:
      the offset of entrypoint
    • getExecFlags

      public long getExecFlags()
      Returns the loader flags.
      Returns:
      the loader flags
    • getExecBssFill

      public long getExecBssFill()
      Returns BSS initialization value.
      Returns:
      BSS initialization 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
      Specified by:
      toDataType in class SomAuxHeader
      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: