Interface ICOFFHeader


public interface ICOFFHeader
This interface describes the primary header of a PE/COFF executable file.

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

  • Method Details

    • getMachine

      int getMachine()
      Get target machine type.
      Returns:
      target machine type
    • getNumberOfSections

      int getNumberOfSections()
      Get number of sections.
      Returns:
      number of sections
    • getTimeDateStamp

      int getTimeDateStamp()
      Get timestamp value from the COFF header.
      Returns:
      timestamp value from the COFF header
    • getPointerToSymbolTable

      int getPointerToSymbolTable()
      Get file pointer to the symbol table.
      Returns:
      file pointer to the symbol table
    • getNumberOfSymbols

      int getNumberOfSymbols()
      Get number of symbols in the symbol table.
      Returns:
      number of symbols in the symbol table
    • getSizeOfOptionalHeader

      int getSizeOfOptionalHeader()
      Get size of the optional header.
      Returns:
      size of the optional header
    • getCharacteristics

      int getCharacteristics()
      Get COFF characteristics flags.
      Returns:
      COFF characteristics flags
    • getTimestampMs

      long getTimestampMs()
      Get timestamp in milliseconds since the unix epoch.
      Returns:
      timestamp in milliseconds since the unix epoch