diff options
| -rw-r--r-- | miasm2/ir/ir.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/miasm2/ir/ir.py b/miasm2/ir/ir.py index 3bf66ca5..04f964d6 100644 --- a/miasm2/ir/ir.py +++ b/miasm2/ir/ir.py @@ -423,13 +423,12 @@ class ir(object): return done - def _gen_graph(self, link_all = True): + def _gen_graph(self): """ Gen irbloc digraph - @link_all: also gen edges to non present irblocs """ self._graph = DiGraphIR(self.blocs) - for lbl, b in self.blocs.items(): + for lbl, b in self.blocs.iteritems(): self._graph.add_node(lbl) dst = self.dst_trackback(b) for d in dst: |