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 c64c7b72..b74717da 100644
--- a/miasm2/core/graph.py
+++ b/miasm2/core/graph.py
@@ -523,7 +523,7 @@ class DiGraph(object):
         """
         for a, b in self.compute_back_edges(head):
             body = self._compute_natural_loop_body(b, a)
-            yield ((b, a), body)
+            yield ((a, b), body)
 
     def compute_back_edges(self, head):
         """