diff options
| author | Ajax <commial@gmail.com> | 2015-12-07 11:24:36 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-12-07 11:24:36 +0100 |
| commit | aacc2b4f42beeb822e98febce065041d9ab41568 (patch) | |
| tree | e9f2dda0134ebd23919429b134d7b61f50fabec7 | |
| parent | c948315825b052967f39f53b12569779abb503a7 (diff) | |
| download | miasm-aacc2b4f42beeb822e98febce065041d9ab41568.tar.gz miasm-aacc2b4f42beeb822e98febce065041d9ab41568.zip | |
IR/gen_graph: `link_all` is never used
| -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: |