WABT(1)
hiii bestie π welcome to the WABT(1) manual page β today's main character is wasm-strip, the lil' command that removes sections of a WebAssembly binary file. no cap, it's giving "tiny but powerful" β¨
π NAME π
wasm-strip β remove sections of a WebAssembly binary file. that's the whole vibe: it strips sections out of a WebAssembly binary. obsessed, honestly. π«Ά
πΈ SYNOPSIS πΈ
wasm-strip [options] filename
π¦ DESCRIPTION π¦
okay so wasm-strip removes sections of a WebAssembly binary file. literally its whole thing, and it ate. π
The options are as follows:
--helpβ print this help message. very demure, very helpful. π--versionβ print version information. iykyk, gotta know which version you're on. β¨-o,--output=FILEβ output wasm binary file. yes bestie, this is where the output wasm binary goes. πΎ-k,--keep-section=SECTIONβ keep a section in the final output. the manpage's row for it says exactly:
NAME Section name to keep in the final output
π§ EXAMPLES π§
Remove all custom sections from test.wasm β periodt, all the custom sections are getting evicted:
$ wasm-strip test.wasm
π SEE ALSO π
the squad, the friend group, the whole WABT universe:
wasm-interp(1)wasm-objdump(1)wasm-stats(1)wasm-validate(1)wasm2c(1)wasm2wat(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 β no gatekeeping, bestie, the maintainers wanna know. π«Ά
π and that's the whole page! this one comes from Debian, dated $Mdocdate$, and it's part of the WABT(1) manual. byeee, slay responsibly π
π¦ where this page comes from
- arch rolling: wabt 1.0.42-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms