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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IR__Attributes (infer.IR__Attributes)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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; IR__Attributes</nav><h1>Module <code>IR__Attributes</code></h1><p>Module to manage the table of attributes.</p></header><dl><dt class="spec type" id="type-attributes_kind"><a href="#type-attributes_kind" class="anchor"></a><code><span class="keyword">type</span> attributes_kind</code></dt></dl><dl><dt class="spec value" id="val-deserialize_attributes_kind"><a href="#val-deserialize_attributes_kind" class="anchor"></a><code><span class="keyword">val</span> deserialize_attributes_kind : Sqlite3.Data.t <span>&#45;&gt;</span> <a href="index.html#type-attributes_kind">attributes_kind</a></code></dt><dt class="spec value" id="val-store"><a href="#val-store" class="anchor"></a><code><span class="keyword">val</span> store : <span>proc_desc:<span><a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> option</span></span> <span>&#45;&gt;</span> <a href="../IR/ProcAttributes/index.html#type-t">IR.ProcAttributes.t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Save .attr file for the procedure into the attributes database.</p></dd></dl><dl><dt class="spec value" id="val-load"><a href="#val-load" class="anchor"></a><code><span class="keyword">val</span> load : <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> <span><a href="../IR/ProcAttributes/index.html#type-t">IR.ProcAttributes.t</a> option</span></code></dt><dd><p>Load the attributes for the procedure from the attributes database.</p></dd></dl><dl><dt class="spec value" id="val-find_file_capturing_procedure"><a href="#val-find_file_capturing_procedure" class="anchor"></a><code><span class="keyword">val</span> find_file_capturing_procedure : <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> <span><span>(<a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> * <span>[ `Include <span>| `Source</span> ]</span>)</span> option</span></code></dt><dd><p>Find the file where the procedure was captured, if a cfg for that file exists. Return also a boolean indicating whether the procedure is defined in an include file.</p></dd></dl><dl><dt class="spec value" id="val-pp_attributes_kind"><a href="#val-pp_attributes_kind" class="anchor"></a><code><span class="keyword">val</span> pp_attributes_kind : Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-attributes_kind">attributes_kind</a> <span>&#45;&gt;</span> unit</code></dt></dl></div></body></html>