diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-08-07 22:40:30 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-08-07 22:40:30 +0200 |
| commit | 0c528bb0386f11571241f7fa30ef5a5160e09d3d (patch) | |
| tree | 23f1b141d7284265cf530cb01d89bad35104a554 /miasm2/analysis/ssa.py | |
| parent | e38b5dd91d10ad66d537675e4592f68eda9fcce2 (diff) | |
| download | miasm-0c528bb0386f11571241f7fa30ef5a5160e09d3d.tar.gz miasm-0c528bb0386f11571241f7fa30ef5a5160e09d3d.zip | |
SSA: fix tipo
Diffstat (limited to 'miasm2/analysis/ssa.py')
| -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) |