wasm-objdump - Man Page
print information about a wasm binary
Examples (TL;DR)
Display the section headers of a given binary:
wasm-objdump -h file.wasm
Display the entire disassembled output of a given binary:
wasm-objdump -d file.wasm
Display the details of each section:
wasm-objdump --details file.wasm
Display the details of a given section:
wasm-objdump --section 'import' --details file.wasm
Synopsis
wasm-objdump | [options] file ... |
Description
wasm-objdump Print information about the contents of wasm binaries.
The options are as follows:
- --help
Print a help message
- --version
Print version information
- -h, --headers
Print headers
- -j, --section=SECTION
Select just one section
- -s, --full-contents
Print raw section contents
- -d, --disassemble
Disassemble function bodies
- --debug
Print extra debug information
- -x, --details
Show section details
- -r, --reloc
Show relocations inline with disassembly
- --section-offsets
Print section offsets instead of file offsets in code disassembly
Examples
$ wasm-objdump test.wasm
See Also
wasm-decompile(1), wasm-interp(1), wasm-opcodecnt(1), wasm-strip(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.
Referenced By
spectest-interp(1), wasm2c(1), wasm2wat(1), wasm-decompile(1), wasm-interp(1), wasm-opcodecnt(1), wasm-strip(1), wasm-validate(1), wast2json(1), wat2wasm(1), wat-desugar(1).