Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed May 9, 2023
1 parent e533ed0 commit 94e1a3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wat/wasi/efault.wat
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
;; wasm3, wasm-micro-runtime: "out of bounds memory access" trap
;; wasmer, wasmtime: exit with 21 (WASI_ERRNO_FAULT)

;; toywasm trap cf. https://github.com/yamt/toywasm/pull/2
;; wasm3 trap
;; wamr trap
;; wasmtime exit with 21 (WASI_ERRNO_FAULT)
;; wasmer exit with 21 (WASI_ERRNO_FAULT) wasmer 3.2.1 exits with 78?
;; wazero exit with 21 (WASI_ERRNO_FAULT)
;; wasmi_cli exit with 21 (WASI_ERRNO_FAULT)

(module
(func $fd_write (import "wasi_snapshot_preview1" "fd_write") (param i32 i32 i32 i32) (result i32))
(func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))
Expand Down

0 comments on commit 94e1a3f

Please sign in to comment.