Scroll to navigation

WABT(1) General Commands Manual WABT(1)

NAME

wasm-decompiletranslate from the binary format to readable C-like syntax

SYNOPSIS

wasm-decompile [options] file

DESCRIPTION

wasm-decompile translate from the binary format to readable C-like syntax.

The options are as follows:

, --verbose
Use multiple times for more info
Print a help message
, --output=FILENAME
Output file for the generated wast file, by default use stdout
Experimental exception handling
Import/export mutable globals
Saturating float-to-int operators
Sign-extension operators
SIMD support
Threading support

EXAMPLES

Parse binary file test.wasm and write text file test.dcmp

$ wasm-decompile test.wasm -o test.dcmp

SEE ALSO

wasm2wat(1), wasm-interp(1), wasm-objdump(1), wasm-opcodecnt(1), wasm-strip(1), wasm-validate(1), wasm2c(1), wast2json(1), wat-desugar(1), wat2wasm(1), spectest-interp(1)

BUGS

If you find a bug, please report it at
https://github.com/WebAssembly/wabt/issues.

September 7, 2022 Debian