diff options
| author | Camille Mougey <commial@gmail.com> | 2018-08-07 23:07:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-07 23:07:40 +0200 |
| commit | 67ea70bcd394a6812d4fa1209ce08ab0f899e6b7 (patch) | |
| tree | 062f9e46710f742d9a6b17d740b6b82fb0b0436b | |
| parent | 2c6f5240455e1d198bcead7d292e7270b19a12ad (diff) | |
| parent | 0c528bb0386f11571241f7fa30ef5a5160e09d3d (diff) | |
| download | miasm-67ea70bcd394a6812d4fa1209ce08ab0f899e6b7.tar.gz miasm-67ea70bcd394a6812d4fa1209ce08ab0f899e6b7.zip | |
Merge pull request #818 from serpilliere/fix_un_ssa
SSA: fix tipo
Diffstat (limited to '')
| -rw-r--r-- | miasm2/analysis/ssa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/analysis/ssa.py b/miasm2/analysis/ssa.py index 2f25e4b8..a8a50351 100644 --- a/miasm2/analysis/ssa.py +++ b/miasm2/analysis/ssa.py @@ -656,7 +656,7 @@ def remove_phi(ssa, head): # Place var init for non ssa variables to_remove = set() for phi_source in list(phi_sources): - if phi_source not in all_ssa_vars.union(phivar2var): + if phi_source not in all_ssa_vars.union(phivar2var.values()): assignblk_dct = get_assignblk(ssa.graph, head, 0) assignblk_dct[new_var] = phi_source new_irblock = set_assignblk(ssa.graph, head, 0, assignblk_dct) |