s"><code class="name flex">
<span>def <span class="ident">traverse_calls</span></span>(<span>functions, top)</span>
</code></dt>
<dd>
<div class="desc"><p>Traverse all calls made by a function and return a list of all traversed functions.</p>
<h2 id="args">Args</h2>
<dl>
<dt><strong><code>functions</code></strong> :&ensp;<code>list</code></dt>
<dd>List of Function objects.</dd>
<dt><strong><code>top</code></strong> :&ensp;<code><a title="stm8dce.asm_analysis.Function" href="#stm8dce.asm_analysis.Function">F