HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

wasm-objdump — Display information from WebAssembly binaries. More information: <https://webassembly.github.io/wabt

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandwasm-objdumpfromwebassemblycliinformationbinariesdisplay

Problem

How to use the wasm-objdump command: Display information from WebAssembly binaries. More information: <https://webassembly.github.io/wabt/doc/wasm-objdump.1.html>.

Solution

wasm-objdump — Display information from WebAssembly binaries. More information: <https://webassembly.github.io/wabt/doc/wasm-objdump.1.html>.

Display the section headers of a given binary:
wasm-objdump {{[-h|--headers]}} {{file.wasm}}


Display the entire disassembled output of a given binary:
wasm-objdump {{[-d|--disassemble]}} {{file.wasm}}


Display the details of each section:
wasm-objdump {{[-x|--details]}} {{file.wasm}}


Display the details of a given section:
wasm-objdump {{[-j|--section]}} '{{import}}' {{[-x|--details]}} {{file.wasm}}

Code Snippets

Display the section headers of a given binary

wasm-objdump {{[-h|--headers]}} {{file.wasm}}

Display the entire disassembled output of a given binary

wasm-objdump {{[-d|--disassemble]}} {{file.wasm}}

Display the details of each section

wasm-objdump {{[-x|--details]}} {{file.wasm}}

Display the details of a given section

wasm-objdump {{[-j|--section]}} '{{import}}' {{[-x|--details]}} {{file.wasm}}

Context

tldr-pages: common/wasm-objdump

Revisions (0)

No revisions yet.