public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Automatically set NXCOMPAT bit if requirements are met
@ 2023-07-13 15:24 Joey Vagedes
  2023-07-13 15:24 ` [PATCH v3 1/2] MdePkg: IndustryStandard: Add DLL Characteristics Joey Vagedes
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Joey Vagedes @ 2023-07-13 15:24 UTC (permalink / raw)
  To: devel; +Cc: Rebecca Cran, Liming Gao, Bob Feng, Yuwei Chen

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 Characteristics
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_WRITE

Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>

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(-)

-- 
2.41.0.windows.2


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-11-06 22:49 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` [edk2-devel] " Rebecca Cran
2023-10-17 19:49   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox