blob: ba1cd24926c3754966f986302b1e57a574047611 [file] [log] [blame] [edit]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
table.head, table.foot { width: 100%; }
td.head-rtitle, td.foot-os { text-align: right; }
td.head-vol { text-align: center; }
.Nd, .Bf, .Op { display: inline; }
.Pa, .Ad { font-style: italic; }
.Ms { font-weight: bold; }
.Bl-diag > dt { font-weight: bold; }
code.Nm, .Fl, .Cm, .Ic, code.In, .Fd, .Fn, .Cd { font-weight: bold;
font-family: inherit; }
</style>
<title>WABT(1)</title>
</head>
<body>
<table class="head">
<tr>
<td class="head-ltitle">WABT(1)</td>
<td class="head-vol">General Commands Manual</td>
<td class="head-rtitle">WABT(1)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">wasm-objdump</code> &#x2014;
<span class="Nd">print information about a wasm binary</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<table class="Nm">
<tr>
<td><code class="Nm">wasm-objdump</code></td>
<td>[options] <var class="Ar">file ...</var></td>
</tr>
</table>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp"><code class="Nm">wasm-objdump</code> Print information about the
contents of wasm binaries.</p>
<p class="Pp">The options are as follows:</p>
<dl class="Bl-tag">
<dt id="help"><a class="permalink" href="#help"><code class="Fl">--help</code></a></dt>
<dd>Print a help message</dd>
<dt id="version"><a class="permalink" href="#version"><code class="Fl">--version</code></a></dt>
<dd>Print version information</dd>
<dt id="h"><a class="permalink" href="#h"><code class="Fl">-h</code></a>,
<code class="Fl">--headers</code></dt>
<dd>Print headers</dd>
<dt id="j"><a class="permalink" href="#j"><code class="Fl">-j</code></a>,
<code class="Fl">--section=SECTION</code></dt>
<dd>Select just one section</dd>
<dt id="s"><a class="permalink" href="#s"><code class="Fl">-s</code></a>,
<code class="Fl">--full-contents</code></dt>
<dd>Print raw section contents</dd>
<dt id="d"><a class="permalink" href="#d"><code class="Fl">-d</code></a>,
<code class="Fl">--disassemble</code></dt>
<dd>Disassemble function bodies</dd>
<dt id="debug"><a class="permalink" href="#debug"><code class="Fl">--debug</code></a></dt>
<dd>Print extra debug information</dd>
<dt id="x"><a class="permalink" href="#x"><code class="Fl">-x</code></a>,
<code class="Fl">--details</code></dt>
<dd>Show section details</dd>
<dt id="r"><a class="permalink" href="#r"><code class="Fl">-r</code></a>,
<code class="Fl">--reloc</code></dt>
<dd>Show relocations inline with disassembly</dd>
<dt id="section-offsets"><a class="permalink" href="#section-offsets"><code class="Fl">--section-offsets</code></a></dt>
<dd>Print section offsets instead of file offsets in code disassembly</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<div class="Bd Bd-indent"><code class="Li">$ wasm-objdump test.wasm</code></div>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr" href="wasm-decompile.1.html">wasm-decompile(1)</a>,
<a class="Xr" href="wasm-interp.1.html">wasm-interp(1)</a>,
<a class="Xr" href="wasm-stats.1.html">wasm-stats(1)</a>,
<a class="Xr" href="wasm-strip.1.html">wasm-strip(1)</a>,
<a class="Xr" href="wasm-validate.1.html">wasm-validate(1)</a>,
<a class="Xr" href="wasm2c.1.html">wasm2c(1)</a>,
<a class="Xr" href="wasm2wat.1.html">wasm2wat(1)</a>,
<a class="Xr" href="wast2json.1.html">wast2json(1)</a>,
<a class="Xr" href="wat-desugar.1.html">wat-desugar(1)</a>,
<a class="Xr" href="wat2wasm.1.html">wat2wasm(1)</a>,
<a class="Xr" href="spectest-interp.1.html">spectest-interp(1)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">If you find a bug, please report it at
<br/>
<a class="Lk" href="https://github.com/WebAssembly/wabt/issues">https://github.com/WebAssembly/wabt/issues</a>.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">September 23, 2025</td>
<td class="foot-os">Debian</td>
</tr>
</table>
</body>
</html>