audk/BaseTools/UserManuals
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
..
Build_Utility_Man_Page.rtf
EfiRom_Utility_Man_Page.rtf
GenCrc32_Utility_Man_Page.rtf
GenDepex_Utility_Man_Page.rtf
GenFds_Utility_Man_Page.rtf
GenFfs_Utility_Man_Page.rtf
GenFv_Utility_Man_Page.rtf
GenFw_Utility_Man_Page.rtf
GenPatchPcdTable_Utility_Man_Page.rtf
GenSec_Utility_Man_Page.rtf
Intel_UEFI_Packaging_Tool_Man_Page.rtf
LzmaCompress_Utility_Man_Page.rtf
PatchPcdValue_Utility_Man_Page.rtf
SplitFile_Utility_Man_Page.rtf
TargetTool_Utility_Man_Page.rtf
TianoCompress_Utility_Man_Page.rtf
Trim_Utility_Man_Page.rtf
UtilityManPage_template.rtf
VfrCompiler_Utility_Man_Page.rtf
VolInfo_Utility_Man_Page.rtf