hyperlight-dev / hyperlight-dev/hyperlight

Add architecture-independent exception handling APIs sufficient for hyperlight-wasm

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

描述

Currently, hyperlight-guest exposes an architecture-specific way of overriding certain raw exception handler on x86-64 that is used by hyperlight-wasm. Really, we should instead have architecture-independent hooks for
- Intercepting certain kinds of misbehaviour-indicating exceptions (e.g. FP divide by zero, access to guard regions)
- Support for the virtual memory primitives that hyperlight-wasm needs in hyperlight-guest (e.g. zero-on-first-read regions, copy-on-write images, guard regions)

贡献指南

打开贡献指南

调研方向

Start by inspecting the architecture-specific raw exception handler in hyperlight-guest and how hyperlight-wasm uses it. Then trace the virtual memory primitives required by hyperlight-wasm, including zero-on-first-read regions, copy-on-write images, and guard regions. Done means hyperlight-guest exposes architecture-independent hooks and primitives covering these requirements.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
operating-systems
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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