From: "Rebecca Cran" <rebecca@bsdio.com>
To: devel@edk2.groups.io, joeyvagedes@microsoft.com
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
Liming Gao <gaoliming@byosoft.com.cn>,
Zhiguang Liu <zhiguang.liu@intel.com>
Subject: Re: [edk2-devel] [PATCH v3 1/2] MdePkg: IndustryStandard: Add DLL Characteristics
Date: Mon, 16 Oct 2023 19:13:23 -0600 [thread overview]
Message-ID: <9f448efc-8e5d-45bf-b1de-7dbe68eb12f2@bsdio.com> (raw)
In-Reply-To: <20230713152436.220-2-joey.vagedes@gmail.com>
It looks like this still needs reviewed and merged.
I'm working on the BaseTools patch (2/2) in this series.
--
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 <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Signed-off-by: Joey Vagedes <joeyvagedes@gmail.com>
>
> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> ---
> MdePkg/Include/IndustryStandard/PeImage.h | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)
>
> diff --git a/MdePkg/Include/IndustryStandard/PeImage.h b/MdePkg/Include/IndustryStandard/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+.
>
> This file is coded to the Visual Studio, Microsoft Portable Executable and
> - Common Object File Format Specification, Revision 8.3 - February 6, 2013.
> + Common Object File Format Specification, Revision 9.3 - December 29, 2015.
> This file also includes some definitions in PI Specification, Revision 1.0.
>
> Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
> @@ -269,6 +269,21 @@ typedef struct {
> #define EFI_IMAGE_SUBSYSTEM_OS2_CUI 5
> #define EFI_IMAGE_SUBSYSTEM_POSIX_CUI 7
>
> +//
> +// 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.
> ///
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109661): https://edk2.groups.io/g/devel/message/109661
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]
-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2023-10-17 1:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 15:24 [PATCH v3 0/2] Automatically set NXCOMPAT bit if requirements are met Joey Vagedes
2023-07-13 15:24 ` [PATCH v3 1/2] MdePkg: IndustryStandard: Add DLL Characteristics Joey Vagedes
2023-10-17 1:13 ` Rebecca Cran [this message]
2023-10-17 19:49 ` [edk2-devel] " Rebecca Cran
2023-07-13 15:24 ` [PATCH v3 2/2] BaseTools: GenFw: auto-set nxcompat flag Joey Vagedes
2023-07-17 1:06 ` 回复: [edk2-devel] " gaoliming
2023-08-01 15:57 ` Joey Vagedes via groups.io
2023-08-01 16:05 ` Rebecca Cran
2023-08-02 3:15 ` 回复: " gaoliming via groups.io
2023-08-29 18:25 ` Joey Vagedes via groups.io
2023-10-17 19:34 ` Rebecca Cran
2023-10-17 19:56 ` Joey Vagedes via groups.io
2023-10-17 20:04 ` Rebecca Cran
2023-11-02 1:33 ` Rebecca Cran
2023-10-17 1:19 ` Rebecca Cran
2023-11-06 21:57 ` [edk2-devel] [PATCH v3 0/2] Automatically set NXCOMPAT bit if requirements are met Rebecca Cran
2023-11-06 22:49 ` Joey Vagedes via groups.io
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9f448efc-8e5d-45bf-b1de-7dbe68eb12f2@bsdio.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox