From de098b665a60bf0e3157053cc4072ebb0475ea8a Mon Sep 17 00:00:00 2001 From: Yarden Shafir Date: Mon, 14 Nov 2022 10:17:01 -0500 Subject: [PATCH] Add value for CETCOMPAT --- pe-parser-library/include/pe-parse/nt-headers.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pe-parser-library/include/pe-parse/nt-headers.h b/pe-parser-library/include/pe-parse/nt-headers.h index 72bf514..b30c8b7 100644 --- a/pe-parser-library/include/pe-parse/nt-headers.h +++ b/pe-parser-library/include/pe-parse/nt-headers.h @@ -219,6 +219,9 @@ constexpr std::uint16_t IMAGE_DLLCHARACTERISTICS_APPCONTAINER = 0x1000; constexpr std::uint16_t IMAGE_DLLCHARACTERISTICS_WDM_DRIVER = 0x2000; constexpr std::uint16_t IMAGE_DLLCHARACTERISTICS_GUARD_CF = 0x4000; constexpr std::uint16_t IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE = 0x8000; + +// Extended DLL characteristics +constexpr std::uint16_t IMAGE_DLLCHARACTERISTICS_EX_CET_COMPAT = 0x0001; #endif // clang-format on