Expose host-function requirements recorded in snapshots
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 66/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust
调研方向
Start by tracing the public Snapshot API and the validation path through SandboxBuilder::from_snapshot().build(), then inspect how host-function names and type signatures are persisted. Done means callers can inspect an immutable view containing each recorded function name and its exact parameter and return types before restoring a sandbox.
由索引模型根据 Issue 内容生成。
描述
Problem
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.
- 主要语言
- Rust
- 星标
- 4.8k
- 派生
- 223
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 65
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperlight-dev/hyperlight 的其他 Issue
-
A-api C-bug S-confirmed
难度 2/5 1-3 小时 新手友好度 75/100
hyperlight-dev/hyperlight#2135 ·
维护者通常 1 天内回复
-
C-bug S-confirmed
难度 2/5 1-3 小时 新手友好度 76/100
hyperlight-dev/hyperlight#2136 ·
维护者通常 1 天内回复
-
C-bug S-confirmed
难度 2/5 1-3 小时 新手友好度 78/100
hyperlight-dev/hyperlight#2132 ·
维护者通常 1 天内回复
-
C-bug S-confirmed
难度 2/5 1-3 小时 新手友好度 84/100
hyperlight-dev/hyperlight#2133 ·
维护者通常 1 天内回复
-
A-ci A-fuzzing C-bug S-confirmed
难度 2/5 1-3 小时 新手友好度 78/100
hyperlight-dev/hyperlight#2134 ·
维护者通常 1 天内回复
查看 hyperlight-dev/hyperlight 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
roc-lang/basic-webserver#277 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 82/100
samkerrcode/opengent#113 ·
维护者通常 1 天内回复
-
app bug session
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复