pub mod pt {
use goblin::elf64::program_header::PT_LOOS;
pub const EXEC: u32 = PT_LOOS + 0x3400000;
}
pub mod pf {
pub mod sgx {
pub const TCS: u32 = 1 << 20;
pub const UNMEASURED: u32 = 1 << 21;
}
pub mod kvm {
pub const SALLYPORT: u32 = 1 << 22;
}
pub mod snp {
pub const CPUID: u32 = 1 << 23;
pub const SECRETS: u32 = 1 << 24;
}
}
pub mod note {
pub const NAME: &str = "sallyport";
pub const REQUIRES: u32 = 0;
pub mod sgx {
pub const BITS: u32 = 0x73677800;
pub const SSAP: u32 = 0x73677801;
pub const PID: u32 = 0x73677810;
pub const SVN: u32 = 0x73677811;
pub const MISC: u32 = 0x73677812;
pub const MISCMASK: u32 = 0x73677813;
pub const ATTR: u32 = 0x73677814;
pub const ATTRMASK: u32 = 0x73677815;
}
}