WASM-TOOLS(1)

πŸ“¦ version 1.239.0, in ubuntu stonking

✨ WASM-TOOLS(1) ✨

okay bestie, welcome to the wasm-tools manual page, User Commands edition πŸŽ€ like yes it's a man page, but make it cute. this is the objdump girlie and she's here to spill the tea on what's inside your WebAssembly file πŸ’…


🌸 NAME 🌸

wasm-tools objdump β€” literally dumps information about sections in a WebAssembly file. that's it. that's the whole job. πŸ¦‹


🫢 SYNOPSIS 🫢

wasm-tools objdump [OPTIONS] [INPUT]

πŸ’– DESCRIPTION πŸ’–

So. It dumps information about sections in a WebAssembly file. Very demure, very mindful.

ngl though, this is a relatively incomplete subcommand β€” like she's still a work in progress, she's growing, she's evolving πŸ™ˆ. The whole vibe here is that it's generally intended to just help you poke around an object file. That's it. A little peek. A lil snoop. πŸ”βœ¨

πŸ“ Arguments:

  • [INPUT] β€” the input file to process, bestie.

If you don't provide it, or if it's literally just -, then stdin gets read entirely and processed. also heads up: for most subcommands this input can be either a binary *.wasm file or a textual format *.wat file. so flexible, we love that πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • --generate-dwarf <lines|full> β€” optionally generate DWARF debugging information from WebAssembly text files, periodt.

So when the input to this command is a WebAssembly text file β€” like a *.wat β€” this option tells the text parser to insert DWARF debugging information so you can map binary locations back to the original source locations in the input *.wat file. iconic behaviour honestly 🌈

⚠️ heads up: this option has no effect if the INPUT argument is already a WebAssembly binary, or if the text format uses (module binary ...). like, she simply will not do anything. deadass.
  • -g β€” shorthand for --generate-dwarf full. slay, save those keystrokes ✨
  • -o, --output <OUTPUT> β€” where to place output.

If you don't provide it, then stdout is used. classic. πŸŽ€

  • -v, --verbose... β€” use verbose output (-v info, -vv debug, -vvv trace). the more v's the more tea you get 🍡 the way that escalates... obsessed.
  • --color <COLOR> β€” configuration over whether terminal colors are used in output.

Supports one of auto|never|always|always-ansi. The default is to detect what to do based on the terminal environment, for example by using isatty πŸ¦‹

[default: auto]

  • -h, --help β€” print help (see a summary with '-h'). your bestie when you're lost πŸ’œ

🧚 and that's the whole page bestie! go poke around in an object file, you've got this fr fr πŸ’…βœ¨

this has been wasm-tools objdump, version 1.239.0+ds, from August 2026 β€” mwah, love u, bye πŸ«ΆπŸ’–

πŸ“¦ where this page comes from