hyperlight-dev / hyperlight-dev/hyperlight

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

未关闭
#317 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/performance lifecycle/confirmed
主要语言
Rust
星标
4.7k
派生
208
平均合并
1 天 7 小时
30 天内合并 PR
47

描述

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).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。