2018-10-03 22:13:11 +05:30
|
|
|
# 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 22:13:11 +05:30
|
|
|
|
|
|
|
- Display the section headers of a given binary:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`wasm-objdump {{[-h|--headers]}} {{file.wasm}}`
|
2018-10-03 22:13:11 +05:30
|
|
|
|
|
|
|
- Display the entire disassembled output of a given binary:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`wasm-objdump {{[-d|--disassemble]}} {{file.wasm}}`
|
2018-10-03 22:13:11 +05:30
|
|
|
|
|
|
|
- Display the details of each section:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`wasm-objdump {{[-x|--details]}} {{file.wasm}}`
|
2018-10-03 22:13:11 +05:30
|
|
|
|
|
|
|
- Display the details of a given section:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`wasm-objdump {{[-j|--section]}} '{{import}}' {{[-x|--details]}} {{file.wasm}}`
|