Class MachoRelocationHandlerFactory


  • public final class MachoRelocationHandlerFactory
    extends java.lang.Object
    A class that gets the appropriate Mach-O relocation handler for a specific Mach-O file
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MachoRelocationHandlerFactory

        public MachoRelocationHandlerFactory()
    • Method Detail

      • 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.