hyperlight-dev / hyperlight-dev/hyperlight

Load the guest binary once and map into each Sandbox read-only

Open
#317 0 comments 0 reactions 0 assignees View on GitHub
area/performance lifecycle/confirmed
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
47

Description

Each time a sandbox is created we allocate memory for the guest binary and then copy the binary into memory. It should be possible to do this once and then map that memory from the host into each Sandbox.

We will need to do more parsing of the guest binary that at present to take account of writeable sections of the binary , for example relocations will need to be provided for each sandbox if and when we have variable load addresses. Any writeable state in the binary will need to also be taken account of (maybe by implementing COW in the guest).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.