You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose host-function requirements recorded in snapshots #1870
Hyperlight snapshots persist the host-function names and type signatures needed
to restore guest state, and SandboxBuilder::from_snapshot().build() validates
the restoring registry against them.
The persisted requirements are not exposed through the public Snapshot API.
Consumers therefore cannot inspect a loaded snapshot before building a sandbox
to discover requirements such as ResolveModule and LoadModule. They must
already know the contract or attempt restoration and parse the resulting
mismatch error.
Wrapper runtimes also cannot present a complete requirements API because the
underlying Hyperlight requirements are private.
Proposed change
Expose an immutable view of the host-function requirements recorded by a Snapshot, including each function name and exact parameter and return types.
Activity