From 0c528bb0386f11571241f7fa30ef5a5160e09d3d Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Tue, 7 Aug 2018 22:40:30 +0200 Subject: SSA: fix tipo --- miasm2/analysis/ssa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miasm2') 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) -- cgit 1.4.1