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

This file contains ambiguous Unicode characters!

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>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Pulselib__PulseAttribute (infer.Pulselib__PulseAttribute)</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; Pulselib__PulseAttribute</nav><h1>Module <code>Pulselib__PulseAttribute</code></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><code><span class="keyword">module</span> F = Stdlib.Format</code></div><div class="spec module" id="module-Invalidation"><a href="#module-Invalidation" class="anchor"></a><code><span class="keyword">module</span> Invalidation = <a href="../Pulselib/index.html#module-PulseInvalidation">Pulselib.PulseInvalidation</a></code></div><div class="spec module" id="module-Trace"><a href="#module-Trace" class="anchor"></a><code><span class="keyword">module</span> Trace = <a href="../Pulselib/index.html#module-PulseTrace">Pulselib.PulseTrace</a></code></div><div class="spec module" id="module-ValueHistory"><a href="#module-ValueHistory" class="anchor"></a><code><span class="keyword">module</span> ValueHistory = <a href="../Pulselib/index.html#module-PulseValueHistory">Pulselib.PulseValueHistory</a></code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><table class="variant"><tr id="type-t.AddressOfCppTemporary" class="anchored"><td class="def constructor"><a href="#type-t.AddressOfCppTemporary" class="anchor"></a><code>| </code><code><span class="constructor">AddressOfCppTemporary</span> <span class="keyword">of</span> <a href="../IR/Var/index.html#type-t">IR.Var.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">ValueHistory.t</a></code></td></tr><tr id="type-t.AddressOfStackVariable" class="anchored"><td class="def constructor"><a href="#type-t.AddressOfStackVariable" class="anchor"></a><code>| </code><code><span class="constructor">AddressOfStackVariable</span> <span class="keyword">of</span> <a href="../IR/Var/index.html#type-t">IR.Var.t</a> * <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> * <a href="../Pulselib/PulseValueHistory/index.html#type-t">ValueHistory.t</a></code></td></tr><tr id="type-t.Allocated" class="anchored"><td class="def constructor"><a href="#type-t.Allocated" class="anchor"></a><code>| </code><code><span class="constructor">Allocated</span> <span class="keyword">of</span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a> * <a href="../Pulselib/PulseTrace/index.html#type-t">Trace.t</a></code></td><td class="doc"><p>the <span class="xref-unresolved" title="unresolved reference to &quot;Procname.t&quot;"><code>Procname</code>.t</span> is the function causing the allocation, eg <code>malloc</code></p></td></tr><tr id="type-t.Closure" class="anchored"><td class="def constructor"><a href="#type-t.Closure" class="anchor"></a><code>| </code><code><span class="constructor">Closure</span> <span class="keyword">of</span> <a href="../IR/Procname/index.html#type-t">IR.Procname.t</a></code></td></tr><tr id="type-t.DynamicType" class="anchored"><td class="def constructor"><a href="#type-t.DynamicType" class="anchor"></a><code>| </code><code><span class="constructor">DynamicType</span> <span class="keyword">of</span> <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a></code></td></tr><tr id="type-t.EndOfCollection" class="anchored"><td class="def constructor"><a href="#type-t.EndOfCollection" class="anchor"></a><code>| </code><code><span class="constructor">EndOfCollection</span></code></td></tr><tr id="type-t.Invalid" class="anchored"><td class="def constructor"><a href="#type-t.Invalid" class="anchor"></a><code>| </code><code><span class="constructor">Invalid</span> <span class="keyword">of</span> <a href="../Pulselib/PulseInvalidation/index.html#type-t">Invalidation.t</a> * <a href="../Pulselib/PulseTrace/index.html#type-t">Trace.t</a></code></td></tr><tr id="type-t.ISLAbduced" class="anchored"><td class="def constructor"><a href="#type-t.ISLAbduced" class="anchor"></a><code>| </code><code><span class="constructor">ISLAbduced</span> <span class="keyword">of</span> <a href="../Pulselib/PulseTrace/index.html#type-t">Trace.t</a></code></td><td class="doc"><p>The allocation is abduced so as the analysis could run normally</p></td></tr><tr id="type-t.MustBeInitialized" class="anchored"><td class="def constructor"><a href="#type-t.MustBeInitialized" class="anchor"></a><code>| </code><code><span class="constructor">MustBeInitialized</span> <span class="keyword">of</span> <a href="../Pulselib/PulseTrace/index.html#type-t">Trace.t</a></code></td></tr><tr id="type-t.MustBeValid" class="anchored"><td class="def constructor"><a href="#type-t.MustBeValid" class="anchor"></a><code>| </code><code><span class="constructor">MustBeValid</span> <span class="keyword">of</span> <a href="../Pulselib/PulseTrace/index.html#type-t">Trace.t</a></code></td></tr><tr id="type-t.StdVectorReserve" class="anchored"><td class="def constructor"><a href="#type-t.StdVectorReserve" class="anchor"></a><code>| </code><code><span class="constructor">StdVectorReserve</span></code></td></tr><tr id="type-t.Uninitialized" class="anchored"><td class="def constructor"><a href="#type-t.Uninitialized" class="anchor"></a><code>| </code><code><span class="constructor">Uninitialized</span></code></td></tr><tr id="type-t.WrittenTo" class="anchored"><td class="def constructor"><a href="#type-t.WrittenTo" class="anchor"></a><code>| </code><code><span class="constructor">WrittenTo</span> <span class="keyword">of</span> <a href="../Pulselib/PulseTrace/index.html#type-t">Trace.t</a></code></td></tr></table></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val</span> compare : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt></dl></div></div></div><dl><dt class="spec value" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val</span> pp : <a href="index.html#module-F">F</a>.formatter <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-is_suitable_for_pre"><a href="#val-is_suitable_for_pre" class="anchor"></a><code><span class="keyword">val</span> is_suitable_for_pre : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_suitable_for_post"><a href="#val-is_suitable_for_post" class="anchor"></a><code><span class="keyword">val</span> is_suitable_for_post : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-map_trace"><a href="#val-map_trace" class="anchor"></a><code><span class="keyword">val</span> map_trace : <span>f:<span>(<a href="../Pulselib/PulseTrace/index.html#type-t">Trace.t</a> <span>&#45;&gt;</span> <a href="../Pulselib/PulseTrace/index.html#type-t">Trace.t</a>)</span></span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>applies <code>f</code> to the traces found in attributes, leaving attributes without traces intact</p></dd></dl><div class="spec module" id="module-Attributes"><a href="#module-Attributes" class="anchor"></a><code><span class="keyword">module</span> <a href="Attributes/index.html">Attributes</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div></div></body></html>