File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ pub use sandbox::UninitializedSandbox;
8181pub use crate :: func:: call_ctx:: MultiUseGuestCallContext ;
8282
8383/// The universal `Result` type used throughout the Hyperlight codebase.
84- pub type Result < T > = core:: result:: Result < T , HyperlightError > ;
84+ pub type Result < T > = core:: result:: Result < T , error :: HyperlightError > ;
8585
8686// Logs an error then returns with it , more or less equivalent to the bail! macro in anyhow
8787// but for HyperlightError instead of anyhow::Error
Original file line number Diff line number Diff line change @@ -21,11 +21,15 @@ pub(crate) mod custom_drop;
2121pub ( crate ) mod elf;
2222/// A generic wrapper for executable files (PE, ELF, etc)
2323pub ( crate ) mod exe;
24+ /// Functionality to establish a sandbox's memory layout.
25+ pub mod layout;
2426/// Safe wrapper around an HINSTANCE created by the windows
2527/// `LoadLibrary` call
2628#[ cfg( target_os = "windows" ) ]
2729pub ( super ) mod loaded_lib;
28- /// Functionality that wraps `SandboxMemorySections` and a
30+ /// memory regions to be mapped inside a vm
31+ pub mod memory_region;
32+ /// Functionality that wraps a `SandboxMemoryLayout` and a
2933/// `SandboxMemoryConfig` to mutate a sandbox's memory as necessary.
3034pub mod mgr;
3135/// Functionality to read and mutate a PE file in a structured manner.
You can’t perform that action at this time.
0 commit comments