Improve objdump's display of PE header information.

PR 31953
This commit is contained in:
Pali Roh?r
2024-07-23 08:52:21 +01:00
committed by Nick Clifton
parent 85402ee9ed
commit 91b999864f
4 changed files with 75 additions and 30 deletions

View File

@@ -215,7 +215,7 @@ struct internal_extra_pe_aouthdr
short MinorImageVersion; /* exe or dll being created, default to 0. */
short MajorSubsystemVersion; /* Minimum subsystem version required to */
short MinorSubsystemVersion; /* run exe; default to 3.1. */
uint32_t Reserved1; /* Seems to be 0. */
uint32_t Win32Version; /* Set to 0. */
uint32_t SizeOfImage; /* Size of memory to allocate for prog. */
uint32_t SizeOfHeaders; /* Size of PE header and section table. */
uint32_t CheckSum; /* Set to 0. */

View File

@@ -264,7 +264,7 @@ typedef struct
char MinorImageVersion[2];
char MajorSubsystemVersion[2];
char MinorSubsystemVersion[2];
char Reserved1[4];
char Win32Version[4];
char SizeOfImage[4];
char SizeOfHeaders[4];
char CheckSum[4];
@@ -303,7 +303,7 @@ typedef struct
char MinorImageVersion[2];
char MajorSubsystemVersion[2];
char MinorSubsystemVersion[2];
char Reserved1[4];
char Win32Version[4];
char SizeOfImage[4];
char SizeOfHeaders[4];
char CheckSum[4];