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

Merged
merged 1 commit into from
Feb 18, 2025

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 3 times, most recently from 3aafeb0 to f6dabb6 Compare January 21, 2025 17:45
@vathpela vathpela force-pushed the post-process-pe-nx-tests branch from f6dabb6 to d1eb42f Compare February 4, 2025 15:11
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 d1eb42f to ba5c2c9 Compare February 18, 2025 15:38
@vathpela vathpela merged commit 7cde2cc into rhboot:main Feb 18, 2025
20 checks passed
@vathpela vathpela deleted the post-process-pe-nx-tests branch February 18, 2025 15:47
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.

3 participants