blob: fe51b6b5793192c03a5b637c932e6b770b4ea88d (
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
|
.Dd $Mdocdate$
.Dt WABT 1
.Os
.Sh NAME
.Nm wasm-strip
.Nd remove sections of a WebAssembly binary file
.Sh SYNOPSIS
.Nm wasm-strip
.Op options
.Ar file
.Sh DESCRIPTION
.Nm
Remove sections of a WebAssembly binary file.
.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 o , Fl Fl output=FILE
output wasm binary file
.El
.Sh EXAMPLES
Remove all custom sections from test.wasm
.Pp
.Dl $ wasm-strip test.wasm
.Sh SEE ALSO
.Xr wasm-decompile 1 ,
.Xr wasm-interp 1 ,
.Xr wasm-objdump 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 .
|