mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
26 lines
580 B
Plaintext
26 lines
580 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# wasm-objdump
|
|
|
|
> Display information from WebAssembly binaries.
|
|
> More information: <https://github.com/WebAssembly/wabt>.
|
|
|
|
- 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}}`
|