WABT(1) General Commands Manual WABT(1)

wasm-stripremove sections of a WebAssembly binary file

wasm-strip [options] file

wasm-strip Remove sections of a WebAssembly binary file.

The options are as follows:

Print a help message
Print version information
, --output=FILE
output wasm binary file

Remove all custom sections from test.wasm

$ wasm-strip test.wasm

wasm-decompile(1), wasm-interp(1), wasm-objdump(1), wasm-stats(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.

October 22, 2024 Linux 6.10.10-arch1-1