From 18e9a809e864e68ed999f3a9a06dce55b7a2c0f4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 21 Apr 2021 17:38:52 +0100 Subject: Extend the description of PE header flags. PR 27760 include * coff/pe.h (IMAGE_DLLCHARACTERISTICS_APPCONTAINER): Define. (IMAGE_DLLCHARACTERISTICS_GUARD_CF): Define. bfd * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add display of IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP, IMAGE_FILE_NET_RUN_FROM_SWAP and IMAGE_FILE_UP_SYSTEM_ONLY flags. Decode the contents of the DllCharacteristics field. --- include/coff/pe.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/coff') diff --git a/include/coff/pe.h b/include/coff/pe.h index d6e8469..9e1ea4b 100644 --- a/include/coff/pe.h +++ b/include/coff/pe.h @@ -49,7 +49,9 @@ #define IMAGE_DLLCHARACTERISTICS_NO_ISOLATION 0x0200 #define IMAGE_DLLCHARACTERISTICS_NO_SEH 0x0400 #define IMAGE_DLLCHARACTERISTICS_NO_BIND 0x0800 +#define IMAGE_DLLCHARACTERISTICS_APPCONTAINER 0x1000 #define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000 +#define IMAGE_DLLCHARACTERISTICS_GUARD_CF 0x4000 #define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000 /* Additional flags to be set for section headers to allow the NT loader to -- cgit v1.1