audk/BaseTools/Source/C
Joey Vagedes da21991953 BaseTools: GenFw: auto-set nxcompat flag
Automatically set the nxcompat flag in the DLL Characteristics field of
the Optional Header of the PE32+ image. For this flag to be set
automatically, the section alignment must be evenly divisible
by 4K (EFI_PAGE_SIZE) and no section must be executable and writable.

Adds a command line flag to GenFw, --nonxcompat, to ensure the
IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit is not set, even if all
requirements are met. Updates the manual for GenFw to include the new
flag.

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>
Signed-off-by: Joey Vagedes <joeyvagedes@gmail.com>
Acked-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
2023-11-06 21:44:34 +00:00
..
BrotliCompress
Common BaseTools: switch from EFI_IMAGE_MACHINE_* to IMAGE_FILE_MACHINE_* 2023-06-01 10:53:35 +00:00
DevicePath BaseTools: Allow users to build with clang using CC=clang CXX=clang++ 2023-04-05 15:44:48 +00:00
EfiRom BaseTools: remove duplicate includes: IndustryStandard/*.h 2023-06-01 10:53:35 +00:00
GenCrc32
GenFfs BaseTools: fix gcc12 warning 2022-03-28 00:51:30 +00:00
GenFv BaseTools: Remove logic to create AP waking vector in GenFv 2023-09-18 02:39:25 +00:00
GenFw BaseTools: GenFw: auto-set nxcompat flag 2023-11-06 21:44:34 +00:00
GenSec BaseTools: Fix wrong type of arguments to formatting functions 2022-11-09 14:53:10 +00:00
Include BaseTools: remove duplicate includes: IndustryStandard/*.h 2023-06-01 10:53:35 +00:00
LzmaCompress BaseTools: Allow users to specify compiler to use with make CC= CXX= 2023-04-05 15:44:48 +00:00
Makefiles BaseTools: remove duplicate includes: IndustryStandard/Acpi*.h 2023-06-01 10:53:35 +00:00
PyEfiCompressor
TianoCompress
VfrCompile BaseTools: Update antlr makefile to use cc by default 2023-04-06 01:32:09 +00:00
VolInfo BaseTools/VolInfo: Update file and section type strings 2022-10-02 05:34:38 +00:00
GNUmakefile BaseTools: Add LoongArch64 binding. 2022-10-14 02:16:33 +00:00
Makefile