Class CoffRelocationHandlerFactory


  • public final class CoffRelocationHandlerFactory
    extends java.lang.Object
    A class that gets the appropriate COFF relocation handler for a specific COFF.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static 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 Detail

      • CoffRelocationHandlerFactory

        public CoffRelocationHandlerFactory()
    • Method Detail

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