mirror of https://github.com/acidanthera/audk.git
da21991953
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> |
||
---|---|---|
.. | ||
BrotliCompress | ||
Common | ||
DevicePath | ||
EfiRom | ||
GenCrc32 | ||
GenFfs | ||
GenFv | ||
GenFw | ||
GenSec | ||
Include | ||
LzmaCompress | ||
Makefiles | ||
PyEfiCompressor | ||
TianoCompress | ||
VfrCompile | ||
VolInfo | ||
GNUmakefile | ||
Makefile |