bytecodealliance / bytecodealliance/wasmtime

Tracking issue for MPK

Open
#7,119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

This issue tracks items remaining from adding MPK support in #7072:

- [x] fix tests when MPK is enabled (e.g., some tests of instance limits change due to striping)
- [x] add WebAssembly-level tests checking that MPK-protected slots cannot access OOB regions
- [x] enable MPK in fuzz targets
- [x] add example showing how many memories can be pool-allocated with the feature on versus off
- [x] fix up the MPK and `memory_pool` documentation; e.g., remove duplication
- [ ] handle protection key changes across asynchronous `block_on` changes (see `store.rs:1947`)
- [ ] figure out a way to run with MPK enabled in CI (QEMU?)
- [ ] benchmark `call` performance with PKRU switch

There may be others but these are the ones I could think of that would be needed before configuring the feature on by default.

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.