Class MSCoffLoader

All Implemented Interfaces:
Loader, ExtensionPoint, Comparable<Loader>

public class MSCoffLoader extends CoffLoader
  • Field Details

  • Constructor Details

    • MSCoffLoader

      public MSCoffLoader()
  • Method Details

    • isMicrosoftFormat

      public boolean isMicrosoftFormat()
      Overrides:
      isMicrosoftFormat in class CoffLoader
      Returns:
      true if this loader assumes the Microsoft variant of the COFF format
    • getName

      public String getName()
      Description copied from interface: Loader
      Gets the Loader's name, which is used both for display purposes, and to identify the Loader in the opinion files.
      Specified by:
      getName in interface Loader
      Overrides:
      getName in class CoffLoader
      Returns:
      The Loader's name.
    • isCaseInsensitiveLibraryFilenames

      protected boolean isCaseInsensitiveLibraryFilenames()
      Description copied from class: AbstractLibrarySupportLoader
      Specifies if the library filenames specified by this loader should be exact case match or case-insensitive.

      Derived loader classes should override this method and specify if the OS that normally handles this type of binary is case-insensitive.

      Overrides:
      isCaseInsensitiveLibraryFilenames in class AbstractLibrarySupportLoader
      Returns:
      True if case-insensitive or false if case-sensitive.
    • getSectionAlignment

      protected int getSectionAlignment(CoffSectionHeader section)
      Description copied from class: CoffLoader
      Query a section header for alignment information. The base version of this method assumes no alignment information is stored in the section header. Subclasses may implement a platform-specific check for alignment information.
      Overrides:
      getSectionAlignment in class CoffLoader
      Parameters:
      section - header object for the section
      Returns:
      the alignment requested by the section