Package ghidra.app.util.bin.format.coff.relocation

# 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 Summary

  Constructors
  Constructor
  Description
  `CoffRelocationHandlerFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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