<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>AnalysisState (infer.Absint.AnalysisState)</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">Absint</a>» AnalysisState</nav><h1>Module <code>Absint.AnalysisState</code></h1><navclass="toc"><ul><li><ahref="#state-management">State management</a></li></ul></nav></header><aside><p>State of symbolic execution</p></aside><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt></dl><dl><dtclass="spec value"id="val-get_instr"><ahref="#val-get_instr"class="anchor"></a><code><spanclass="keyword">val</span> get_instr : unit <span>-></span><span><ahref="../../IR/Sil/index.html#type-instr">IR.Sil.instr</a> option</span></code></dt><dd><p>Get last instruction seen in symbolic execution</p></dd></dl><dl><dtclass="spec value"id="val-get_loc_exn"><ahref="#val-get_loc_exn"class="anchor"></a><code><spanclass="keyword">val</span> get_loc_exn : unit <span>-></span><ahref="../../IBase/Location/index.html#type-t">IBase.Location.t</a></code></dt><dd><p>Get last location seen in symbolic execution</p></dd></dl><dl><dtclass="spec value"id="val-get_loc"><ahref="#val-get_loc"class="anchor"></a><code><spanclass="keyword">val</span> get_loc : unit <span>-></span><span><ahref="../../IBase/Location/index.html#type-t">IBase.Location.t</a> option</span></code></dt><dd><p>Get last location seen in symbolic execution</p></dd></dl><dl><dtclass="spec value"id="val-get_node_exn"><ahref="#val-get_node_exn"class="anchor"></a><code><spanclass="keyword">val</span> get_node_exn : unit <span>-></span><ahref="../../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a></code></dt><dd><p>Get last node seen in symbolic execution</p></dd></dl><dl><dtclass="spec value"id="val-get_node"><ahref="#val-get_node"class="anchor"></a><code><spanclass="keyword">val</span> get_node : unit <span>-></span><span><ahref="../../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a> option</span></code></dt><dd><p>Get last node seen in symbolic execution</p></dd></dl><dl><dtclass="spec value"id="val-get_session"><ahref="#val-get_session"class="anchor"></a><code><spanclass="keyword">val</span> get_session : unit <span>-></span> int</code></dt><dd><p>Get last session seen in symbolic execution</p></dd></dl><dl><dtclass="spec value"id="val-set_instr"><ahref="#val-set_instr"class="anchor"></a><code><spanclass="keyword">val</span> set_instr : <ahref="../../IR/Sil/index.html#type-instr">IR.Sil.instr</a><span>-></span> unit</code></dt><dd><p>Set last instruction seen in symbolic execution</p></dd></dl><dl><dtclass="spec value"id="val-set_node"><ahref="#val-set_node"class="anchor"></a><code><spanclass="keyword">val</span> set_node : <ahref="../../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a><span>-></span> unit</code></dt><dd><p>Set last node seen in symbolic execution</p></dd></dl><dl><dtclass="spec value"id="val-set_session"><ahref="#val-set_session"class="anchor"></a><code><spanclass="keyword">val</span> set_session : int <span>-></span> unit</code></dt><dd><p>Set last session seen in symbolic execution</p></dd></dl><section><header><h3id="state-management"><ahref="#state-management"class="anchor"></a>State management</h3></header><dl><dtclass="spec value"id="val-restore"><ahref="#val-restore"class="anchor"></a><code><spanclass="keyword">val</span> restore : <ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>Restore the old state.</p></dd></dl><dl><dtclass="spec value"id="val-save"><ahref