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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Nullsafe__EradicateChecks (infer.Nullsafe__EradicateChecks)</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; Nullsafe__EradicateChecks</nav><h1>Module <code>Nullsafe__EradicateChecks</code></h1></header><aside><p>Module for the checks called by Eradicate.</p></aside><div class="spec module" id="module-L"><a href="#module-L" class="anchor"></a><code><span class="keyword">module</span> L = <a href="../IBase/index.html#module-Logging">IBase.Logging</a></code></div><dl><dt class="spec value" id="val-explain_expr"><a href="#val-explain_expr" class="anchor"></a><code><span class="keyword">val</span> explain_expr : <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>&#45;&gt;</span> <span>string option</span></code></dt><dt class="spec value" id="val-is_virtual"><a href="#val-is_virtual" class="anchor"></a><code><span class="keyword">val</span> is_virtual : <span><a href="../Nullsafe/AnnotatedSignature/index.html#type-param_signature">Nullsafe.AnnotatedSignature.param_signature</a> list</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-check_object_dereference"><a href="#val-check_object_dereference" class="anchor"></a><code><span class="keyword">val</span> check_object_dereference : <a href="../Absint/IntraproceduralAnalysis/index.html#type-t">Absint.IntraproceduralAnalysis.t</a> <span>&#45;&gt;</span> <span>nullsafe_mode:<a href="../Nullsafe/NullsafeMode/index.html#type-t">Nullsafe.NullsafeMode.t</a></span> <span>&#45;&gt;</span> <span>(<a href="../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a>)</span> <span>&#45;&gt;</span> <a href="../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../Nullsafe/TypeErr/InstrRef/index.html#type-t">Nullsafe.TypeErr.InstrRef.t</a> <span>&#45;&gt;</span> <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>&#45;&gt;</span> <a href="../Nullsafe/DereferenceRule/ReportableViolation/index.html#type-dereference_type">Nullsafe.DereferenceRule.ReportableViolation.dereference_type</a> <span>&#45;&gt;</span> <a href="../Nullsafe/InferredNullability/index.html#type-t">Nullsafe.InferredNullability.t</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-check_condition_for_redundancy"><a href="#val-check_condition_for_redundancy" class="anchor"></a><code><span class="keyword">val</span> check_condition_for_redundancy : <a href="../Absint/IntraproceduralAnalysis/index.html#type-t">Absint.IntraproceduralAnalysis.t</a> <span>&#45;&gt;</span> <span>is_always_true:bool</span> <span>&#45;&gt;</span> <span>(<a href="../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a>)</span> <span>&#45;&gt;</span> <a href="../IR/Procdesc/Node/index.html#type-t">IR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <span>nullsafe_mode:<a href="../Nullsafe/NullsafeMode/index.html#type-t">Nullsafe.NullsafeMode.t</a></span> <span>&#45;&gt;</span> <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>&#45;&gt;</span> <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a> <span>&#45;&gt;</span> <a href="../Nullsafe/InferredNullability/index.html#type-t">Nullsafe.InferredNullability.t</a> <span>&#45;&gt;</span> <a href="../Nullsafe/IDEnv/index.html#type-t">Nullsafe.IDEnv.t</a> <