Class CoffRelocationHandlerFactory

java.lang.Object
ghidra.app.util.bin.format.coff.relocation.CoffRelocationHandlerFactory

public final class CoffRelocationHandlerFactory extends Object
A class that gets the appropriate COFF relocation handler for a specific COFF.
  • Constructor Details

    • CoffRelocationHandlerFactory

      public CoffRelocationHandlerFactory()
  • Method Details

    • getHandler

      public static final CoffRelocationHandler getHandler(CoffFileHeader fileHeader)
      Gets the appropriate COFF relocation handler that is capable of relocating the COFF that is defined by the given COFF file header.
      Parameters:
      fileHeader - The file header associated with the COFF to relocate.
      Returns:
      The appropriate COFF relocation handler that is capable of relocating the COFF that is defined by the given COFF file header. Could return null if there if no such handler was found.