@@ -14,17 +14,25 @@ See the License for the specific language governing permissions and
1414limitations under the License.
1515*/
1616
17+ /// Various helper functions for working with bitmaps
18+ pub ( crate ) mod bitmap;
19+ /// a module for tracking dirty pages in the host.
20+ pub ( crate ) mod dirty_page_tracking;
1721/// A simple ELF loader
1822pub ( crate ) mod elf;
1923/// A generic wrapper for executable files (PE, ELF, etc)
2024pub ( crate ) mod exe;
2125/// Functionality to establish a sandbox's memory layout.
2226pub mod layout;
27+ #[ cfg( target_os = "linux" ) ]
28+ mod linux_dirty_page_tracker;
2329/// memory regions to be mapped inside a vm
2430pub mod memory_region;
2531/// Functionality that wraps a `SandboxMemoryLayout` and a
2632/// `SandboxMemoryConfig` to mutate a sandbox's memory as necessary.
2733pub mod mgr;
34+ /// A compact snapshot representation for memory pages
35+ pub ( crate ) mod page_snapshot;
2836/// Structures to represent pointers into guest and host memory
2937pub mod ptr;
3038/// Structures to represent memory address spaces into which pointers
@@ -35,9 +43,10 @@ pub mod ptr_offset;
3543/// A wrapper around unsafe functionality to create and initialize
3644/// a memory region for a guest running in a sandbox.
3745pub mod shared_mem;
38- /// A wrapper around a `SharedMemory` and a snapshot in time
39- /// of the memory therein
40- pub mod shared_mem_snapshot;
4146/// Utilities for writing shared memory tests
4247#[ cfg( test) ]
4348pub ( crate ) mod shared_mem_tests;
49+ /// A wrapper around a `SharedMemory` to manage snapshots of the memory
50+ pub mod shared_memory_snapshot_manager;
51+ #[ cfg( target_os = "windows" ) ]
52+ mod windows_dirty_page_tracker;
0 commit comments