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

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden 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>Pulselib__PulseOperations (infer.Pulselib__PulseOperations)</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; Pulselib__PulseOperations</nav><h1>Module <code>Pulselib__PulseOperations</code></h1></header><dl><dt class="spec module" id="module-Import"><a href="#module-Import" class="anchor"></a><code><span class="keyword">module</span> <a href="Import/index.html">Import</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>For <code>open</code>ing in other modules.</p></dd></dl><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">module</span> <span class="keyword">type</span> <span class="keyword">of</span> <a href="index.html#module-Import">Import</a></code></span></summary><dl><dt class="spec type" id="type-access_mode"><a href="#type-access_mode" class="anchor"></a><code><span class="keyword">type</span> access_mode</code><code> = </code><table class="variant"><tr id="type-access_mode.Read" class="anchored"><td class="def constructor"><a href="#type-access_mode.Read" class="anchor"></a><code>| </code><code><span class="constructor">Read</span></code></td></tr><tr id="type-access_mode.Write" class="anchored"><td class="def constructor"><a href="#type-access_mode.Write" class="anchor"></a><code>| </code><code><span class="constructor">Write</span></code></td></tr><tr id="type-access_mode.NoAccess" class="anchored"><td class="def constructor"><a href="#type-access_mode.NoAccess" class="anchor"></a><code>| </code><code><span class="constructor">NoAccess</span></code></td><td class="doc"><p>The initialized-ness of the address is not checked when it evaluates a heap address without actual memory access, for example, when evaluating <code>&amp;x.f</code> we need to check initialized-ness of <code>x</code>, not that of <code>x.f</code>.</p></td></tr></table></dt></dl><section><header><h3 id="imported-types-for-ease-of-use-and-so-we-can-write-variants-without-the-corresponding-module-prefix"><a href="#imported-types-for-ease-of-use-and-so-we-can-write-variants-without-the-corresponding-module-prefix" class="anchor"></a>Imported types for ease of use and so we can write variants without the corresponding module prefix</h3></header><dl><dt class="spec type" id="type-base_t"><a href="#type-base_t" class="anchor"></a><code><span class="keyword">type</span> <span>'abductive_domain_t base_t</span></code><code> = <span><span class="type-var">'abductive_domain_t</span> <a href="../Pulselib/PulseExecutionDomain/index.html#type-base_t">Pulselib.PulseDomainInterface.ExecutionDomain.base_t</a></span></code><code> = </code><table class="variant"><tr id="type-base_t.ContinueProgram" class="anchored"><td class="def constructor"><a href="#type-base_t.ContinueProgram" class="anchor"></a><code>| </code><code><span class="constructor">ContinueProgram</span> <span class="keyword">of</span> <span class="type-var">'abductive_domain_t</span></code></td></tr><tr id="type-base_t.ExitProgram" class="anchored"><td class="def constructor"><a href="#type-base_t.ExitProgram" class="anchor"></a><code>| </code><code><span class="constructor">ExitProgram</span> <span class="keyword">of</span> <a href="../Pulselib/PulseAbductiveDomain/index.html#type-summary">Pulselib.PulseDomainInterface.AbductiveDomain.summary</a></code></td></tr><tr id="type-base_t.AbortProgram" class="anchored"><td class="def constructor"><a href="#type-base_t.AbortProgram" class="anchor"></a><code>| </code><code><span class="constructor">AbortProgram</span> <span class="keyword">of</span> <a href="../Pulselib/PulseAbductiveDomain/index.html#type-summary">Pulselib.PulseDomainInterface.AbductiveDomain.summary</a></code></td></tr><tr id="type-base_t.LatentAbortProgram" class="anchored"><td class="def constructor"><a href="#type-base_t.LatentAbortProgram" class="anchor"></a><code>| </code><code><span class="constructor">LatentAbortProgram</span> <span class="keyword">of</span> </code><code>{</code><table class="record"><tr id="type-base_t.astate" class="anchored"><td class="def field"><a href="#type-base_t.astate" class="anchor"></a><code>astate : <a href="../Pulselib/PulseAbductiveDomain/index.html#type-summary">Pulselib.PulseDomainInterface.AbductiveDomain.summary</a>;</code></td></tr><tr id="type-base_t.latent_issue" class="anchored"><td class="def field"><a href="#type-base_t.latent_issue" class="anchor"></a><code>latent_issue : <a href="../Pulselib/PulseLatentIssue/index.html#type-t">Pulselib.PulseDomainInterface.LatentIssue.t</a>;</code></td></tr></table><code>}</code></td></tr><tr id="type-base_t.ISLLatentMemoryError" class="anchored"><td class="def constructor"><a href="#type-base_t.ISLLatentMemoryError" class="anchor"></a><code>| </code><code><span class="constructor">ISLLatentMemoryError</span> <span class="keyword">of</span> <span class="type-var">'abductive_domain_t</span></code></td></tr></table></dt><dt class="spec type" id="type-access_result"><a href="#type-access_result" class="anchor"></a><code><span class="keyword">type</span> <span>'a access_result</span></code><code> = <span><span class="type-var">'a</span> <a href="../Pulselib/PulseReport/index.html#type-access_result">Pulselib.PulseReport.access_result</a></span></code></dt></dl></section><section><header><h3 id="monadic-syntax"><a href="#monadic-syntax" class="anchor"></a>Monadic syntax</h3></header><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">module</span> <span class="keyword">type</span> <span class="keyword">of</span> <a href="../IStdlib/IResult/index.html#module-Let_syntax">IStdlib.IResult.Let_syntax</a></code></span></summary><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">module</span> <span class="keyword">type</span> <span class="keyword">of</span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Result.Monad_infix</code></span></summary><dl><dt class="spec value" id="val-(&gt;&gt;=)"><a href="#val-(&gt;&gt;=)" class="anchor"></a><code><span class="keyword">val</span> (&gt;&gt;=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'e</span>)</span> Core_kernel__Result.t</span> <span>&#45;&gt;</span> <span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'b</span>, <span class="type-var">'e</span>)</span> Core_kernel__Result.t</span>)</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'b</span>, <span class="type-var">'e</span>)</span> Core_kernel__Result.t</span></code></dt><dt class="spec value" id="val-(&gt;&gt;|)"><a href="#val-(&gt;&gt;|)" class="anchor"></a><code><span class="keyword">val</span> (&gt;&gt;|) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'e</span>)</span> Core_kernel__Result.t</span> <span>&#45;&gt;</span> <span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="type-var">'b</span>)</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'b</span>, <span class="type-var">'e</span>)</span> Core_kernel__Result.t</span></code></dt></dl></details></div></div></div><dl><dt class="spec value" id="val-let+"><a href="#val-let+" class="anchor"></a><code><span class="keyword">val</span> let+ : <span><span>(<span class="type-var">'ok</span>, <span class="type-var">'err</span>)</span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.result</span> <span>&#45;&gt;</span> <span>(<span class="type-var">'ok</span> <span>&#45;&gt;</span> <span class="type-var">'okk</span>)</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'okk</span>, <span class="type-var">'err</span>)</span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.result</span></code></dt><dt class="spec value" id="val-let*"><a href="#val-let*" class="anchor"></a><code><span class="keyword">val</span> let* : <span><span>(<span class="type-var">'ok</span>, <span class="type-var">'err</span>)</span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.result</span> <span>&#45;&gt;</span> <span>(<span class="type-var">'ok</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'okk</span>, <span class="type-var">'err</span>)</span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.result</span>)</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'okk</span>, <span class="type-var">'err</span>)</span> <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.result</span></code></dt></dl></details></div></div></div><dl><dt class="spec value" id="val-let&lt;*&gt;"><a href="#val-let&lt;*&gt;" class="anchor"></a><code><span class="keyword">val</span> let&lt;*&gt; : <span><span class="type-var">'a</span> <a href="index.html#type-access_result">access_result</a></span> <span>&#45;&gt;</span> <span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span><span class="type-var">'b</span> <a href="index.html#type-access_result">access_result</a></span> list</span>)</span> <span>&#45;&gt;</span> <span><span><span class="type-var">'b</span> <a href="index.html#type-access_result">access_result</a></span> list</span></code></dt><dd><p>monadic &quot;bind&quot; but not really that turns an <code>access_result</code> into a list of <code>access_result</code>s (not really because the first type is not an <code>access_result list</code> but just an <code>access_result</code>)</p></dd></dl><dl><dt class="spec value" id="val-let&lt;+&gt;"><a href="#val-let&lt;+&gt;" class="anchor"></a><code><span class="keyword">val</span> let&lt;+&gt; : <span><span class="type-var">'a</span> <a href="index.html#type-access_result">access_result</a></span> <span>&#45;&gt;</span> <span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="type-var">'abductive_domain_t</span>)</span> <span>&#45;&gt;</span> <span><span><span><span class="type-var">'abductive_domain_t</span> <a href="index.html#type-base_t">base_t</a></span> <a href="index.html#type-access_result">access_result</a></span> list</span></code></dt><dd><p>monadic &quot;map&quot; but even less really that turns an <code>access_result</code> into an analysis result</p></dd></dl></section></details></div></div></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> = <a href="../Pulselib/PulseAbductiveDomain/index.html#type-t">Pulselib.PulseDomainInterface.AbductiveDomain.t</a></code></dt></dl><dl><dt class="spec value" id="val-check_addr_access"><a href="#val-check_addr_access" class="anchor"></a><code><span class="keyword">val</span> check_addr_access : <a href="index.html#type-access_mode">access_mode</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.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="index.html#type-access_result">access_result</a></span></code></dt><dd><p>Check that the <code>address</code> is not known to be invalid</p></dd></dl><div class="spec module" id="module-Closures"><a href="#module-Closures" class="anchor"></a><code><span class="keyword">module</span> <a href="Closures/index.html">Closures</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec value" id="val-eval"><a href="#val-eval" class="anchor"></a><code><span class="keyword">val</span> eval : <a href="index.html#type-access_mode">access_mode</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-t">t</a> * <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span>)</span> <a href="index.html#type-access_result">access_result</a></span></code></dt><dd><p>Use the stack and heap to evaluate the given expression down to an abstract address representing its value.</p><p>Return an error state if it traverses some known invalid address or if the end destination is known to be invalid.</p></dd></dl><dl><dt class="spec value" id="val-eval_structure_isl"><a href="#val-eval_structure_isl" class="anchor"></a><code><span class="keyword">val</span> eval_structure_isl : <a href="index.html#type-access_mode">access_mode</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span>(bool * <span><span>(<a href="index.html#type-t">t</a> * <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span>)</span> list</span>)</span> <a href="index.html#type-access_result">access_result</a></span></code></dt><dd><p>Similar to eval but apply to data structures and ISL abduction. Return a list of abduced states (ISLOk and ISLErs); The boolean indicates whether it is data structures or not.</p></dd></dl><dl><dt class="spec value" id="val-prune"><a href="#val-prune" class="anchor"></a><code><span class="keyword">val</span> prune : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>condition:<a href="../IR/Exp/index.html#type-t">IR.Exp.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="index.html#type-access_result">access_result</a></span></code></dt><dt class="spec value" id="val-eval_deref"><a href="#val-eval_deref" class="anchor"></a><code><span class="keyword">val</span> eval_deref : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-t">t</a> * <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span>)</span> <a href="index.html#type-access_result">access_result</a></span></code></dt><dd><p>Like <code>eval</code> but evaluates <code>*exp</code>.</p></dd></dl><dl><dt class="spec value" id="val-eval_deref_isl"><a href="#val-eval_deref_isl" class="anchor"></a><code><span class="keyword">val</span> eval_deref_isl : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span><span>(<a href="index.html#type-t">t</a> * <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span>)</span> list</span> <a href="index.html#type-access_result">access_result</a></span></code></dt><dt class="spec value" id="val-eval_access"><a href="#val-eval_access" class="anchor"></a><code><span class="keyword">val</span> eval_access : <a href="index.html#type-access_mode">access_mode</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> <span>&#45;&gt;</span> <a href="../Pulselib__PulseBaseMemory/index.html#module-Access">Pulselib.PulseDomainInterface.BaseMemory.Access</a>.t <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-t">t</a> * <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span>)</span> <a href="index.html#type-access_result">access_result</a></span></code></dt><dd><p>Like <code>eval</code> but starts from an address instead of an expression, checks that it is valid, and if so dereferences it according to the access.</p></dd></dl><dl><dt class="spec value" id="val-havoc_id"><a href="#val-havoc_id" class="anchor"></a><code><span class="keyword">val</span> havoc_id : <a href="../IR/Ident/index.html#type-t">IR.Ident.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-havoc_field"><a href="#val-havoc_field" class="anchor"></a><code><span class="keyword">val</span> havoc_field : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> <span>&#45;&gt;</span> <a href="../IR/Fieldname/index.html#type-t">IR.Fieldname.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a> <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="index.html#type-access_result">access_result</a></span></code></dt><dt class="spec value" id="val-realloc_pvar"><a href="#val-realloc_pvar" class="anchor"></a><code><span class="keyword">val</span> realloc_pvar : <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../IR/Pvar/index.html#type-t">IR.Pvar.t</a> <span>&#45;&gt;</span> <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-write_id"><a href="#val-write_id" class="anchor"></a><code><span class="keyword">val</span> write_id : <a href="../IR/Ident/index.html#type-t">IR.Ident.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-write_field"><a href="#val-write_field" class="anchor"></a><code><span class="keyword">val</span> write_field : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>ref:<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span></span> <span>&#45;&gt;</span> <a href="../IR/Fieldname/index.html#type-t">IR.Fieldname.t</a> <span>&#45;&gt;</span> <span>obj:<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span></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="index.html#type-access_result">access_result</a></span></code></dt><dd><p>write the edge <code>ref --.field--&gt; obj</code></p></dd></dl><dl><dt class="spec value" id="val-write_arr_index"><a href="#val-write_arr_index" class="anchor"></a><code><span class="keyword">val</span> write_arr_index : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>ref:<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span></span> <span>&#45;&gt;</span> <span>index:<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a></span> <span>&#45;&gt;</span> <span>obj:<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span></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="index.html#type-access_result">access_result</a></span></code></dt><dd><p>write the edge <code>ref[index]--&gt; obj</code></p></dd></dl><dl><dt class="spec value" id="val-write_deref"><a href="#val-write_deref" class="anchor"></a><code><span class="keyword">val</span> write_deref : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>ref:<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span></span> <span>&#45;&gt;</span> <span>obj:<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span></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="index.html#type-access_result">access_result</a></span></code></dt><dd><p>write the edge <code>ref --*--&gt; obj</code></p></dd></dl><dl><dt class="spec value" id="val-write_deref_biad_isl"><a href="#val-write_deref_biad_isl" class="anchor"></a><code><span class="keyword">val</span> write_deref_biad_isl : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>ref:<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span></span> <span>&#45;&gt;</span> <span><a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> <a href="../Absint/HilExp/Access/index.html#type-t">Absint.HilExp.Access.t</a></span> <span>&#45;&gt;</span> <span>obj:<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span></span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span><a href="index.html#type-t">t</a> list</span> <a href="index.html#type-access_result">access_result</a></span></code></dt><dt class="spec value" id="val-invalidate"><a href="#val-invalidate" class="anchor"></a><code><span class="keyword">val</span> invalidate : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseInvalidation/index.html#type-t">Pulselib.PulseBasicInterface.Invalidation.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.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="index.html#type-access_result">access_result</a></span></code></dt><dd><p>record that the address is invalid</p></dd></dl><dl><dt class="spec value" id="val-invalidate_biad_isl"><a href="#val-invalidate_biad_isl" class="anchor"></a><code><span class="keyword">val</span> invalidate_biad_isl : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseInvalidation/index.html#type-t">Pulselib.PulseBasicInterface.Invalidation.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span><a href="index.html#type-t">t</a> list</span> <a href="index.html#type-access_result">access_result</a></span></code></dt><dd><p>record that the address is invalid. If the address has not been allocated, abduce ISL specs for both invalid (null, free, unint) and allocated heap.</p></dd></dl><dl><dt class="spec value" id="val-allocate"><a href="#val-allocate" class="anchor"></a><code><span class="keyword">val</span> allocate : <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-add_dynamic_type"><a href="#val-add_dynamic_type" class="anchor"></a><code><span class="keyword">val</span> add_dynamic_type : <a href="../IR/Typ/Name/index.html#type-t">IR.Typ.Name.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-remove_allocation_attr"><a href="#val-remove_allocation_attr" class="anchor"></a><code><span class="keyword">val</span> remove_allocation_attr : <a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-invalidate_access"><a href="#val-invalidate_access" class="anchor"></a><code><span class="keyword">val</span> invalidate_access : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseInvalidation/index.html#type-t">Pulselib.PulseBasicInterface.Invalidation.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> <span>&#45;&gt;</span> <a href="../Pulselib__PulseBaseMemory/index.html#module-Access">Pulselib.PulseDomainInterface.BaseMemory.Access</a>.t <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="index.html#type-access_result">access_result</a></span></code></dt><dd><p>record that what the address points via the access to is invalid</p></dd></dl><dl><dt class="spec value" id="val-invalidate_array_elements"><a href="#val-invalidate_array_elements" class="anchor"></a><code><span class="keyword">val</span> invalidate_array_elements : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseInvalidation/index.html#type-t">Pulselib.PulseBasicInterface.Invalidation.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.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="index.html#type-access_result">access_result</a></span></code></dt><dd><p>record that all the array elements that address points to is invalid</p></dd></dl><dl><dt class="spec value" id="val-shallow_copy"><a href="#val-shallow_copy" class="anchor"></a><code><span class="keyword">val</span> shallow_copy : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-t">t</a> * <span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span>)</span> <a href="index.html#type-access_result">access_result</a></span></code></dt><dd><p>returns the address of a new cell with the same edges as the original</p></dd></dl><dl><dt class="spec value" id="val-get_dynamic_type_unreachable_values"><a href="#val-get_dynamic_type_unreachable_values" class="anchor"></a><code><span class="keyword">val</span> get_dynamic_type_unreachable_values : <span><a href="../IR/Var/index.html#type-t">IR.Var.t</a> list</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span>(<a href="../IR/Var/index.html#type-t">IR.Var.t</a> * <a href="../IR/Typ/Name/index.html#type-t">IR.Typ.Name.t</a>)</span> list</span></code></dt><dd><p>Given a list of variables, computes the unreachable values if the variables were removed from the stack, then return the dynamic types of those values if they are available</p></dd></dl><dl><dt class="spec value" id="val-remove_vars"><a href="#val-remove_vars" class="anchor"></a><code><span class="keyword">val</span> remove_vars : <span><a href="../IR/Var/index.html#type-t">IR.Var.t</a> list</span> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <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="index.html#type-access_result">access_result</a></span></code></dt><dt class="spec value" id="val-check_address_escape"><a href="#val-check_address_escape" class="anchor"></a><code><span class="keyword">val</span> check_address_escape : <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a> <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="index.html#type-access_result">access_result</a></span></code></dt><dt class="spec value" id="val-call"><a href="#val-call" class="anchor"></a><code><span class="keyword">val</span> call : <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>&#45;&gt;</span> <span>caller_proc_desc:<a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a></span> <span>&#45;&gt;</span> <span>callee_data:<span><span>(<a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> * <a href="../Pulselib/PulseSummary/index.html#type-t">Pulselib.PulseSummary.t</a>)</span> option</span></span> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> <span>ret:<span>(<a href="../IR/Ident/index.html#type-t">IR.Ident.t</a> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span></span> <span>&#45;&gt;</span> <span>actuals:<span><span>(<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span></span> <span>&#45;&gt;</span> <span>formals_opt:<span><span><span>(<a href="../IR/Pvar/index.html#type-t">IR.Pvar.t</a> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span> option</span></span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span><a href="../Pulselib/PulseExecutionDomain/index.html#type-t">Pulselib.PulseDomainInterface.ExecutionDomain.t</a> <a href="index.html#type-access_result">access_result</a></span> list</span></code></dt><dd><p>perform an interprocedural call: apply the summary for the call proc name passed as argument if it exists</p></dd></dl><dl><dt class="spec value" id="val-unknown_call"><a href="#val-unknown_call" class="anchor"></a><code><span class="keyword">val</span> unknown_call : <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseCallEvent/index.html#type-t">Pulselib.PulseBasicInterface.CallEvent.t</a> <span>&#45;&gt;</span> <span>ret:<span>(<a href="../IR/Ident/index.html#type-t">IR.Ident.t</a> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span></span> <span>&#45;&gt;</span> <span>actuals:<span><span>(<span>(<a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">Pulselib.PulseBasicInterface.ValueHistory.t</a>)</span> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span></span> <span>&#45;&gt;</span> <span>formals_opt:<span><span><span>(<a href="../IR/Pvar/index.html#type-t">IR.Pvar.t</a> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span> option</span></span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>performs a call to a function with no summary by optimistically havoc'ing the by-ref actuals and the return value as appropriate</p></dd></dl><dl><dt class="spec value" id="val-conservatively_initialize_args"><a href="#val-conservatively_initialize_args" class="anchor"></a><code><span class="keyword">val</span> conservatively_initialize_args : <span><a href="../Pulselib/PulseAbstractValue/index.html#type-t">Pulselib.PulseBasicInterface.AbstractValue.t</a> list</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt></dl></div></body></html>