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.

3 lines
8.6 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__Driver (infer.InferModules__Driver)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">infer</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferModules__Driver</span></h1></header><p>entry points for top-level functionalities such as capture under various build systems,
analysis, and reporting</p><div class="spec type" id="type-mode"><a href="#type-mode" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>mode</code><code></code><code><span class="keyword"> = </span></code><table class="variant"><tr id="type-mode.Analyze" class="anchored"><td class="def constructor"><a href="#type-mode.Analyze" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Analyze</span></code></td></tr><tr id="type-mode.BuckGenrule" class="anchored"><td class="def constructor"><a href="#type-mode.BuckGenrule" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BuckGenrule</span><span class="keyword"> of </span>string</code></td></tr><tr id="type-mode.BuckCompilationDB" class="anchored"><td class="def constructor"><a href="#type-mode.BuckCompilationDB" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">BuckCompilationDB</span><span class="keyword"> of </span>string<span class="keyword"> * </span>string list</code></td></tr><tr id="type-mode.Clang" class="anchored"><td class="def constructor"><a href="#type-mode.Clang" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Clang</span><span class="keyword"> of </span><a href="../InferModules/Clang/index.html#type-compiler">InferModules.Clang.compiler</a><span class="keyword"> * </span>string<span class="keyword"> * </span>string list</code></td></tr><tr id="type-mode.ClangCompilationDB" class="anchored"><td class="def constructor"><a href="#type-mode.ClangCompilationDB" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">ClangCompilationDB</span><span class="keyword"> of </span>[ `Escaped of string | `Raw of string ] list</code></td></tr><tr id="type-mode.Javac" class="anchored"><td class="def constructor"><a href="#type-mode.Javac" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Javac</span><span class="keyword"> of </span><a href="../InferModules/Javac/index.html#type-compiler">InferModules.Javac.compiler</a><span class="keyword"> * </span>string<span class="keyword"> * </span>string list</code></td></tr><tr id="type-mode.Maven" class="anchored"><td class="def constructor"><a href="#type-mode.Maven" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Maven</span><span class="keyword"> of </span>string<span class="keyword"> * </span>string list</code></td></tr><tr id="type-mode.Python" class="anchored"><td class="def constructor"><a href="#type-mode.Python" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Python</span><span class="keyword"> of </span>string list</code></td></tr><tr id="type-mode.PythonCapture" class="anchored"><td class="def constructor"><a href="#type-mode.PythonCapture" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">PythonCapture</span><span class="keyword"> of </span><a href="../../InferBase/InferBase/Config/index.html#type-build_system">InferBase.Config.build_system</a><span class="keyword"> * </span>string list</code></td></tr><tr id="type-mode.XcodeXcpretty" class="anchored"><td class="def constructor"><a href="#type-mode.XcodeXcpretty" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">XcodeXcpretty</span><span class="keyword"> of </span>string<span class="keyword"> * </span>string list</code></td></tr></table><code></code></div><div class="doc"><p>based on the build_system and options passed to infer, we run in different driver modes</p></div></div><div class="spec include"><div class="doc"></div><details open="open"><summary><span class="def"><code><span class="keyword">include </span><span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><div class="spec val" id="val-compare_mode"><a href="#val-compare_mode" class="anchor"></a><div class=