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.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__CallGraph (infer.InferModules__CallGraph)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><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> » InferModules__CallGraph</nav><h1>Module <code>InferModules__CallGraph</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-type" id="module-type-NodeSig"><a href="#module-type-NodeSig" class="anchor"></a><code><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-NodeSig/index.html">NodeSig</a> = <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Node"><a href="#module-Node" class="anchor"></a><code><span class="keyword">module</span> <a href="Node/index.html">Node</a> : <a href="index.html#module-type-NodeSig">NodeSig</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></dt></dl><dl><dt class="spec value" id="val-reset"><a href="#val-reset" class="anchor"></a><code><span class="keyword">val</span> reset : <a href="index.html#type-t">t</a> <span>-></span> unit</code></dt><dd><p>empty the graph and shrink it to its initial size</p></dd></dl><dl><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val</span> create : int <span>-></span> <a href="index.html#type-t">t</a></code></dt><dd><p><code>create n</code> makes an empty graph with initial capacity <code>n</code> which grows as required</p></dd></dl><dl><dt class="spec value" id="val-n_procs"><a href="#val-n_procs" class="anchor"></a><code><span class="keyword">val</span> n_procs : <a href="index.html#type-t">t</a> <span>-></span> int</code></dt><dd><p>number of procedures in graph</p></dd></dl><dl><dt class="spec value" id="val-mem"><a href="#val-mem" class="anchor"></a><code><span class="keyword">val</span> mem : <a href="index.html#type-t">t</a> <span>-></span> int <span>-></span> bool</code></dt><dd><p>is an int <code>id</code> the index of a node in the graph?</p></dd></dl><dl><dt class="spec value" id="val-flag_reachable"><a href="#val-flag_reachable" class="anchor"></a><code><span class="keyword">val</span> flag_reachable : <a href="index.html#type-t">t</a> <span>-></span> <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>-></span> unit</code></dt><dd><p>flag all nodes reachable from the node of the given procname, if it exists</p></dd></dl><dl><dt class="spec value" id="val-get_unflagged_leaves"><a href="#val-get_unflagged_leaves" class="anchor"></a><code><span class="keyword">val</span> get_unflagged_leaves : <a href="index.html#type-t">t</a> <span>-></span> <span><a href="Node/index.html#type-t">Node.t</a> list</span></code></dt><dd><p>get all leaves that have their flag set to false</p></dd></dl><dl><dt class="spec value" id="val-remove_reachable"><a href="#val-remove_reachable" class="anchor"></a><code><span class="keyword">val</span> remove_reachable : <a href="index.html#type-t">t</a> <span>-></span> <a href="../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>-></span> unit</code></dt><dd><p>remove all nodes reachable from procname</p></dd></dl><dl><dt class="spec value" id="val-to_dotty"><a href="#val-to_dotty" class="anchor"></a><code><span class="keyword">val</span> to_dotty : <a href="index.html#type-t">t</a> <span>-></span> string <span>-></span> unit</code></dt><dd><p>output call graph in
|