diff options
| author | Camille Mougey <commial@gmail.com> | 2017-10-19 08:38:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-19 08:38:15 +0200 |
| commit | 1e1b3282704700328d23a96d4da402715f554f9e (patch) | |
| tree | 70146292150bd31b09e9d5d8411887362614c1f8 /miasm2/core/graph.py | |
| parent | 3bdad0fb8c2d4d2603aad1c689f106aaabb54efb (diff) | |
| parent | 3419b0a920179e215c1e0ac33c958d4c428983c4 (diff) | |
| download | miasm-1e1b3282704700328d23a96d4da402715f554f9e.tar.gz miasm-1e1b3282704700328d23a96d4da402715f554f9e.zip | |
Merge pull request #628 from mrphrazer/fix_natural_loops
DiGraph: fixed node order in natural loop backedges
Diffstat (limited to 'miasm2/core/graph.py')
| -rw-r--r-- | miasm2/core/graph.py | 2 |
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): """ |