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 DA06C941DCC for ; Mon, 6 Nov 2023 21:57:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=yBSeFeqTQ83H0rFAnnQFc68gLNRM0IvoG2muRKjrvRk=; 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=1699307853; v=1; b=gHagvnf8UW/N6COBWq9fGT+cvX5+e1xxixpxUFvZzYhn3IUxr2WI+t2HUrv6jmA4DwXfBs3a o54/oTFoiab+6KTwK3w2yYXQFafw0JbrjRi/ucuXWT1VH7VS7NA52/j2r91HN61qlZBncjBuY8p 8nzL/nJLQnbQgORD7udBCseQ= X-Received: by 127.0.0.2 with SMTP id U0acYY7687511xpLErZJWsXC; Mon, 06 Nov 2023 13:57:33 -0800 X-Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx.groups.io with SMTP id smtpd.web10.69695.1699307852651477702 for ; Mon, 06 Nov 2023 13:57:32 -0800 X-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EA0A35C0279; Mon, 6 Nov 2023 16:57:31 -0500 (EST) X-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 06 Nov 2023 16:57:31 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddugedgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptfgv sggvtggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrf grthhtvghrnhephfekvdekvdfhtddvteehueeuleetjefhieehjeeuhfdtuddtvdeguddt keevlefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprhgvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 6 Nov 2023 16:57:30 -0500 (EST) Message-ID: <3c1fd67c-308c-4933-b7b8-2834ca88ae0a@bsdio.com> Date: Mon, 6 Nov 2023 14:57:28 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH v3 0/2] Automatically set NXCOMPAT bit if requirements are met To: devel@edk2.groups.io, joeyvagedes@microsoft.com Cc: Liming Gao , Bob Feng , Yuwei Chen References: <20230713152436.220-1-joey.vagedes@gmail.com> From: "Rebecca Cran" In-Reply-To: <20230713152436.220-1-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: JIQmOdE4YTcXgdpaM6uO1WT4x7686176AA= 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=gHagvnf8; 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 Committed as: e53c618ea4928820eea5a6d778395ce1e6145cbc da219919538b679d5cf7387f4eba6c20384bf868 On 7/13/2023 9:24 AM, Joey Vagedes via groups.io wrote: > v3: Updates function to be Doxygen compliant > v3: Updates commit message > > v2: Adds --nonxcompat flag to GenFw; updates man page > v2: Updates PeImage.h to reference spec 9.3 rather then 8.3 > > Utilize GenFw to automatically set the NXCOMPAT bit of the DLL Characteri= stics > field of the Optional Header if the following requirements are met: > > 1. It is a 64bit PE > 2. The section alignment is evently divisible by 4K > 3. No section is both EFI_IMAGE_SCN_MEM_EXECUTE and EFI_IMAGE_SCN_MEM_WRI= TE > > Cc: Rebecca Cran > Cc: Liming Gao > Cc: Bob Feng > Cc: Yuwei Chen > > Joey Vagedes (2): > MdePkg: IndustryStandard: Add DLL Characteristics > BaseTools: GenFw: auto-set nxcompat flag > > MdePkg/Include/IndustryStandard/PeImage.h | 17 +- > BaseTools/Source/C/GenFw/GenFw.c | 69 ++++ > BaseTools/UserManuals/GenFw_Utility_Man_Page.rtf | 420 +++++++++++-----= ---- > 3 files changed, 308 insertions(+), 198 deletions(-) > -=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 (#110764): https://edk2.groups.io/g/devel/message/110764 Mute This Topic: https://groups.io/mt/100122559/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-