You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
7.0 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>SymExec (infer.InferModules.SymExec)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">InferModules</a> &#x00BB; SymExec</nav><h1>Module <code>InferModules.SymExec</code></h1></header><aside><p>Symbolic Execution</p></aside><dl><dt class="spec value" id="val-declare_locals_and_ret"><a href="#val-declare_locals_and_ret" class="anchor"></a><code><span class="keyword">val</span> declare_locals_and_ret : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span>&#45;&gt;</span> <span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span></code></dt><dd><p>Symbolic execution of the declaration of locals and return value.</p></dd></dl><dl><dt class="spec value" id="val-node"><a href="#val-node" class="anchor"></a><code><span class="keyword">val</span> node : <span>(exn <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="../Exe_env/index.html#type-t">Exe_env.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../Summary/index.html#type-t">Summary.t</a> <span>&#45;&gt;</span> <a href="../ProcCfg/Exceptional/index.html#type-t">ProcCfg.Exceptional.t</a> <span>&#45;&gt;</span> <a href="../../InferModules__ProcCfg/DefaultNode/index.html#type-t">ProcCfg.Exceptional.Node.t</a> <span>&#45;&gt;</span> <a href="../Paths/PathSet/index.html#type-t">Paths.PathSet.t</a> <span>&#45;&gt;</span> <a href="../Paths/PathSet/index.html#type-t">Paths.PathSet.t</a></code></dt><dd><p>Symbolic execution of the instructions of a node, lifted to sets of propositions.</p></dd></dl><dl><dt class="spec value" id="val-instrs"><a href="#val-instrs" class="anchor"></a><code><span class="keyword">val</span> instrs : <span>?&#8288;mask_errors:bool</span> <span>&#45;&gt;</span> <a href="../Exe_env/index.html#type-t">Exe_env.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../Summary/index.html#type-t">Summary.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Instrs/index.html#type-not_reversed_t">InferIR.Instrs.not_reversed_t</a> <span>&#45;&gt;</span> <span><span>(<span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span> * <a href="../Paths/Path/index.html#type-t">Paths.Path.t</a>)</span> list</span> <span>&#45;&gt;</span> <span><span>(<span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span> * <a href="../Paths/Path/index.html#type-t">Paths.Path.t</a>)</span> list</span></code></dt><dd><p>Symbolic execution of a sequence of instructions. If errors occur and <code>mask_errors</code> is true, just treat as skip.</p></dd></dl><dl><dt class="spec value" id="val-diverge"><a href="#val-diverge" class="anchor"></a><code><span class="keyword">val</span> diverge : <span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span> <span>&#45;&gt;</span> <a href="../Paths/Path/index.html#type-t">Paths.Path.t</a> <span>&#45;&gt;</span> <span><span>(<span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span> * <a href="../Paths/Path/index.html#type-t">Paths.Path.t</a>)</span> list</s