Class DyldChainedFixupHeader

java.lang.Object
ghidra.app.util.bin.format.macho.commands.chained.DyldChainedFixupHeader
All Implemented Interfaces:
StructConverter

public class DyldChainedFixupHeader extends Object implements StructConverter
Represents a dyld_chained_fixups_header structure.
See Also:
  • Constructor Details

  • Method Details

    • markup

      public void markup(Program program, Address address, MachHeader header, TaskMonitor monitor, MessageLog log) throws CancelledException
      Marks up this data structure with data structures and comments
      Parameters:
      program - The Program to mark up
      address - The Address of this data structure
      header - The Mach-O header
      monitor - A cancellable task monitor
      log - The log
      Throws:
      CancelledException - if the user cancelled the operation
    • 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:
    • getFixupsVersion

      public int getFixupsVersion()
    • getStartsOffset

      public int getStartsOffset()
    • getImportsOffset

      public int getImportsOffset()
    • getSymbolsOffset

      public int getSymbolsOffset()
    • getImportsCount

      public int getImportsCount()
    • getImportsFormat

      public int getImportsFormat()
    • getSymbolsFormat

      public int getSymbolsFormat()
    • isCompress

      public boolean isCompress()
    • getChainedStartsInImage

      public DyldChainedStartsInImage getChainedStartsInImage()
    • getChainedImports

      public DyldChainedImports getChainedImports()