diff options
Diffstat (limited to 'miasm2/core/graph.py')
| -rw-r--r-- | miasm2/core/graph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miasm2/core/graph.py b/miasm2/core/graph.py index b0dc70d6..00c30d62 100644 --- a/miasm2/core/graph.py +++ b/miasm2/core/graph.py @@ -338,9 +338,9 @@ shape = "box" if runner not in idoms: continue while runner != idoms[node]: - if node not in frontier: - frontier[node] = set() + if runner not in frontier: + frontier[runner] = set() - frontier[node].add(runner) + frontier[runner].add(node) runner = idoms[runner] return frontier |