Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between PE32+ and PE32?

Tags:

c#

.net

corflags

When running CorFlags on some DLL file, some show as PE32 and some show as PE32+. What's the difference?

like image 642
user496949 Avatar asked Nov 26 '10 10:11

user496949


People also ask

What is PE32 file?

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.

What is a Microsoft PE file?

The Portable Executable (PE) format is a file format for executables, object code, DLLs and others used in 32-bit and 64-bit versions of Windows operating systems. The PE format is a data structure that encapsulates the information necessary for the Windows OS loader to manage the wrapped executable code.

What is a PE image?

This document specifies the structure of executable (image) files and object files under the Microsoft Windows family of operating systems. These files are referred to as Portable Executable (PE) and Common Object File Format (COFF) files, respectively.

What is portable executable in C#?

Portable executable :-The file format defining the structure that all executable files (EXE) and Dynamic Link Libraries (DLL) must use to allow them to be loaded and executed by Windows. PE is derived from the Microsoft Common Object File Format (COFF).


2 Answers

The PE32 format stands for Portable Executable 32-bit, while PE32+ is Portable Executable 64-bit format.

like image 123
Srinivas Reddy Thatiparthy Avatar answered Sep 28 '22 07:09

Srinivas Reddy Thatiparthy


The flags interpretation:

Any CPU: PE = PE32 and 32BIT = 0

x86: PE = PE32 and 32BIT = 1

64-bit: PE = PE32+ and 32BIT = 0

like image 28
Cornel Marian Avatar answered Sep 28 '22 06:09

Cornel Marian