bytecodealliance / bytecodealliance/wasmtime
Proof-carrying code: followup improvements
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 121
Description
After initial support is landed for PCC (#6090), we can extend it in a bunch of directions:
- [ ] Add PCC flag to fuzzed option set, and resolve any PCC failures (false positives rather than real compiler bugs, hopefully!) as they occur
- [ ] Consider turning on PCC by default in Wasmtime for at least for some configurations (e.g., static memories / no bounds-checking, where it is simplest and least likely to have false positives)
- [ ] Build a "permissive" mode where errors are logged (to `log::warn!`, stderr, or some other side-channel?) without failing compilation; perhaps use this for on-by-default deployment before turning on a strict-enforcing mode
- [ ] Use PCC facts to verify compilation of table accesses
- [ ] Use PCC facts to verify other properties, e.g. invariants of Wasm GC when we have it
Contributor guide
Assessment
This issue has not been assessed yet.