Class MachoRelocationHandlerFactory
- java.lang.Object
-
- ghidra.app.util.bin.format.macho.relocation.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
-
-
Constructor Summary
Constructors Constructor Description MachoRelocationHandlerFactory()
-
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
-
-
-
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.
-
-