hyperlight-dev / hyperlight-dev/hyperlight

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

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

Description

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)

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.