Interface IPECOFFUnit

All Superinterfaces:
IBinaryUnit, ICodeObjectUnit, IEventSource, IUnit, IUnitCreator, IUserDataSupport

public interface IPECOFFUnit extends ICodeObjectUnit
Base interface for PE and COFF units.

Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx

  • Method Details

    • isPE64

      boolean isPE64()
      Determine whether this unit uses a 64-bit PE optional header.
      Returns:
      true for PE32+, false for PE32 or COFF-only objects
    • getCOFFHeader

      ICOFFHeader getCOFFHeader()
      Get the primary file header.
      Returns:
      COFF header
    • getPEOptionalHeader

      IPEOptionalHeader getPEOptionalHeader()
      Get the PE header.
      Returns:
      null if this header is not present
    • getSectionHeaders

      ICOFFSectionHeader[] getSectionHeaders()
      Get the list of section headers.
      Returns:
      section headers