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>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Rearrange (infer.InferModules.Rearrange)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc %%VERSION%%"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">InferModules</a>» Rearrange</nav><h1>Module <code>InferModules.Rearrange</code></h1></header><aside><p>Re-arrangement and extension of structures with fresh variables</p></aside><dl><dtclass="spec exception"id="exception-ARRAY_ACCESS"><ahref="#exception-ARRAY_ACCESS"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">ARRAY_ACCESS</span></code></dt></dl><dl><dtclass="spec value"id="val-is_only_pt_by_fld_or_param_nonnull"><ahref="#val-is_only_pt_by_fld_or_param_nonnull"class="anchor"></a><code><spanclass="keyword">val</span> is_only_pt_by_fld_or_param_nonnull : <ahref="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a><span>-></span><ahref="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a><span>-></span><span><ahref="../Prop/index.html#type-normal">Prop.normal</a><ahref="../Prop/index.html#type-t">Prop.t</a></span><span>-></span><ahref="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-check_dereference_error"><ahref="#val-check_dereference_error"class="anchor"></a><code><spanclass="keyword">val</span> check_dereference_error : <ahref="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a><span>-></span><ahref="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a><span>-></span><span><ahref="../Prop/index.html#type-normal">Prop.normal</a><ahref="../Prop/index.html#type-t">Prop.t</a></span><span>-></span><ahref="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a><span>-></span><ahref="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a><span>-></span> unit</code></dt><dd><p>Check for dereference errors: dereferencing 0, a freed value, or an undefined value</p></dd></dl><dl><dtclass="spec value"id="val-check_call_to_objc_block_error"><ahref="#val-check_call_to_objc_block_error"class="anchor"></a><code><spanclass="keyword">val</span> check_call_to_objc_block_error : <ahref="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a><span>-></span><ahref="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a><span>-></span><span><ahref="../Prop/index.html#type-normal">Prop.normal</a><ahref="../Prop/index.html#type-t">Prop.t</a></span><span>-></span><ahref="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a><span>-></span><ahref="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a><span>-></span> unit</code></dt><dd><p>Check that an expression representing an objc block can be null and raise a <code>B1</code> null exception. It's used to check that we don't call possibly null blocks</p></dd></dl><dl><dtclass="spec value"id="val-rearrange"><ahref="#val-rearrange"class="anchor"></a><code><spanclass="keyword">val</span> rearrange : <span>?⁠report_deref_errors:bool</span><span>-></span><ahref="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a><span>-></span><ahref="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a><span>-></span><ahref="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a><span>-></span><ahref="../../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a><span>-></span><span><ahref="../Prop/index.html#type-normal">Prop.normal</a><ahref="../Prop/index.html#type-t">Prop.t</a></span><span>-></span><ahref="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a><span>-></span><span><span><span><ahref="../../../InferIR/InferIR/Sil/index.html#type-offset">InferIR.Sil.offset</a> list</span><ahref="../Prop/index.html#type-prop_iter">Prop.prop_iter</a></span> list</span></code></dt><dd><p><code>rearrange lexp prop</code> rearranges <code>prop</code> into the form <code>prop' * lexp|->strexp:typ</code>. It returns an iterator with <code>lexp |-> strexp: typ</code> as current predicate and the path (an <code>offsetlist</code>) which leads to <code>lexp</code> as the iterator state.</p></dd></dl></div></body></html>