diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2015-07-10 19:52:43 +0200 |
|---|---|---|
| committer | serpilliere <fabrice.desclaux@cea.fr> | 2015-07-10 19:52:43 +0200 |
| commit | cd94fc882dcf9fe9e926be9da531f46094e23a18 (patch) | |
| tree | a12077c88bb6ceedea85b29d1e4e92fb257fa5b4 /miasm2/arch/x86/arch.py | |
| parent | 35852d91259bcac6f15c5db4edf2ccf50f00f444 (diff) | |
| download | miasm-cd94fc882dcf9fe9e926be9da531f46094e23a18.tar.gz miasm-cd94fc882dcf9fe9e926be9da531f46094e23a18.zip | |
x86: avoid load effective reg
Diffstat (limited to 'miasm2/arch/x86/arch.py')
| -rw-r--r-- | miasm2/arch/x86/arch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py index f168d9cb..33fd428f 100644 --- a/miasm2/arch/x86/arch.py +++ b/miasm2/arch/x86/arch.py @@ -791,7 +791,7 @@ class mn_x86(cls_mn): m = a.expr a.expr = ExprMem( ExprOp('segm', enc2segm[self.g2.value], m.arg), m.size) - if self.name == 'LEA': + if self.name in ['LEA', 'LDS', 'LES', 'LFS', 'LGS', 'LSS']: if not isinstance(self.args[1].expr, ExprMem): return None return self |