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

This file contains ambiguous Unicode 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>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; <a href="../index.html">IR</a> &#x00BB; Attributes</nav><h1>Module <code>IR.Attributes</code></h1></header><aside><p>Module to manage the table of attributes.</p></aside><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="../Procdesc/index.html#type-t">Procdesc.t</a> option</span></span> <span>&#45;&gt;</span> <a href="../ProcAttributes/index.html#type-t">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="../Procname/index.html#type-t">Procname.t</a> <span>&#45;&gt;</span> <span><a href="../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><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="../Procname/index.html#type-t">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>