Class MachoRelocationHandlerFactory

java.lang.Object
ghidra.app.util.bin.format.macho.relocation.MachoRelocationHandlerFactory

public final class MachoRelocationHandlerFactory extends Object
A class that gets the appropriate Mach-O relocation handler for a specific Mach-O file
  • Constructor Details

    • MachoRelocationHandlerFactory

      public MachoRelocationHandlerFactory()
  • Method Details

    • getHandler

      public static final MachoRelocationHandler getHandler(MachHeader header)
      Gets the appropriate Mach-O relocation handler that is capable of relocating the Mach-O that is defined by the given Mach-O header
      Parameters:
      header - The header associated with the Mach-O to relocate
      Returns:
      The appropriate Mach-O relocation handler that is capable of relocating the Mach-O that is defined by the given Mach-O header. Could return null if no such handler was found.