tests/cli/invalid/crash-1eefc5597ae263919265239b0dba6a033eb80384.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 | "\02\06" ;; memory section |
| 8 | "\01" ;; 1 count |
| 9 | "\00\00\00\00" ;; (import "" "" (func)) |
| 10 | |
| 11 | ;; trailing bytes |
| 12 | "\00" |
| 13 | ) |
| 14 | "section size mismatch: unexpected data at the end of the section") |