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
6.5 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>Biabduction__Abs (infer.Biabduction__Abs)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><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; Biabduction__Abs</nav><h1>Module <code>Biabduction__Abs</code></h1></header><aside><p>Implementation of Abstraction Functions</p></aside><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 : <span><a href="../Biabduction/BiabductionSummary/index.html#type-t">Biabduction.BiabductionSummary.t</a> <a href="../Absint/InterproceduralAnalysis/index.html#type-t">Absint.InterproceduralAnalysis.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span></code></dt><dd><p>Abstract a proposition.</p></dd></dl><dl><dt class="spec value" id="val-abstract_spec"><a href="#val-abstract_spec" class="anchor"></a><code><span class="keyword">val</span> abstract_spec : <span><a href="../Biabduction/BiabductionSummary/index.html#type-t">Biabduction.BiabductionSummary.t</a> <a href="../Absint/InterproceduralAnalysis/index.html#type-t">Absint.InterproceduralAnalysis.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/BiabductionSummary/index.html#type-spec">Biabduction.BiabductionSummary.spec</a></span> <span>&#45;&gt;</span> <a href="../Biabduction/BiabductionSummary/NormSpec/index.html#type-t">Biabduction.BiabductionSummary.NormSpec.t</a></code></dt><dd><p>Normalizes names and applies simplifications, soem of which require looking at both pre and post.</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 : <span><a href="../Biabduction/BiabductionSummary/index.html#type-t">Biabduction.BiabductionSummary.t</a> <a href="../Absint/InterproceduralAnalysis/index.html#type-t">Absint.InterproceduralAnalysis.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/Prop/index.html#type-t">Biabduction.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 : <span><a href="../Biabduction/BiabductionSummary/index.html#type-t">Biabduction.BiabductionSummary.t</a> <a href="../Absint/InterproceduralAnalysis/index.html#type-t">Absint.InterproceduralAnalysis.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/Prop/index.html#type-t">Biabduction.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 : <span><a href="../Biabduction/BiabductionSummary/index.html#type-t">Biabduction.BiabductionSummary.t</a> <a href="../Absint/InterproceduralAnalysis/index.html#type-t">Absint.InterproceduralAnalysis.t</a></span> <span>&#45;&gt;</span> <a href="../Biabduction/Propset/index.html#type-t">Biabduction.Propset.t</a> <span>&#45;&gt;</span> <a href="../Biabduction/Propset/index.html#type-t">Biabduction.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 : <span><a href="../Biabduction/BiabductionSummary/index.html#type-t">Biabduction.BiabductionSummary.t</a> <a href="../Absint/InterproceduralAnalysis/index.html#type-t">Absint.InterproceduralAnalysis.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span> <span>&#45;&gt;</span> <span><a href="../Biabduction/Prop/index.html#type-normal">Biabduction.Prop.normal</a> <a href="../Biabduction/Prop/index.html#type-t">Biabduction.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>