]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Set NXCOMPAT bit in PE header
authorMichael Brown <mcb30@ipxe.org>
Wed, 22 Nov 2023 23:36:35 +0000 (23:36 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 23 Nov 2023 13:21:42 +0000 (13:21 +0000)
commita9e89787d08df46daee85a871ba256daf84c6f34
tree3309759681031b5eb837474bf6eed36d0b5d50d2
parent678a60f61d76b6fce2d9e3b323db1892f69800d3
[efi] Set NXCOMPAT bit in PE header

Indicate that the binary is compatible with W^X protections by setting
the NXCOMPAT bit in the DllCharacteristics field of the PE header.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/elf2efi.c