diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-04-05 16:27:54 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-04-15 14:38:37 +0200 |
| commit | f08e0eb8a0794ac4f9cb6241d923fa4c9d9132bd (patch) | |
| tree | d4a56690b8d4ad5733d22a6318dd2769261cd873 | |
| parent | 26a551b57b7d8dd7e9a9245eef5dee1d16864c47 (diff) | |
| download | miasm-f08e0eb8a0794ac4f9cb6241d923fa4c9d9132bd.tar.gz miasm-f08e0eb8a0794ac4f9cb6241d923fa4c9d9132bd.zip | |
Asmblock: fix graph merge tipo
| -rw-r--r-- | miasm2/ir/ir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/ir.py b/miasm2/ir/ir.py index 64eb3463..3e928873 100644 --- a/miasm2/ir/ir.py +++ b/miasm2/ir/ir.py @@ -844,7 +844,7 @@ class IntermediateRepresentation(object): self.graph.add_uniq_edge(lbl, dst_label) modified = True if dst.src1 == dst.src2: - dst = src1 + dst = dst.src1 else: continue new_parent = parent.set_dst(dst) |