Class Omf51ModuleHeader

java.lang.Object
ghidra.app.util.bin.format.omf.OmfRecord
ghidra.app.util.bin.format.omf.omf51.Omf51ModuleHeader
All Implemented Interfaces:
StructConverter

public class Omf51ModuleHeader extends OmfRecord
  • Constructor Details

  • Method Details

    • parseData

      public void parseData() throws IOException, OmfException
      Description copied from class: OmfRecord
      Parses this OmfRecord's type-spefic data
      Specified by:
      parseData in class OmfRecord
      Throws:
      IOException - if there was an IO-related error
      OmfException - if there was a problem with the OMF specification
    • getTrnId

      public byte getTrnId()
      Returns the TRN ID.
      Returns:
      the TRN ID
    • 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 OmfRecord
      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: