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.

4 lines
4.9 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__Ondemand (infer.InferModules__Ondemand)</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__Ondemand</span></h1></header><p>Module for on-demand analysis.</p><div class="spec type" id="type-analyze_ondemand"><a href="#type-analyze_ondemand" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>analyze_ondemand</code><code><span class="keyword"> = </span><a href="../InferModules/Summary/index.html#type-t">InferModules.Summary.t</a> <span class="keyword">&#8209;&gt;</span> <a href="../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span class="keyword">&#8209;&gt;</span> <a href="../InferModules/Summary/index.html#type-t">InferModules.Summary.t</a></code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-get_proc_desc"><a href="#type-get_proc_desc" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>get_proc_desc</code><code><span class="keyword"> = </span><a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span class="keyword">&#8209;&gt;</span> <a href="../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> option</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-callbacks"><a href="#type-callbacks" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>callbacks</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-callbacks.analyze_ondemand" class="anchored"><td class="def field"><a href="#type-callbacks.analyze_ondemand" class="anchor"></a><code>analyze_ondemand : <a href="index.html#type-analyze_ondemand">analyze_ondemand</a>;</code></td></tr><tr id="type-callbacks.get_proc_desc" class="anchored"><td class="def field"><a href="#type-callbacks.get_proc_desc" class="anchor"></a><code>get_proc_desc : <a href="index.html#type-get_proc_desc">get_proc_desc</a>;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-get_proc_desc"><a href="#val-get_proc_desc" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>get_proc_desc : <a href="index.html#type-get_proc_desc">get_proc_desc</a></code></div><div class="doc"><p>Find a proc desc for the procedure, perhaps loading it from disk.</p></div></div><div class="spec val" id="val-analyze_proc_desc"><a href="#val-analyze_proc_desc" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>analyze_proc_desc : caller_pdesc:<a href="../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span class="keyword">&#8209;&gt;</span> <a href="../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span class="keyword">&#8209;&gt;</span> <a href="../InferModules/Summary/index.html#type-t">InferModules.Summary.t</a> option</code></div><div class="doc"><p><code class="code">analyze_proc_desc ~caller_pdesc callee_pdesc</code> performs an on-demand analysis of callee_pdesc
triggered during the analysis of caller_pdesc</p></div></div><div class="spec val" id="val-analyze_proc_name"><a href="#val-analyze_proc_name" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>analyze_proc_name : ?&#8288;caller_pdesc:<a href="../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span class="keyword">&#8209;&gt;</span> <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span class="keyword">&#8209;&gt;</span> <a href="../InferModules/Summary/index.html#type-t">InferModules.Summary.t</a> option</code></div><div class="doc"><p><code class="code">analyze_proc_name ~caller_pdesc proc_name</code> performs an on-demand analysis of proc_name
triggered during the analysis of caller_pdesc</p></div></div><div class="spec val" id="val-set_callbacks"><a href="#val-set_callbacks" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>set_callbacks : <a href="index.html#type-callbacks">callbacks</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Set the callbacks used to perform on-demand analysis.</p></div></div><div class="spec val" id="val-unset_callbacks"><a href="#val-unset_callbacks" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>unset_callbacks : unit <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Unset the callbacks used to perform on-demand analysis.</p></div></div></body></html>