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.8 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>Summary (infer.Backend.Summary)</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; <a href="../index.html">Backend</a> &#x00BB; Summary</nav><h1>Module <code>Backend.Summary</code></h1></header><aside><p>Procedure summaries: the results of the capture and all the analysis for a single procedure, plus some statistics</p></aside><div class="spec module" id="module-Stats"><a href="#module-Stats" class="anchor"></a><code><span class="keyword">module</span> <a href="Stats/index.html">Stats</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Status"><a href="#module-Status" class="anchor"></a><code><span class="keyword">module</span> <a href="Status/index.html">Status</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.payloads" class="anchored"><td class="def field"><a href="#type-t.payloads" class="anchor"></a><code>payloads : <a href="../Payloads/index.html#type-t">Payloads.t</a>;</code></td></tr><tr id="type-t.sessions" class="anchored"><td class="def field"><a href="#type-t.sessions" class="anchor"></a><code><span class="keyword">mutable</span> sessions : int;</code></td><td class="doc"><p>Session number: how many nodes went through symbolic execution</p></td></tr><tr id="type-t.stats" class="anchored"><td class="def field"><a href="#type-t.stats" class="anchor"></a><code>stats : <a href="Stats/index.html#type-t">Stats.t</a>;</code></td></tr><tr id="type-t.status" class="anchored"><td class="def field"><a href="#type-t.status" class="anchor"></a><code>status : <a href="Status/index.html#type-t">Status.t</a>;</code></td></tr><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></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>Those are issues that are detected for this procedure after per-procedure analysis. In addition to that there can be errors detected after file-level analysis (next stage after per-procedure analysis). This latter category of errors should NOT be written here, use <code>IssueLog</code> and its serialization capabilities instead.</p></td></tr><tr id="type-t.callee_pnames" class="anchored"><td class="def field"><a href="#type-t.callee_pnames" class="anchor"></a><code><span class="keyword">mutable</span> callee_pnames : <a href="../../IR__Procname/index.html#module-Set">IR.Procname.Set</a>.t;</code></td></tr></table><code>}</code></dt><dd><p>summary of a procedure name</p></dd></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span class="keyword">val</span> yojson_of_t : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> Ppx_yojson_conv_lib.Yojson.Safe.t</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-get_proc_name"><a href="#val-get_proc_name" class="anchor"></a><code><span class="keyword">val</span> get_proc_name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../IR/Procname/index.html#type-t">IR.Procname.t</a></code></dt><dd><p>Get the procedure name</p></dd></dl><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="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a></code></dt><dt class="spec value" id="val-get_err_log"><a href="#val-get_err_log" class="anchor"></a><code><span class="keyword">val</span> get_err_log : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../Absint/Errlog/index.html#type-t">Absint.Errlog.t</a></code></dt><dt class="spec value" id="val-get_status"><a href="#val-get_status" class="anchor"></a><code><span class="keyword">val</span> get_status : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="Status/index.html#type-t">Status.t</a></code></dt><dd><p>Return the status (active v.s. inactive) of a procedure summary</p></dd></dl><dl><dt class="spec value" id="val-pp_html"><a href="#val-pp_html" class="anchor"></a><code><span class="keyword">val</span> pp_html : <a href="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Print the summary in html format</p></dd></dl><dl><dt class="spec value" id="val-pp_text"><a href="#val-pp_text" class="anchor"></a><code><span class="keyword">val</span> pp_text : Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Print the summary in text format</p></dd></dl><div class="spec module" id="module-OnDisk"><a href="#module-OnDisk" class="anchor"></a><code><span class="keyword">module</span> <a href="OnDisk/index.html">OnDisk</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div></div></body></html>