summaryrefslogtreecommitdiff
path: root/docs/doc/wasm-objdump.1
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-01-17 16:19:18 -0800
committerBen Smith <binji@chromium.org>2020-01-17 16:19:18 -0800
commit0b99d31dd8b4c16e213680494589ad5b6702ea47 (patch)
treedd29bd53a0e501825882386263fb417f5fa8ba65 /docs/doc/wasm-objdump.1
parent7c80d05e37dc02870c680869ae3f04ac6d9637ee (diff)
downloadwabt-0b99d31dd8b4c16e213680494589ad5b6702ea47.tar.gz
wabt-0b99d31dd8b4c16e213680494589ad5b6702ea47.tar.bz2
wabt-0b99d31dd8b4c16e213680494589ad5b6702ea47.zip
Move documentation to docs/ directory
It's easier to update than gh-pages
Diffstat (limited to 'docs/doc/wasm-objdump.1')
-rw-r--r--docs/doc/wasm-objdump.150
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/doc/wasm-objdump.1 b/docs/doc/wasm-objdump.1
new file mode 100644
index 00000000..1ac9c258
--- /dev/null
+++ b/docs/doc/wasm-objdump.1
@@ -0,0 +1,50 @@
+.Dd $Mdocdate$
+.Dt WABT 1
+.Os
+.Sh NAME
+.Nm wasm-objdump
+.Nd print information about a wasm binary
+.Sh SYNOPSIS
+.Nm wasm-objdump
+.Op options
+.Ar
+.Sh DESCRIPTION
+.Nm
+prints information about a wasm binary, similar to objdump.
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl h , Fl Fl headers
+Print headers
+.It Fl j , Fl Fl section=SECTION
+Select just one section
+.It Fl s , Fl Fl full-contents
+Print raw section contents
+.It Fl d , Fl Fl disassemble
+Disassemble function bodies
+.It Fl Fl debug
+Print extra debug information
+.It Fl x , Fl Fl details
+Show section details
+.It Fl r , Fl Fl reloc
+Show relocations inline with disassembly
+.It Fl Fl help
+Print a help message
+.El
+.Sh EXAMPLES
+.Dl $ wasm-objdump test.wasm
+.Sh SEE ALSO
+.Xr wasm-interp 1 ,
+.Xr wasm-opcodecnt 1 ,
+.Xr wasm-strip 1 ,
+.Xr wasm-validate 1 ,
+.Xr wasm2c 1 ,
+.Xr wasm2wat 1 ,
+.Xr wast2json 1 ,
+.Xr wat-desugar 1 ,
+.Xr wat2wasm 1 ,
+.Xr spectest-interp 1
+.Sh BUGS
+If you find a bug, please report it at
+.br
+.Lk https://github.com/WebAssembly/wabt/issues .