diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-04-21 10:27:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-21 10:27:41 +0200 |
| commit | bdd6b06076aea4bf5bbbf7ad6a8dbf89092ae315 (patch) | |
| tree | 7070196a4cca1de6b7ad9569d207ce77cd2865ae /miasm2/arch/x86/regs.py | |
| parent | 4165a03aa7638c6266a0967a7763c0f239f19e38 (diff) | |
| parent | 598e65a66bc817ebf6009ae5c33a584bedced99e (diff) | |
| download | miasm-bdd6b06076aea4bf5bbbf7ad6a8dbf89092ae315.tar.gz miasm-bdd6b06076aea4bf5bbbf7ad6a8dbf89092ae315.zip | |
Merge pull request #518 from commial/feature/dse
Feature/dse
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/x86/regs.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/miasm2/arch/x86/regs.py b/miasm2/arch/x86/regs.py index 34585dae..7354457f 100644 --- a/miasm2/arch/x86/regs.py +++ b/miasm2/arch/x86/regs.py @@ -424,6 +424,12 @@ all_regs_ids_no_alias = [ exception_flags, interrupt_num, ] + 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):], + 64: all_regs_ids_no_alias, +} + all_regs_ids_byname = dict([(x.name, x) for x in all_regs_ids]) all_regs_ids_init = [ExprId("%s_init" % x.name, x.size) for x in all_regs_ids] |