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.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>PulseBaseDomain (infer.Pulselib.PulseBaseDomain)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.2"/><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">Pulselib</a> &#x00BB; PulseBaseDomain</nav><h1>Module <code>Pulselib.PulseBaseDomain</code></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><code><span class="keyword">module</span> F = Stdlib.Format</code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.heap" class="anchored"><td class="def field"><a href="#type-t.heap" class="anchor"></a><code>heap : <a href="../PulseBaseMemory/index.html#type-t">PulseBaseMemory.t</a>;</code></td></tr><tr id="type-t.stack" class="anchored"><td class="def field"><a href="#type-t.stack" class="anchor"></a><code>stack : <a href="../PulseBaseStack/index.html#type-t">PulseBaseStack.t</a>;</code></td></tr><tr id="type-t.attrs" class="anchored"><td class="def field"><a href="#type-t.attrs" class="anchor"></a><code>attrs : <a href="../PulseBaseAddressAttributes/index.html#type-t">PulseBaseAddressAttributes.t</a>;</code></td></tr></table><code>}</code></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val</span> compare : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val</span> equal : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span class="keyword">val</span> yojson_of_t : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> Ppx_yojson_conv_lib.Yojson.Safe.t</code></dt></dl></div></div></div><dl><dt class="spec type" id="type-cell"><a href="#type-cell" class="anchor"></a><code><span class="keyword">type</span> cell</code><code> = <a href="../PulseBaseMemory/Edges/index.html#type-t">PulseBaseMemory.Edges.t</a> * <a href="../PulseBasicInterface/Attributes/index.html#type-t">PulseBasicInterface.Attributes.t</a></code></dt></dl><dl><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val</span> empty : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-reachable_addresses"><a href="#val-reachable_addresses" class="anchor"></a><code><span class="keyword">val</span> reachable_addresses : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../Pulselib__PulseAbstractValue/index.html#module-Set">Pulselib.PulseBasicInterface.AbstractValue.Set</a>.t</code></dt><dd><p>compute the set of abstract addresses that are &quot;used&quot; in the abstract state, i.e. reachable from the stack variables</p></dd></dl><dl><dt class="spec value" id="val-reachable_addresses_from"><a href="#val-reachable_addresses_from" class="anchor"></a><code><span class="keyword">val</span> reachable_addresses_from : <span><a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a> list</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../Pulselib__PulseAbstractValue/index.html#module-Set">Pulselib.PulseBasicInterface.AbstractValue.Set</a>.t</code></dt><dd><p>compute the set of abstract addresses that are reachable from given abstract addresses</p></dd></dl><dl><dt class="spec type" id="type-mapping"><a href="#type-mapping" class="anchor"></a><code><span class="keyword">type</span> mapping</code></dt></dl><dl><dt class="spec value" id="val-empty_mapping"><a href="#val-empty_mapping" class="anchor"></a><code><span class="keyword">val</span> empty_mapping : <a href="index.html#type-mapping">mapping</a></code></dt></dl><dl><dt class="spec type" id="type-isograph_relation"><a href="#type-isograph_relation" class="anchor"></a><code><span class="keyword">type</span> isograph_relation</code><code> = </code><table class="variant"><tr id="type-isograph_relation.NotIsomorphic" class="anchored"><td class="def constructor"><a href="#type-isograph_relation.NotIsomorphic" class="anchor"></a><code>| </code><code><span class="constructor">NotIsomorphic</span></code></td><td class="doc"><p>no mapping was found that can make LHS the same as the RHS</p></td></tr><tr id="type-isograph_relation.IsomorphicUpTo" class="anchored"><td class="def constructor"><a href="#type-isograph_relation.IsomorphicUpTo" class="anchor"></a><code>| </code><code><span class="constructor">IsomorphicUpTo</span> <span class="keyword">of</span> <a href="index.html#type-mapping">mapping</a></code></td><td class="doc"><p><code>mapping(lhs)</code> is isomorphic to <code>rhs</code></p></td></tr></table></dt></dl><dl><dt class="spec value" id="val-isograph_map"><a href="#val-isograph_map" class="anchor"></a><code><span class="keyword">val</span> isograph_map : <span>lhs:<a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <span>rhs:<a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mapping">mapping</a> <span>&#45;&gt;</span> <a href="index.html#type-isograph_relation">isograph_relation</a></code></dt><dt class="spec value" id="val-is_isograph"><a href="#val-is_isograph" class="anchor"></a><code><span class="keyword">val</span> is_isograph : <span>lhs:<a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <span>rhs:<a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mapping">mapping</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-find_cell_opt"><a href="#val-find_cell_opt" class="anchor"></a><code><span class="keyword">val</span> find_cell_opt : <a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><a href="index.html#type-cell">cell</a> option</span></code></dt><dt class="spec value" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val</span> pp : <a href="index.html#module-F">F</a>.formatter <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-subst_var"><a href="#val-subst_var" class="anchor"></a><code><span class="keyword">val</span> subst_var : <span>(<a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a> * <a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><a href="index.html#type-t">t</a> <a href="../PulseSatUnsat/index.html#type-t">PulseBasicInterface.SatUnsat.t</a></span></code></dt></dl></div></body></html>