mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4405 The PE/COFF spec describes an additional DllCharacteristics field implemented as a debug directory entry, which carries flags related to which control flow integrity (CFI) features are supported by the binary. So let's add this entry when doing ELF to PE/COFF conversion - we will add support for setting the flags in a subsequent patch. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Leif Lindholm <[email protected]> Reviewed-by: Oliver Smith-Denny <[email protected]> Reviewed-by: Michael Kubacki <[email protected]> Reviewed-by: Liming Gao <[email protected]>