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
5.6 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>InferModules__Abs (infer.InferModules__Abs)</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; InferModules__Abs</nav><h1>Module <code>InferModules__Abs</code></h1><p>Implementation of Abstraction Functions</p></header><dl><dt class="spec type" id="type-rules"><a href="#type-rules" class="anchor"></a><code><span class="keyword">type</span> rules</code></dt><dd><p>Abstraction rules discovered</p></dd></dl><dl><dt class="spec value" id="val-abstract"><a href="#val-abstract" class="anchor"></a><code><span class="keyword">val</span> abstract : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <a href="../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span><a href="../InferModules/Prop/index.html#type-normal">InferModules.Prop.normal</a> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../InferModules/Prop/index.html#type-normal">InferModules.Prop.normal</a> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span></code></dt><dd><p>Abstract a proposition.</p></dd></dl><dl><dt class="spec value" id="val-abstract_junk"><a href="#val-abstract_junk" class="anchor"></a><code><span class="keyword">val</span> abstract_junk : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <a href="../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span><a href="../InferModules/Prop/index.html#type-normal">InferModules.Prop.normal</a> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../InferModules/Prop/index.html#type-normal">InferModules.Prop.normal</a> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span></code></dt><dd><p>Check whether the prop contains junk. If it does, and <code>Config.allowleak</code> is true, remove the junk, otherwise raise a Leak exception.</p></dd></dl><dl><dt class="spec value" id="val-abstract_no_symop"><a href="#val-abstract_no_symop" class="anchor"></a><code><span class="keyword">val</span> abstract_no_symop : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <a href="../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span><a href="../InferModules/Prop/index.html#type-normal">InferModules.Prop.normal</a> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../InferModules/Prop/index.html#type-normal">InferModules.Prop.normal</a> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span></code></dt><dd><p>Abstract a proposition but don't pay a SymOp</p></dd></dl><dl><dt class="spec value" id="val-get_current_rules"><a href="#val-get_current_rules" class="anchor"></a><code><span class="keyword">val</span> get_current_rules : unit <span>&#45;&gt;</span> <a href="index.html#type-rules">rules</a></code></dt><dd><p>Get the current rules discoveres</p></dd></dl><dl><dt class="spec value" id="val-lifted_abstract"><a href="#val-lifted_abstract" class="anchor"></a><code><span class="keyword">val</span> lifted_abstract : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.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="../InferModules/Propset/index.html#type-t">InferModules.Propset.t</a> <span>&#45;&gt;</span> <a href="../InferModules/Propset/index.html#type-t">InferModules.Propset.t</a></code></dt><dd><p>Abstract each proposition in <code>propset</code></p></dd></dl><dl><dt class="spec value" id="val-remove_redundant_array_elements"><a href="#val-remove_redundant_array_elements" class="anchor"></a><code><span class="keyword">val</span> remove_redundant_array_elements : <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <a href="../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span><a href="../InferModules/Prop/index.html#type-normal">InferModules.Prop.normal</a> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../InferModules/Prop/index.html#type-normal">InferModules.Prop.normal</a> <a href="../InferModules/Prop/index.html#type-t">InferModules.Prop.t</a></span></code></dt><dd><p>Remove redundant elements in an array, and check for junk afterwards</p></dd></dl><dl><dt class="spec value" id="val-reset_current_rules"><a href="#val-reset_current_rules" class="anchor"></a><code><span class="keyword">val</span> reset_current_rules : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>Reset the abstraction rules discovered</p></dd></dl><dl><dt class="spec value" id="val-set_current_rules"><a href="#val-set_current_rules" class="anchor"></a><code><span class="keyword">val</span> set_current_rules : <a href="index.html#type-rules">rules</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Set the current rules discovered</p></dd></dl></div></body></html>