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
4.3 KiB

This file contains ambiguous Unicode characters!

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>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>AnalysisState (infer.Absint.AnalysisState)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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">Absint</a> &#x00BB; AnalysisState</nav><h1>Module <code>Absint.AnalysisState</code></h1><nav class="toc"><ul><li><a href="#state-management">State management</a></li></ul></nav></header><aside><p>State of symbolic execution</p></aside><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt></dl><dl><dt class="spec value" id="val-get_instr"><a href="#val-get_instr" class="anchor"></a><code><span class="keyword">val</span> get_instr : unit <span>&#45;&gt;</span> <span><a href="../../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><dt class="spec value" id="val-get_loc_exn"><a href="#val-get_loc_exn" class="anchor"></a><code><span class="keyword">val</span> get_loc_exn : unit <span>&#45;&gt;</span> <a href="../../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><dt class="spec value" id="val-get_loc"><a href="#val-get_loc" class="anchor"></a><code><span class="keyword">val</span> get_loc : unit <span>&#45;&gt;</span> <span><a href="../../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><dt class="spec value" id="val-get_node_exn"><a href="#val-get_node_exn" class="anchor"></a><code><span class="keyword">val</span> get_node_exn : unit <span>&#45;&gt;</span> <a href="../../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><dt class="spec value" id="val-get_node"><a href="#val-get_node" class="anchor"></a><code><span class="keyword">val</span> get_node : unit <span>&#45;&gt;</span> <span><a href="../../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><dt class="spec value" id="val-get_session"><a href="#val-get_session" class="anchor"></a><code><span class="keyword">val</span> get_session : unit <span>&#45;&gt;</span> int</code></dt><dd><p>Get last session seen in symbolic execution</p></dd></dl><dl><dt class="spec value" id="val-set_instr"><a href="#val-set_instr" class="anchor"></a><code><span class="keyword">val</span> set_instr : <a href="../../IR/Sil/index.html#type-instr">IR.Sil.instr</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Set last instruction seen in symbolic execution</p></dd></dl><dl><dt class="spec value" id="val-set_node"><a href="#val-set_node" class="anchor"></a><code><span class="keyword">val</span> set_node : <a href="../../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Set last node seen in symbolic execution</p></dd></dl><dl><dt class="spec value" id="val-set_session"><a href="#val-set_session" class="anchor"></a><code><span class="keyword">val</span> set_session : int <span>&#45;&gt;</span> unit</code></dt><dd><p>Set last session seen in symbolic execution</p></dd></dl><section><header><h3 id="state-management"><a href="#state-management" class="anchor"></a>State management</h3></header><dl><dt class="spec value" id="val-restore"><a href="#val-restore" class="anchor"></a><code><span class="keyword">val</span> restore : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Restore the old state.</p></dd></dl><dl><dt class="spec value" id="val-save"><a href="#val-save" class="anchor"></a><code><span class="keyword">val</span> save : unit <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>Return the old state, and revert the current state to the initial one.</p></dd></dl></section></div></body></html>