struct DiagSavedBadPage {
page_idx: u32,
gpa: u64,
shim_hash: [u8; 48],
expected_hash: [u8; 48],
contents: [u8; 4096],
}Expand description
One corrupt page’s full 4 KB contents plus the shim vs loader hashes, captured during Phase A when we first noticed the mismatch.
Fields§
§page_idx: u32Global page index in the shim’s iteration order.
gpa: u64Guest physical address of the page.
shim_hash: [u8; 48]SHA-384 the shim computed over the host-loaded bytes.
expected_hash: [u8; 48]SHA-384 the loader recorded at IGVM build time.
contents: [u8; 4096]Full 4 KB page contents (as the shim saw them at Phase A).
Trait Implementations§
Source§impl Clone for DiagSavedBadPage
impl Clone for DiagSavedBadPage
Source§fn clone(&self) -> DiagSavedBadPage
fn clone(&self) -> DiagSavedBadPage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiagSavedBadPage
Auto Trait Implementations§
impl Freeze for DiagSavedBadPage
impl RefUnwindSafe for DiagSavedBadPage
impl Send for DiagSavedBadPage
impl Sync for DiagSavedBadPage
impl Unpin for DiagSavedBadPage
impl UnsafeUnpin for DiagSavedBadPage
impl UnwindSafe for DiagSavedBadPage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more