WASM-TOOLS(1)
β¨ 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 theINPUTargument 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 (-vinfo,-vvdebug,-vvvtrace). 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
- ubuntu stonking: wasm-tools 1.239.0+ds-10 Β· Apache-2.0 OR Apache-2.0 WITH LLVM exception OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms