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

      protected Comparator<String> getLibraryNameComparator()
      Description copied from class: AbstractLibrarySupportLoader
      Returns a Comparator for comparing library names.

      No assumptions should be made about whether the library name includes path information or not.

      Overrides:
      getLibraryNameComparator in class AbstractLibrarySupportLoader
      Returns:
      a Comparator for comparing library names
    • 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