Expand description
Functionality to establish and manage an individual sandbox’s memory.
- Virtual Address
0x0000 PML4 0x1000 PDPT 0x2000 PD 0x3000 The guest PE code (When the code has been loaded using LoadLibrary to debug the guest this will not be present and code length will be zero;
- The pointer passed to the Entrypoint in the Guest application is the size of page table + size of code, at this address structs below are laid out in this order
Modules§
- layout
- Functionality to establish a sandbox’s memory layout.
- memory_
region - memory regions to be mapped inside a vm
- mgr
- Functionality that wraps a
SandboxMemoryLayout
and aSandboxMemoryConfig
to mutate a sandbox’s memory as necessary. - ptr
- Structures to represent pointers into guest and host memory
- ptr_
offset - Structures to represent an offset into a memory space
- shared_
mem - A wrapper around unsafe functionality to create and initialize a memory region for a guest running in a sandbox.
- shared_
mem_ snapshot - A wrapper around a
SharedMemory
and a snapshot in time of the memory therein