summaryrefslogtreecommitdiff
path: root/test-mock-variables.c
diff options
context:
space:
mode:
authorDennis Tseng <dennis.tseng@suse.com>2023-04-28 10:47:33 +0800
committerPeter Jones <pjones@redhat.com>2025-02-18 10:47:34 -0500
commit7cde2cc52f19f733de7855419d1c43a13a8d6c5f (patch)
tree61fb60d9840b194fb5d528c296b2877aa40354aa /test-mock-variables.c
parent301cf52f189cc13295cf91aae508e2fd94ed4456 (diff)
downloadefi-boot-shim-7cde2cc52f19f733de7855419d1c43a13a8d6c5f.tar.gz
efi-boot-shim-7cde2cc52f19f733de7855419d1c43a13a8d6c5f.zip
post-process-pe: add tests to validate NX compliance
This changes post-process-pe to give warnings, and optionally errors, if a shim binary is built with Section Alignment or characteristics are not compatible with NX, or if the EFI_IMAGE_DLLCHARACTERISTICS_NX_COMPAT flag is not set and require_nx_compat is true. Co-authored-by: Peter Jones <pjones@redhat.com> Co-authored-by: Kamil Aronowski <kamil.aronowski@yahoo.com> Signed-off-by: Dennis Tseng <dennis.tseng@suse.com>
Diffstat (limited to 'test-mock-variables.c')
0 files changed, 0 insertions, 0 deletions