1WABT(1) BSD General Commands Manual WABT(1)
2
4 wasm-decompile — translate from the binary format to readable C-like syn‐
5 tax
6
8 wasm-decompile [options] file
9
11 wasm-decompile translate from the binary format to readable C-like syn‐
12 tax.
13
14 The options are as follows:
15
16 -v, --verbose
17 Use multiple times for more info
18
19 --help Print a help message
20
21 -o, --output=FILENAME
22 Output file for the generated wast file, by default use stdout
23
24 --enable-exceptions
25 Experimental exception handling
26
27 --disable-mutable-globals
28 Import/export mutable globals
29
30 --enable-saturating-float-to-int
31 Saturating float-to-int operators
32
33 --enable-sign-extension
34 Sign-extension operators
35
36 --disable-simd
37 SIMD support
38
39 --enable-threads
40 Threading support
41
43 Parse binary file test.wasm and write text file test.dcmp
44
45 $ wasm-decompile test.wasm -o test.dcmp
46
48 wasm2wat(1), wasm-interp(1), wasm-objdump(1), wasm-opcodecnt(1),
49 wasm-strip(1), wasm-validate(1), wasm2c(1), wast2json(1), wat-desugar(1),
50 wat2wasm(1), spectest-interp(1)
51
53 If you find a bug, please report it at
54 https://github.com/WebAssembly/wabt/issues
55
56BSD July 21, 2022 BSD