Class PortableExecutable

java.lang.Object
ghidra.app.util.bin.format.pe.PortableExecutable

public class PortableExecutable extends Object
A class to manage loading Portable Executables (PE).
  • Field Details

  • Constructor Details

  • Method Details

    • getDOSHeader

      public DOSHeader getDOSHeader()
      Returns the DOS header from the PE image.
      Returns:
      the DOS header from the PE image
    • getRichHeader

      public RichHeader getRichHeader()
      Returns the rich header from the PE image.
      Returns:
      the rich header from the PE image
    • getNTHeader

      public NTHeader getNTHeader()
      Returns the NT header from the PE image.
      Returns:
      the NT header from the PE image
    • getFileLength

      public long getFileLength()
      Returns the length of the PortableExecutable file in bytes.
      Returns:
      the length of the PortableExecutable file in bytes