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.6 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ondemand (infer.InferModules.Ondemand)</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; Ondemand</nav><h1>Module <code>InferModules.Ondemand</code></h1></header><aside><p>Module for on-demand analysis.</p></aside><dl><dt class="spec value" id="val-get_proc_desc"><a href="#val-get_proc_desc" class="anchor"></a><code><span class="keyword">val</span> get_proc_desc : <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <span><a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> option</span></code></dt><dd><p>Find a proc desc for the procedure, perhaps loading it from disk.</p></dd></dl><dl><dt class="spec value" id="val-analyze_proc_desc"><a href="#val-analyze_proc_desc" class="anchor"></a><code><span class="keyword">val</span> analyze_proc_desc : <span>caller_summary:<a href="../Summary/index.html#type-t">Summary.t</a></span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span>&#45;&gt;</span> <span><a href="../Summary/index.html#type-t">Summary.t</a> option</span></code></dt><dd><p><code>analyze_proc_desc ~caller_summary callee_pdesc</code> performs an on-demand analysis of callee_pdesc triggered during the analysis of caller_summary</p></dd></dl><dl><dt class="spec value" id="val-analyze_proc_name"><a href="#val-analyze_proc_name" class="anchor"></a><code><span class="keyword">val</span> analyze_proc_name : <span>caller_summary:<a href="../Summary/index.html#type-t">Summary.t</a></span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <span><a href="../Summary/index.html#type-t">Summary.t</a> option</span></code></dt><dd><p><code>analyze_proc_name ~caller_summary callee_pname</code> performs an on-demand analysis of callee_pname triggered during the analysis of caller_summary</p></dd></dl><dl><dt class="spec value" id="val-analyze_proc_name_no_caller"><a href="#val-analyze_proc_name_no_caller" class="anchor"></a><code><span class="keyword">val</span> analyze_proc_name_no_caller : <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> <span><a href="../Summary/index.html#type-t">Summary.t</a> option</span></code></dt><dd><p><code>analyze_proc_name_no_caller callee_pname</code> performs an on-demand analysis of callee_pname triggered by the top-level of a cluster checker</p></dd></dl><dl><dt class="spec value" id="val-set_exe_env"><a href="#val-set_exe_env" class="anchor"></a><code><span class="keyword">val</span> set_exe_env : <a href="../Exe_env/index.html#type-t">Exe_env.t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Set the execution enviroment used during on-demand analysis.</p></dd></dl><div class="spec module" id="module-LocalCache"><a href="#module-LocalCache" class="anchor"></a><code><span class="keyword">module</span> <a href="LocalCache/index.html">LocalCache</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec value" id="val-analyze_file"><a href="#val-analyze_file" class="anchor"></a><code><span class="keyword">val</span> analyze_file : <a href="../Exe_env/index.html#type-t">Exe_env.t</a> <span>&#45;&gt;</span> <a href="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Invoke all the callbacks registered in <a href="../Callbacks/index.html"><code>Callbacks</code></a> on the given file.</p></dd></