2018-10-03 17:43:11 +01:00
|
|
|
# wasm-objdump
|
|
|
|
|
|
|
|
> Display information from WebAssembly binaries.
|
2021-11-06 20:52:43 +00:00
|
|
|
> More information: <https://github.com/WebAssembly/wabt>.
|
2018-10-03 17:43:11 +01:00
|
|
|
|
|
|
|
- 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}}`
|