Files
wasmtime/cranelift/interpreter
Jan-Justin van Tonder a2beacd288 cranelift-interpreter: Add trap on misaligned memory accesses (#5921)
* Add checks to `InterpreterState::checked_{load,store}` to trap on misaligned memory accesses
where `aligned` memory flag is set.

* Alter `stack_{load,store}` instructions to now rely on `MemFlags::new()` instead of
`MemFlags::trusted` since `InterpreterState::checked_{load,store}` is only able to
deduce type alignment and not stack slot alignment.
2023-03-07 00:06:19 +00:00
..
2023-03-06 15:08:16 +00:00
2020-05-07 16:51:09 -07:00
2020-05-07 16:51:09 -07:00

This crate provides an interpreter for Cranelift IR. It is still a work in progress, as many instructions are unimplemented and various implementation gaps exist. Use at your own risk.