wasm-interp
decode and run a WebAssembly binary file
- Provided by: wabt (Version: 1.0.27-1)
- Report a bug
decode and run a WebAssembly binary file
wasm-interp |
[options] file |
wasm-interp decodes and runs a WebAssembly
binary file using a stack-based interpreter.
The options are as follows:
-v,
--verbose--help--enable-exceptions--disable-mutable-globals--enable-saturating-float-to-int--enable-sign-extension--disable-simd--enable-threads-V,
--value-stack-size=SIZE-C,
--call-stack-size=SIZE-t,
--trace--run-all-exports--host-printParse binary file test.wasm, and type-check it
$ wasm-interp test.wasmParse test.wasm and run all its exported functions
$ wasm-interp test.wasm
--run-all-exportsParse test.wasm, run the exported functions and trace the output
$ wasm-interp test.wasm
--run-all-exports --traceParse test.wasm and run all its exported functions, setting the value stack size to 100 elements
$ wasm-interp test.wasm -V 100
--run-all-exportswasm-objdump(1), wasm-opcodecnt(1), wasm-strip(1), wasm-validate(1), wasm2c(1), wasm2wat(1), wast2json(1), wat-desugar(1), wat2wasm(1), spectest-interp(1)
If you find a bug, please report it at
https://github.com/WebAssembly/wabt/issues.