<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IR__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>» IR__Attributes</nav><h1>Module <code>IR__Attributes</code></h1><p>Module to manage the table of attributes.</p></header><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="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> option</span></span><span>-></span><ahref="../IR/ProcAttributes/index.html#type-t">IR.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="../IR/Procname/index.html#type-t">IR.Procname.t</a><span>-></span><span><ahref="../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><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="../IR/Procname/index.html#type-t">IR.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>