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.7 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>Inferconfig (infer.InferModules.Inferconfig)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><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">InferModules</a> &#x00BB; Inferconfig</nav><h1>Module <code>InferModules.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="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.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="../../../InferBase/InferBase/IssueType/index.html#type-t">InferBase.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="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.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="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.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="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.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="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.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> bool)</span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-test"><a href="#val-test" class="anchor"></a><code><span class="keyword">val</span> test : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>Load the config file and list the files to report on</p></dd></dl></div></body></html>