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>Builtin (infer.InferModules.Builtin)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc %%VERSION%%"/><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">InferModules</a>» Builtin</nav><h1>Module <code>InferModules.Builtin</code></h1></header><aside><p>Module for builtin functions with their symbolic execution handler</p></aside><dl><dtclass="spec type"id="type-args"><ahref="#type-args"class="anchor"></a><code><spanclass="keyword">type</span> args</code><code> = </code><code>{</code><tableclass="record"><trid="type-args.summary"class="anchored"><tdclass="def field"><ahref="#type-args.summary"class="anchor"></a><code>summary : <ahref="../Summary/index.html#type-t">Summary.t</a>;</code></td></tr><trid="type-args.instr"class="anchored"><tdclass="def field"><ahref="#type-args.instr"class="anchor"></a><code>instr : <ahref="../../../InferIR/InferIR/Sil/index.html#type-instr">InferIR.Sil.instr</a>;</code></td></tr><trid="type-args.tenv"class="anchored"><tdclass="def field"><ahref="#type-args.tenv"class="anchor"></a><code>tenv : <ahref="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a>;</code></td></tr><trid="type-args.prop_"class="anchored"><tdclass="def field"><ahref="#type-args.prop_"class="anchor"></a><code>prop_ : <span><ahref="../Prop/index.html#type-normal">Prop.normal</a><ahref="../Prop/index.html#type-t">Prop.t</a></span>;</code></td></tr><trid="type-args.path"class="anchored"><tdclass="def field"><ahref="#type-args.path"class="anchor"></a><code>path : <ahref="../Paths/Path/index.html#type-t">Paths.Path.t</a>;</code></td></tr><trid="type-args.ret_id_typ"class="anchored"><tdclass="def field"><ahref="#type-args.ret_id_typ"class="anchor"></a><code>ret_id_typ : <ahref="../../../InferIR/InferIR/Ident/index.html#type-t">InferIR.Ident.t</a> * <ahref="../../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a>;</code></td></tr><trid="type-args.args"class="anchored"><tdclass="def field"><ahref="#type-args.args"class="anchor"></a><code>args : <span><span>(<ahref="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> * <ahref="../../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a>)</span> list</span>;</code></td></tr><trid="type-args.proc_name"class="anchored"><tdclass="def field"><ahref="#type-args.proc_name"class="anchor"></a><code>proc_name : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a>;</code></td></tr><trid="type-args.loc"class="anchored"><tdclass="def field"><ahref="#type-args.loc"class="anchor"></a><code>loc : <ahref="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a>;</code></td></tr><trid="type-args.exe_env"class="anchored"><tdclass="def field"><ahref="#type-args.exe_env"class="anchor"></a><code>exe_env : <ahref="../Exe_env/index.html#type-t">Exe_env.t</a>;</code></td></tr></table><code>}</code></dt><dtclass="spec type"id="type-ret_typ"><ahref="#type-ret_typ"class="anchor"></a><code><spanclass="keyword">type</span> ret_typ</code><code> = <span><span>(<span><ahref="../Prop/index.html#type-normal">Prop.normal</a><ahref="../Prop/index.html#type-t">Prop.t</a></span> * <ahref="../Paths/Path/index.html#type-t">Paths.Path.t</a>)</span> list</span></code></dt><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code><code> = <ahref="index.html#type-args">args</a><span>-></span><ahref="index.html#type-ret_typ">ret_typ</a></code></dt><dtclass="spec type"id="type-registered"><ahref="#type-registered"class="anchor"></a><code><spanclass="keyword">type</span> registered</code></dt></dl><dl><dtclass="spec value"id="val-register"><ahref="#val-register"class="anchor"></a><code><spanclass="keyword">val</span> register : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-registered">registered</a></code></dt><dd><p>Register a builtin <code>Typ.Procname.t</code> and symbolic execution handler</p></dd></dl><dl><dtclass="spec value"id="val-get"><ahref="#val-get"class="anchor"></a><code><spanclass="keyword">val</span> get : <ahref="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span><span><ahref="index.html#type-t">t</a> option</span></code></dt><dd><p>Get the symbolic execution handler associated to the builtin function name</p></dd></dl><dl><dtclass="spec value"id="val-print_and_exit"><ahref="#val-print_and_exit"class="anchor"></a><code><spanclass="keyword">val</span> print_and_exit : unit <span>-></span><spanclass="type-var">'a</span></code></dt><dd><p>Print the builtin functions and exit</p></dd></dl></div></body></html>