tests/cli/invalid/crash-0000.wast
raw| 1 | ;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 | |
| 3 | (assert_malformed |
| 4 | (module binary |
| 5 | "\00\61\73\6d" ;; header |
| 6 | "\01\00\00\00" ;; version |
| 7 | "\05\05" ;; memory section |
| 8 | "\01" ;; 1 count |
| 9 | "\00" ;; no flags |
| 10 | "\01" ;; minimum |
| 11 | |
| 12 | ;; trailing bytes |
| 13 | "\00\00" |
| 14 | ) |
| 15 | "unexpected data at the end of the section") |