Portable Executable
From Just Solve the File Format Problem
(Difference between revisions)
(Reorganized links) |
|||
Line 26: | Line 26: | ||
** [http://pe102.corkami.com/ PE102 - a Windows executable format overview] | ** [http://pe102.corkami.com/ PE102 - a Windows executable format overview] | ||
** [https://github.com/corkami/pics/blob/master/PE101.png PE101 - a Windows executable walkthrough] | ** [https://github.com/corkami/pics/blob/master/PE101.png PE101 - a Windows executable walkthrough] | ||
+ | * [http://bytepointer.com/articles/the_microsoft_rich_header.htm The Undocumented Microsoft "Rich" Header] | ||
== Software and tools == | == Software and tools == | ||
* [http://www.mitec.cz/exe.html EXE Explorer utility] | * [http://www.mitec.cz/exe.html EXE Explorer utility] | ||
* [https://github.com/katjahahn/PortEx/tree/master/progs PortEx Analyzer] | * [https://github.com/katjahahn/PortEx/tree/master/progs PortEx Analyzer] | ||
+ | * [http://bytepointer.com/tools/index.htm#pelook pelook] | ||
== Other links == | == Other links == |
Revision as of 12:32, 6 June 2017
Portable Executable (PE, PE/COFF, PE32, PE32+) is a member of the EXE family of executable file formats. It is used by the Microsoft Windows family of operating systems (starting with Windows 95 and Win32s), EFI and sometimes in other environments. It is an extension/hybrid of MS-DOS EXE, and a successor to NE. Parts of it are derived from COFF.
Despite the name, not all PE files are executable. Some contain only icons, fonts, etc.
Contents |
Formats
- PE32 format is used by 32-bit Windows.
- PE32+ format is used by 64-bit Windows.
Identification
A PE file begins with the ASCII signature "MZ
". At offset 60 is a 4-byte integer pointing to an "extended" header that begins with 'P' 'E' 0x00 0x00
. For more information, see MS-DOS EXE.
See also
Specifications and technical information
- Microsoft PE and COFF Specification
- PE, from the OSDev Wiki
- Article on the PE format as used by Windows NT 3, by Johannes Plachy
- PE (corkami.com)
- The Undocumented Microsoft "Rich" Header