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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Absint__InterproceduralAnalysis (infer.Absint__InterproceduralAnalysis)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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; Absint__InterproceduralAnalysis</nav><h1>Module <code>Absint__InterproceduralAnalysis</code></h1></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> <span>'payload t</span></code><code> = </code><code>{</code><table class="record"><tr id="type-t.proc_desc" class="anchored"><td class="def field"><a href="#type-t.proc_desc" class="anchor"></a><code>proc_desc : <a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a>;</code></td><td class="doc"><p>the procedure to analyze</p></td></tr><tr id="type-t.tenv" class="anchored"><td class="def field"><a href="#type-t.tenv" class="anchor"></a><code>tenv : <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a>;</code></td><td class="doc"><p><span class="xref-unresolved" title="unresolved reference to &quot;Tenv.t&quot;"><code>Tenv</code>.t</span> corresponding to the current procedure</p></td></tr><tr id="type-t.err_log" class="anchored"><td class="def field"><a href="#type-t.err_log" class="anchor"></a><code>err_log : <a href="../Absint/Errlog/index.html#type-t">Absint.Errlog.t</a>;</code></td><td class="doc"><p>the issue log for the current procedure (internally a mutable data structure)</p></td></tr><tr id="type-t.exe_env" class="anchored"><td class="def field"><a href="#type-t.exe_env" class="anchor"></a><code>exe_env : <a href="../Absint/Exe_env/index.html#type-t">Absint.Exe_env.t</a>;</code></td><td class="doc"><p><span class="xref-unresolved" title="unresolved reference to &quot;Exe_env.t&quot;"><code>Exe_env</code>.t</span> for the current analysis</p></td></tr><tr id="type-t.analyze_dependency" class="anchored"><td class="def field"><a href="#type-t.analyze_dependency" class="anchor"></a><code>analyze_dependency : <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> <span><span>(<a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> * <span class="type-var">'payload</span>)</span> option</span>;</code></td><td class="doc"><p>On-demand analysis of callees or other dependencies of the analysis of the current procedure. Uses <code>Ondemand.analyze_procedure</code>.</p></td></tr><tr id="type-t.analyze_pdesc_dependency" class="anchored"><td class="def field"><a href="#type-t.analyze_pdesc_dependency" class="anchor"></a><code>analyze_pdesc_dependency : <a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> <span>&#45;&gt;</span> <span><span class="type-var">'payload</span> option</span>;</code></td><td class="doc"><p>same as above when we already know the <span class="xref-unresolved" title="unresolved reference to &quot;Procdesc.t&quot;"><code>Procdesc</code>.t</span></p></td></tr><tr id="type-t.update_stats" class="anchored"><td class="def field"><a href="#type-t.update_stats" class="anchor"></a><code>update_stats : <span>?&#8288;add_symops:int</span> <span>&#45;&gt;</span> <span>?&#8288;failure_kind:<a href="../IBase/SymOp/index.html#type-failure_kind">IBase.SymOp.failure_kind</a></span> <span>&#45;&gt;</span> unit <span>&#45;&gt;</span> unit;</code></td><td class="doc"><p>update the <code>Summary.Stats.t</code> of the summary of the current procedure</p></td></tr></table><code>}</code></dt><dd><p>Analysis data for interprocedural analysis. This is the data for one procedure under analysis, and callbacks to analyze dependencies of it as well as do bookkeeping regarding the current procedure. Basically anything that needs to access the <code>Summary.t</code> of the current procedure should go here.</p></dd></dl><dl><dt class="spec typ