Class MachoRelocationHandlerFactory
java.lang.Object
ghidra.app.util.bin.format.macho.relocation.MachoRelocationHandlerFactory
A class that gets the appropriate Mach-O relocation handler for a specific Mach-O file
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Constructor Details
-
MachoRelocationHandlerFactory
public MachoRelocationHandlerFactory()
-
-
Method Details
-
getHandler
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.
-