This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>DecompiledExp (infer.IR.DecompiledExp)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">IR</a>» DecompiledExp</nav><h1>Module <code>IR.DecompiledExp</code></h1></header><aside><p>The Smallfoot Intermediate Language: Decompiled Expressions</p></aside><divclass="spec module"id="module-F"><ahref="#module-F"class="anchor"></a><code><spanclass="keyword">module</span> F = Stdlib.Format</code></div><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code><code> = </code><tableclass="variant"><trid="type-t.Darray"class="anchored"><tdclass="def constructor"><ahref="#type-t.Darray"class="anchor"></a><code>| </code><code><spanclass="constructor">Darray</span><spanclass="keyword">of</span><ahref="index.html#type-t">t</a> * <ahref="index.html#type-t">t</a></code></td></tr><trid="type-t.Dbinop"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dbinop"class="anchor"></a><code>| </code><code><spanclass="constructor">Dbinop</span><spanclass="keyword">of</span><ahref="../Binop/index.html#type-t">Binop.t</a> * <ahref="index.html#type-t">t</a> * <ahref="index.html#type-t">t</a></code></td></tr><trid="type-t.Dconst"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dconst"class="anchor"></a><code>| </code><code><spanclass="constructor">Dconst</span><spanclass="keyword">of</span><ahref="../Const/index.html#type-t">Const.t</a></code></td></tr><trid="type-t.Dsizeof"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dsizeof"class="anchor"></a><code>| </code><code><spanclass="constructor">Dsizeof</span><spanclass="keyword">of</span><ahref="../Typ/index.html#type-t">Typ.t</a> * <span><ahref="index.html#type-t">t</a> option</span> * <ahref="../Subtype/index.html#type-t">Subtype.t</a></code></td></tr><trid="type-t.Dderef"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dderef"class="anchor"></a><code>| </code><code><spanclass="constructor">Dderef</span><spanclass="keyword">of</span><ahref="index.html#type-t">t</a></code></td></tr><trid="type-t.Dfcall"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dfcall"class="anchor"></a><code>| </code><code><spanclass="constructor">Dfcall</span><spanclass="keyword">of</span><ahref="index.html#type-t">t</a> * <span><ahref="index.html#type-t">t</a> list</span> * <ahref="../../IBase/Location/index.html#type-t">IBase.Location.t</a> * <ahref="../CallFlags/index.html#type-t">CallFlags.t</a></code></td></tr><trid="type-t.Darrow"class="anchored"><tdclass="def constructor"><ahref="#type-t.Darrow"class="anchor"></a><code>| </code><code><spanclass="constructor">Darrow</span><spanclass="keyword">of</span><ahref="index.html#type-t">t</a> * <ahref="../Fieldname/index.html#type-t">Fieldname.t</a></code></td></tr><trid="type-t.Ddot"class="anchored"><tdclass="def constructor"><ahref="#type-t.Ddot"class="anchor"></a><code>| </code><code><spanclass="constructor">Ddot</span><spanclass="keyword">of</span><ahref="index.html#type-t">t</a> * <ahref="../Fieldname/index.html#type-t">Fieldname.t</a></code></td></tr><trid="type-t.Dpvar"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dpvar"class="anchor"></a><code>| </code><code><spanclass="constructor">Dpvar</span><spanclass="keyword">of</span><ahref="../Pvar/index.html#type-t">Pvar.t</a></code></td></tr><trid="type-t.Dpvaraddr"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dpvaraddr"class="anchor"></a><code>| </code><code><spanclass="constructor">Dpvaraddr</span><spanclass="keyword">of</span><ahref="../Pvar/index.html#type-t">Pvar.t</a></code></td></tr><trid="type-t.Dunop"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dunop"class="anchor"></a><code>| </code><code><spanclass="constructor">Dunop</span><spanclass="keyword">of</span><ahref="../Unop/index.html#type-t">Unop.t</a> * <ahref="index.html#type-t">t</a></code></td></tr><trid="type-t.Dunknown"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dunknown"class="anchor"></a><code>| </code><code><spanclass="constructor">Dunknown</span></code></td></tr><trid="type-t.Dretcall"class="anchored"><tdclass="def constructor"><ahref="#type-t.Dretcall"class="anchor"></a><code>| </code><code><spanclass="constructor">Dretcall</span><spanclass="keyword">of</span><ahref="index.html#type-t">t</a> * <span><ahref="index.html#type-t">t</a> list</span> * <ahref="../../IBase/Location/index.html#type-t">IBase.Location.t</a> * <ahref="../CallFlags/index.html#type-t">CallFlags.t</a></code></td></tr></table></dt><dd><p>expression representing the result of decompilation</p></dd></dl><dl><dtclass="spec type"id="type-vpath"><ahref="#type-vpath"class="anchor"></a><code><spanclass="keyword">type</span> vpath</code><code> = <span><ahref="index.html#type-t">t</a> option</span></code></dt><dd><p>Value paths: identify an occurrence of a value in a symbolic heap each expression represents a path, with Dpvar being the simplest one</p></dd></dl><dl><dtclass="spec value"id="val-pp"><ahref="#val-pp"class="anchor"></a><code><spanclass="keyword">val</span> pp : <ahref="index.html#module-F">F</a>.formatter <span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dtclass="spec value"id="val-to_string"><ahref="#val-to_string"class="anchor"></a><code><spanclass="keyword">val</span> to_string : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dd><p>convert to a string</p></dd></dl><dl><dtclass="spec value"id="val-pp_vpath"><ahref="#val-pp_vpath"class="anchor"></a><code><spanclass="keyword">val</span> pp_vpath : <ahref="../../IStdlib/Pp/index.html#type-env">IStdlib.Pp.env</a><span>-></span><ahref="index.html#module-F">F</a>.formatter <span>-></span><ahref="index.html#type-vpath">vpath</a><span>-></span> unit</code></dt><dd><p>Pretty print a value path</p></dd></dl><dl><dtclass="spec value"id="val-has_tmp_var"><ahref="#val-has_tmp_var"class="anchor"></a><code><spanclass="keyword">val</span> has_tmp_var : <ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>return true if <code>dexp</code> contains a temporary pvar</p></dd></dl></div></body></html>