about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/arch/x86/arch.py2
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