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:

πŸ’€ 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