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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Errdesc (infer.InferModules.Errdesc)</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; <a href="../index.html">InferModules</a> &#x00BB; Errdesc</nav><h1>Module <code>InferModules.Errdesc</code></h1></header><aside><p>Create descriptions of analysis errors</p></aside><dl><dt class="spec value" id="val-vpath_find"><a href="#val-vpath_find" class="anchor"></a><code><span class="keyword">val</span> vpath_find : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="../Prop/index.html#type-t">Prop.t</a></span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/DecompiledExp/index.html#type-vpath">InferIR.DecompiledExp.vpath</a> * <span><a href="../../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a> option</span></code></dt><dd><p>find the dexp, if any, where the given value is stored also return the type of the value if found</p></dd></dl><dl><dt class="spec value" id="val-hpred_is_open_resource"><a href="#val-hpred_is_open_resource" class="anchor"></a><code><span class="keyword">val</span> hpred_is_open_resource : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="../Prop/index.html#type-t">Prop.t</a></span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Sil/index.html#type-hpred">InferIR.Sil.hpred</a> <span>&#45;&gt;</span> <span><a href="../../../InferIR/InferIR/PredSymb/index.html#type-resource">InferIR.PredSymb.resource</a> option</span></code></dt><dd><p>Check whether the hpred is a |-&gt; representing a resource in the Racquire state</p></dd></dl><dl><dt class="spec value" id="val-find_normal_variable_funcall"><a href="#val-find_normal_variable_funcall" class="anchor"></a><code><span class="keyword">val</span> find_normal_variable_funcall : <a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Ident/index.html#type-t">InferIR.Ident.t</a> <span>&#45;&gt;</span> <span><span>(<a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> * <span><a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> list</span> * <a href="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a> * <a href="../../../InferIR/InferIR/CallFlags/index.html#type-t">InferIR.CallFlags.t</a>)</span> option</span></code></dt><dd><p>Find the function call instruction used to initialize normal variable <code>id</code>, and return the function name and arguments</p></dd></dl><dl><dt class="spec value" id="val-find_program_variable_assignment"><a href="#val-find_program_variable_assignment" class="anchor"></a><code><span class="keyword">val</span> find_program_variable_assignment : <a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Pvar/index.html#type-t">InferIR.Pvar.t</a> <span>&#45;&gt;</span> <span><span>(<a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a> * <a href="../../../InferIR/InferIR/Ident/index.html#type-t">InferIR.Ident.t</a>)</span> option</span></code></dt><dd><p>Find a program variable assignment in the current node or straightline predecessor.</p></dd></dl><dl><dt class="spec value" id="val-find_ident_assignment"><a href="#val-find_ident_assignment" class="anchor"></a><code><span class="keyword">val</span> fi