pub type PtRootFinder = Box<dyn Fn(&[u8], &[u8], u64) -> Vec<u64> + Send>;Expand description
Re-export for the Sandbox type
Re-export for the Sandbox type
Re-export for the Sandbox type
Callback for discovering page table roots from guest memory.
Called during Sandbox::snapshot with:
snapshot_mem- the sandbox’s snapshot (shared) memory as a byte slicescratch_mem- the sandbox’s scratch memory as a byte sliceroot_pt_gpa- the root page table GPA of the currently-executing address space
Returns a list of root page table GPAs to walk. If the list is
empty, only root_pt_gpa is used.
Aliased Type§
pub struct PtRootFinder(/* private fields */);