summaryrefslogtreecommitdiff
path: root/man/wasm-objdump.1
blob: 5994c79ade32d4a925effa4c81c2bebfabc18bca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.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
Print information about the contents of wasm binaries.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl Fl help
Print a help message
.It Fl Fl version
Print version information
.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 section-offsets
Print section offsets instead of file offsets in code disassembly
.El
.Sh EXAMPLES
.Dl $ wasm-objdump test.wasm
.Sh SEE ALSO
.Xr wasm-decompile 1 ,
.Xr wasm-interp 1 ,
.Xr wasm-stats 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 .