<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Attributes (infer.IR.Attributes)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">IR</a>» Attributes</nav><h1>Module <code>IR.Attributes</code></h1></header><aside><p>Module to manage the table of attributes.</p></aside><dl><dtclass="spec type"id="type-attributes_kind"><ahref="#type-attributes_kind"class="anchor"></a><code><spanclass="keyword">type</span> attributes_kind</code></dt></dl><dl><dtclass="spec value"id="val-deserialize_attributes_kind"><ahref="#val-deserialize_attributes_kind"class="anchor"></a><code><spanclass="keyword">val</span> deserialize_attributes_kind : Sqlite3.Data.t <span>-></span><ahref="index.html#type-attributes_kind">attributes_kind</a></code></dt><dtclass="spec value"id="val-store"><ahref="#val-store"class="anchor"></a><code><spanclass="keyword">val</span> store : <span>proc_desc:<span><ahref="../Procdesc/index.html#type-t">Procdesc.t</a> option</span></span><span>-></span><ahref="../ProcAttributes/index.html#type-t">ProcAttributes.t</a><span>-></span> unit</code></dt><dd><p>Save .attr file for the procedure into the attributes database.</p></dd></dl><dl><dtclass="spec value"id="val-load"><ahref="#val-load"class="anchor"></a><code><spanclass="keyword">val</span> load : <ahref="../Procname/index.html#type-t">Procname.t</a><span>-></span><span><ahref="../ProcAttributes/index.html#type-t">ProcAttributes.t</a> option</span></code></dt><dd><p>Load the attributes for the procedure from the attributes database.</p></dd></dl><dl><dtclass="spec value"id="val-find_file_capturing_procedure"><ahref="#val-find_file_capturing_procedure"class="anchor"></a><code><spanclass="keyword">val</span> find_file_capturing_procedure : <ahref="../Procname/index.html#type-t">Procname.t</a><span>-></span><span><span>(<ahref="../../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><dtclass="spec value"id="val-pp_attributes_kind"><ahref="#val-pp_attributes_kind"class="anchor"></a><code><spanclass="keyword">val</span> pp_attributes_kind : Stdlib.Format.formatter <span>-></span><ahref="index.html#type-attributes_kind">attributes_kind</a><span>-></span> unit</code></dt></dl></div></body></html>