chore(code): sbat section generator build tool

This commit is contained in:
alex committed 2025-11-03 22:37:06 -05:00
1 parent 632781abbf
commit 9a803ad355
10 files changed
+111 -68

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
/// Define the SBAT attestation by including the sbat.csv file.
/// See this document for more details: https://github.com/rhboot/shim/blob/main/SBAT.md
/// NOTE: This data must be aligned by 512 bytes.
#[used]
#[unsafe(link_section = ".sbat")]
static SBAT: [u8; {size}] = *include_bytes!(concat!(env!("OUT_DIR"), "/sbat.out"));