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
2.9 KiB
4 lines
2.9 KiB
5 years ago
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>AbstractInterpreterTests (infer.InferModules.AbstractInterpreterTests)</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> — <span class="package">package <a href="../../index.html">infer</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferModules.AbstractInterpreterTests</span></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><div class="def module"><code><span class="keyword">module </span>F = Format</code></div><div class="doc"></div></div><p>Test the generic abstract interpreter by using a simple path counting domain. Path counting is
|
||
|
actually a decent stress test--if you join too much/too little, you'll over/under-count, and
|
||
|
you'll diverge at loops if you don't widen</p><div class="spec module" id="module-PathCountDomain"><a href="#module-PathCountDomain" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="PathCountDomain/index.html">PathCountDomain</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-PathCountTransferFunctions"><a href="#module-PathCountTransferFunctions" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="PathCountTransferFunctions/index.html">PathCountTransferFunctions</a> : <span class="keyword">functor</span> (<a href="PathCountTransferFunctions/argument-1-CFG/index.html">CFG</a> : <a href="../ProcCfg/index.html#module-type-S">ProcCfg.S</a>) -> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-NormalTestInterpreter"><a href="#module-NormalTestInterpreter" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="NormalTestInterpreter/index.html">NormalTestInterpreter</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec module" id="module-ExceptionalTestInterpreter"><a href="#module-ExceptionalTestInterpreter" class="anchor"></a><div class="def module"><code><span class="keyword">module </span><a href="ExceptionalTestInterpreter/index.html">ExceptionalTestInterpreter</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="doc"></div></div><div class="spec val" id="val-tests"><a href="#val-tests" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>tests : OUnit2.test</code></div><div class="doc"></div></div></body></html>
|