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;
81
81
pub use crate :: func:: call_ctx:: MultiUseGuestCallContext ;
82
82
83
83
/// 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 > ;
85
85
86
86
// Logs an error then returns with it , more or less equivalent to the bail! macro in anyhow
87
87
// 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;
21
21
pub ( crate ) mod elf;
22
22
/// A generic wrapper for executable files (PE, ELF, etc)
23
23
pub ( crate ) mod exe;
24
+ /// Functionality to establish a sandbox's memory layout.
25
+ pub mod layout;
24
26
/// Safe wrapper around an HINSTANCE created by the windows
25
27
/// `LoadLibrary` call
26
28
#[ cfg( target_os = "windows" ) ]
27
29
pub ( 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
29
33
/// `SandboxMemoryConfig` to mutate a sandbox's memory as necessary.
30
34
pub mod mgr;
31
35
/// Functionality to read and mutate a PE file in a structured manner.
You can’t perform that action at this time.
0 commit comments