What's the difference between PE32+ and PE32?
Asked Answered
H

3

49

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

Histrionics answered 26/11, 2010 at 10:17 Comment(0)
W
57

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

Please see this article for detailed info.

Wiedmann answered 26/11, 2010 at 10:26 Comment(0)
O
18

The flags interpretation:

Any CPU: PE = PE32 and 32BIT = 0

x86: PE = PE32 and 32BIT = 1

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

Ogle answered 4/9, 2013 at 8:6 Comment(0)
I
14

Here's a more complete list of architecture build options and the corresponding corflags output for the relevant fields:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                      PE     32BITREQ  32BITPREF 
─────────────────────────────────────────────────
 x86                  PE32          1          0 
 AnyCPU               PE32          0          0 
 AnyCPU prefer 32bit  PE32          0          1 
 x64                  PE32+         0          0 
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Isomorphism answered 7/10, 2015 at 0:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.