Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post-process-pe: add tests to validate NX compliance #705

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vathpela
Copy link
Contributor

@vathpela vathpela commented Nov 12, 2024

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.

@vathpela vathpela added this to the shim 16 milestone Nov 12, 2024
@vathpela vathpela force-pushed the post-process-pe-nx-tests branch from 1755d5d to 085067a Compare November 12, 2024 22:19
@vathpela vathpela force-pushed the post-process-pe-nx-tests branch from 085067a to 98804ee Compare December 12, 2024 19:40
@vathpela vathpela force-pushed the post-process-pe-nx-tests branch 2 times, most recently from 0792a5e to 3aafeb0 Compare January 21, 2025 17:00
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 <[email protected]>
Co-authored-by: Kamil Aronowski <[email protected]>
Signed-off-by: Dennis Tseng <[email protected]>
@vathpela vathpela force-pushed the post-process-pe-nx-tests branch from 3aafeb0 to f6dabb6 Compare January 21, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants