about summary refs log tree commit diff stats
path: root/miasm2/core/graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/core/graph.py')
-rw-r--r--miasm2/core/graph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/graph.py b/miasm2/core/graph.py
index 0d129b3d..cd4da705 100644
--- a/miasm2/core/graph.py
+++ b/miasm2/core/graph.py
@@ -306,7 +306,7 @@ shape = "box"
         dominators = self.compute_dominators(head)
         idoms = {}
 
-        for n in dominators.keys():
+        for n in dominators:
             for p in self.reachable_parents(n):
                 if p in dominators[n] and n != p:
                     idoms[n] = p