From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id BD161740037 for ; Tue, 17 Oct 2023 19:49:15 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=a4LyCEV7KTqqnf6Tu+qX345oVSoOhyExqHDzok2oLgI=; c=relaxed/simple; d=groups.io; h=Feedback-ID:Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1697572154; v=1; b=NDGQAjrBGtAvF2WUWKDS0BMJBZvg/QRVFOHghIxUTe4JuDTlpGaK5KgLqARZJpEA/h1KIz18 plFtsUNGiouWQlMRwpS3/MnalnhbT7trB6EjE8K9c7gjlaakFmLf0raE8NverCfL1P+xOwftfBO g69StZBlVLURwTAELvmOH2EI= X-Received: by 127.0.0.2 with SMTP id 8LdRYY7687511x0LiIU4NdDV; Tue, 17 Oct 2023 12:49:14 -0700 X-Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mx.groups.io with SMTP id smtpd.web11.252178.1697572153166378769 for ; Tue, 17 Oct 2023 12:49:13 -0700 X-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 83B045C03ED; Tue, 17 Oct 2023 15:49:12 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 17 Oct 2023 15:49:12 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjedvgddufeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpefhkedvkedvhfdtvdetheeuueelteejhfeiheejuefhtddutddvgedutdek veelhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 Oct 2023 15:49:11 -0400 (EDT) Message-ID: Date: Tue, 17 Oct 2023 13:49:00 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH v3 1/2] MdePkg: IndustryStandard: Add DLL Characteristics To: devel@edk2.groups.io, joeyvagedes@microsoft.com Cc: Michael D Kinney , Liming Gao , Zhiguang Liu References: <20230713152436.220-1-joey.vagedes@gmail.com> <20230713152436.220-2-joey.vagedes@gmail.com> From: "Rebecca Cran" In-Reply-To: <20230713152436.220-2-joey.vagedes@gmail.com> Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bsdio.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: EKUN5qgN4U0sk6Yg5uBAb1mPx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=NDGQAjrB; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io MdePkg maintainers: could you review this, and I'll be happy to=20 merge/commit it. --=20 Rebecca Cran On 7/13/23 09:24, Joey Vagedes via groups.io wrote: > Add the bit masks for DLL Characteristics, used within the optional > header of a PE, to the PeImage.h header file. > > Update the Visual Studio, Microsoft Portable Executable and Common > Object File Format Specification, and the PE/COFF Specification to the > latest version. > > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Signed-off-by: Joey Vagedes > > Reviewed-by: Michael D Kinney > --- > MdePkg/Include/IndustryStandard/PeImage.h | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/MdePkg/Include/IndustryStandard/PeImage.h b/MdePkg/Include/I= ndustryStandard/PeImage.h > index 47037049348c..9fdbfb9c4944 100644 > --- a/MdePkg/Include/IndustryStandard/PeImage.h > +++ b/MdePkg/Include/IndustryStandard/PeImage.h > @@ -4,7 +4,7 @@ > EFI_IMAGE_NT_HEADERS64 is for PE32+. > =20 > This file is coded to the Visual Studio, Microsoft Portable Executabl= e and > - Common Object File Format Specification, Revision 8.3 - February 6, 20= 13. > + Common Object File Format Specification, Revision 9.3 - December 29, 2= 015. > This file also includes some definitions in PI Specification, Revisio= n 1.0. > =20 > Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
> @@ -269,6 +269,21 @@ typedef struct { > #define EFI_IMAGE_SUBSYSTEM_OS2_CUI 5 > #define EFI_IMAGE_SUBSYSTEM_POSIX_CUI 7 > =20 > +// > +// DLL Characteristics > +// > +#define IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA 0x0020 > +#define IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE 0x0040 > +#define IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY 0x0080 > +#define IMAGE_DLLCHARACTERISTICS_NX_COMPAT 0x0100 > +#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 > + > /// > /// Length of ShortName. > /// -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109691): https://edk2.groups.io/g/devel/message/109691 Mute This Topic: https://groups.io/mt/100122560/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-