Files
cheatsheet-tldr/tldr/wasm-objdump
2025-04-23 00:19:06 +00:00

26 lines
643 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|--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}}`