diff options
| author | Ajax <commial@gmail.com> | 2017-07-21 17:41:06 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2017-07-21 17:41:06 +0200 |
| commit | 5225523579a00e46776207b540bdba20412dca80 (patch) | |
| tree | 26fe2f04e1b0bff1fd890e3895f63e026e8c7c55 /miasm2/arch/x86/regs.py | |
| parent | 4dfca940e75ad8af65b69dd9bab9ff503141984b (diff) | |
| download | miasm-5225523579a00e46776207b540bdba20412dca80.tar.gz miasm-5225523579a00e46776207b540bdba20412dca80.zip | |
Complete attrib_to_regs with IP/EIP (was present in 64)
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/x86/regs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/x86/regs.py b/miasm2/arch/x86/regs.py index 7354457f..5db75e37 100644 --- a/miasm2/arch/x86/regs.py +++ b/miasm2/arch/x86/regs.py @@ -425,8 +425,8 @@ all_regs_ids_no_alias = [ ] + fltregs32_expr attrib_to_regs = { - 16: regs16_expr + all_regs_ids_no_alias[all_regs_ids_no_alias.index(zf):], - 32: regs32_expr + all_regs_ids_no_alias[all_regs_ids_no_alias.index(zf):], + 16: regs16_expr + all_regs_ids_no_alias[all_regs_ids_no_alias.index(zf):] + [IP], + 32: regs32_expr + all_regs_ids_no_alias[all_regs_ids_no_alias.index(zf):] + [EIP], 64: all_regs_ids_no_alias, } |