WebAssembly / spec

WebAssembly specification, reference interpreter, and test suite.
https://webassembly.github.io/spec/
Other
3.09k stars 438 forks source link

Test extreme alignments #1749

Closed SoniEx2 closed 1 month ago

SoniEx2 commented 2 months ago

Currently tests only test alignment slightly greater than usual. It would be useful to test extreme alignments like 9223372036854775808, we think. These can often fail in UBSAN.

rossberg commented 2 months ago

Alignments larger than the accessed data width are invalid. But feel free to create a PR with negative tests.

SoniEx2 commented 2 months ago

Yes. Check WebAssembly/wabt#2411 for context.