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
5.9 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>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.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 type" id="type-file_t"><a href="#type-file_t" class="anchor"></a><code><span class="keyword">type</span> <span>'payload file_t</span></code><code> = </code><code>{</code><table class="record"><tr id="type-file_t.source_file" class="anchored"><td class="def field"><a href="#type-file_t.source_file" class="anchor"></a><code>source_file : <a href="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a>;</code></td><td class="doc"><p>the source file under analysis</p></td></tr><tr id="type-file_t.procedures" class="anchored"><td class="def field"><a href="#type-file_t.procedures" class="anchor"></a><code>procedures : <span><a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> list</span>;</code></td><td class="doc"><p>list of procedures declared in the source file</p></td></tr><tr id="type-file_t.file_exe_env" class="anchored"><td class="def field"><a href="#type-file_t.file_exe_env" class="anchor"></a><code>file_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-file_t.analyze_file_dependency" class="anchored"><td class="def field"><a href="#type-file_t.analyze_file_dependency" class="anchor"></a><code>analyze_file_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 dependencies needed for the file analysis, e.g. the proc names in <code>procedures</code></p></td></tr></table><code>}</code></dt><dd><p>Analysis data for the analysis of a source file.</p></dd></dl><dl><dt class="spec value" id="val-bind_payload"><a href="#val-bind_payload" class="anchor"></a><code><span class="keyword">val</span> bind_payload : <span>f:<span>(<span class="type-var">'payload1</span> <span>&#45;&gt;</span> <span><span class="type-var">'payload2</span> option</span>)</span></span> <span>&#45;&gt;</span> <span><span class="type-var">'payload1</span> <a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'payload2</span> <a href="index.html#type-t">t</a></span></code></dt></dl></div></body></html>