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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IR__Inferconfig (infer.IR__Inferconfig)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><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__Inferconfig</nav><h1>Module <code>IR__Inferconfig</code></h1></header><dl><dt class="spec type" id="type-path_filter"><a href="#type-path_filter" class="anchor"></a><code><span class="keyword">type</span> path_filter</code><code> = <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>Filter type for a source file</p></dd></dl><dl><dt class="spec type" id="type-error_filter"><a href="#type-error_filter" class="anchor"></a><code><span class="keyword">type</span> error_filter</code><code> = <a href="../IBase/IssueType/index.html#type-t">IBase.IssueType.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>Filter type for an error name.</p></dd></dl><dl><dt class="spec type" id="type-proc_filter"><a href="#type-proc_filter" class="anchor"></a><code><span class="keyword">type</span> proc_filter</code><code> = <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>Filter type for a procedure name</p></dd></dl><dl><dt class="spec type" id="type-filters"><a href="#type-filters" class="anchor"></a><code><span class="keyword">type</span> filters</code><code> = </code><code>{</code><table class="record"><tr id="type-filters.path_filter" class="anchored"><td class="def field"><a href="#type-filters.path_filter" class="anchor"></a><code>path_filter : <a href="index.html#type-path_filter">path_filter</a>;</code></td></tr><tr id="type-filters.error_filter" class="anchored"><td class="def field"><a href="#type-filters.error_filter" class="anchor"></a><code>error_filter : <a href="index.html#type-error_filter">error_filter</a>;</code></td></tr><tr id="type-filters.proc_filter" class="anchored"><td class="def field"><a href="#type-filters.proc_filter" class="anchor"></a><code>proc_filter : <a href="index.html#type-proc_filter">proc_filter</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-create_filters"><a href="#val-create_filters" class="anchor"></a><code><span class="keyword">val</span> create_filters : unit <span>&#45;&gt;</span> <a href="index.html#type-filters">filters</a></code></dt><dd><p>Create filters based on the config file</p></dd></dl><dl><dt class="spec value" id="val-never_return_null_matcher"><a href="#val-never_return_null_matcher" class="anchor"></a><code><span class="keyword">val</span> never_return_null_matcher : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-skip_translation_matcher"><a href="#val-skip_translation_matcher" class="anchor"></a><code><span class="keyword">val</span> skip_translation_matcher : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-skip_implementation_matcher"><a href="#val-skip_implementation_matcher" class="anchor"></a><code><span class="keyword">val</span> skip_implementation_matcher : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-modeled_expensive_matcher"><a href="#val-modeled_expensive_matcher" class="anchor"></a><code><span class="keyword">val</span> modeled_expensive_matcher : <span>(string <span>&#45;&gt;</span>