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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Biabduction__SymExecBlocks (infer.Biabduction__SymExecBlocks)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><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; Biabduction__SymExecBlocks</nav><h1>Module <code>Biabduction__SymExecBlocks</code></h1></header><dl><dt class="spec value" id="val-resolve_method_with_block_args_and_analyze"><a href="#val-resolve_method_with_block_args_and_analyze" class="anchor"></a><code><span class="keyword">val</span> resolve_method_with_block_args_and_analyze : <span><a href="../Biabduction/BiabductionSummary/index.html#type-t">Biabduction.BiabductionSummary.t</a> <a href="../Absint/InterproceduralAnalysis/index.html#type-t">Absint.InterproceduralAnalysis.t</a></span> <span>&#45;&gt;</span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> <span>&#45;&gt;</span> <span><span>(<a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span> <span>&#45;&gt;</span> <span><span>(<span>(<a href="../IR/Procdesc/index.html#type-t">IR.Procdesc.t</a> * <a href="../Biabduction/BiabductionSummary/index.html#type-t">Biabduction.BiabductionSummary.t</a>)</span> * <span><span>(<a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span> list</span>)</span> option</span></code></dt><dd><p><code>resolve_method_with_block_args_and_analyze caller_pdesc pname args</code> create a copy of the method pname if it is defined and it's called with the correct number of arguments, and some arguments are block closures. The copy is created by adding extra formals for each captured variable, and by swapping the calls to the block arguments to the calls to the concrete blocks. The new procedure is analyzed and the possibly computed summary is returned together with the list of arguments where the closures where swapped by their captured variables.</p></dd></dl></div></body></html>