瀏覽代碼

wasm-objdump: add page (#2373)

Agniva De Sarker 6 年之前
父節點
當前提交
c115541a36
共有 1 個文件被更改,包括 19 次插入0 次删除
  1. 19 0
      pages/common/wasm-objdump.md

+ 19 - 0
pages/common/wasm-objdump.md

@@ -0,0 +1,19 @@
+# wasm-objdump
+
+> Display information from WebAssembly binaries.
+
+- 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}}`