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.8 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>PulseArithmetic (infer.Pulselib.PulseArithmetic)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.2"/><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">Pulselib</a> &#x00BB; PulseArithmetic</nav><h1>Module <code>Pulselib.PulseArithmetic</code></h1></header><div class="spec module" id="module-AbductiveDomain"><a href="#module-AbductiveDomain" class="anchor"></a><code><span class="keyword">module</span> AbductiveDomain = <a href="../index.html#module-PulseAbductiveDomain">PulseAbductiveDomain</a></code></div><aside><p>Wrapper around <code>PathCondition</code> that operates on <a href="../PulseAbductiveDomain/index.html#type-t"><code>AbductiveDomain.t</code></a>.</p></aside><dl><dt class="spec value" id="val-and_nonnegative"><a href="#val-and_nonnegative" class="anchor"></a><code><span class="keyword">val</span> and_nonnegative : <a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a> <span>&#45;&gt;</span> <a href="../PulseAbductiveDomain/index.html#type-t">AbductiveDomain.t</a> <span>&#45;&gt;</span> <a href="../PulseAbductiveDomain/index.html#type-t">AbductiveDomain.t</a></code></dt><dt class="spec value" id="val-and_positive"><a href="#val-and_positive" class="anchor"></a><code><span class="keyword">val</span> and_positive : <a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a> <span>&#45;&gt;</span> <a href="../PulseAbductiveDomain/index.html#type-t">AbductiveDomain.t</a> <span>&#45;&gt;</span> <a href="../PulseAbductiveDomain/index.html#type-t">AbductiveDomain.t</a></code></dt><dt class="spec value" id="val-and_eq_int"><a href="#val-and_eq_int" class="anchor"></a><code><span class="keyword">val</span> and_eq_int : <a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a> <span>&#45;&gt;</span> <a href="../../IR/IntLit/index.html#type-t">IR.IntLit.t</a> <span>&#45;&gt;</span> <a href="../PulseAbductiveDomain/index.html#type-t">AbductiveDomain.t</a> <span>&#45;&gt;</span> <a href="../PulseAbductiveDomain/index.html#type-t">AbductiveDomain.t</a></code></dt></dl><dl><dt class="spec type" id="type-operand"><a href="#type-operand" class="anchor"></a><code><span class="keyword">type</span> operand</code><code> = <a href="../PulsePathCondition/index.html#type-operand">PulseBasicInterface.PathCondition.operand</a></code><code> = </code><table class="variant"><tr id="type-operand.LiteralOperand" class="anchored"><td class="def constructor"><a href="#type-operand.LiteralOperand" class="anchor"></a><code>| </code><code><span class="constructor">LiteralOperand</span> <span class="keyword">of</span> <a href="../../IR/IntLit/index.html#type-t">IR.IntLit.t</a></code></td></tr><tr id="type-operand.AbstractValueOperand" class="anchored"><td class="def constructor"><a href="#type-operand.AbstractValueOperand" class="anchor"></a><code>| </code><code><span class="constructor">AbstractValueOperand</span> <span class="keyword">of</span> <a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a></code></td></tr></table></dt></dl><dl><dt class="spec value" id="val-eval_binop"><a href="#val-eval_binop" class="anchor"></a><code><span class="keyword">val</span> eval_binop : <a href="../PulseAbstractValue/index.html#type-t">PulseBasicInterface.AbstractValue.t</a> <span>&#45;&gt;</span> <a href="../../IR/Binop/index.html#type-t">IR.Binop.t</a> <span>&#45;&gt;</span> <a href="index.html#type-operand">operand</a> <span>&#45;&gt;</span> <a href="index.html#type-operand">operand</a> <span>&#45;&gt;</span> <a href="../PulseAbductiveDomain/index.html#type-t">AbductiveDomain.t</a> <span>&#45;&gt;</span> <a href="../PulseAbductiveDomai