about summary refs log tree commit diff stats
diff options
context:
space:
mode:
author327135569 <pengchang@live.cn>2020-12-06 23:12:23 +0800
committer327135569 <pengchang@live.cn>2020-12-06 23:12:23 +0800
commitcb091430de7b5c5b4f80da4f4737214b262a5410 (patch)
treeeac7ef8f963e24f8d0168f336859aacb78237225
parent34438feab8834e93deb57b51bd66a172be6e8135 (diff)
downloadmiasm-cb091430de7b5c5b4f80da4f4737214b262a5410.tar.gz
miasm-cb091430de7b5c5b4f80da4f4737214b262a5410.zip
fix unresolve
-rw-r--r--miasm/arch/x86/arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/x86/arch.py b/miasm/arch/x86/arch.py
index 2dd01ae3..e0580bc0 100644
--- a/miasm/arch/x86/arch.py
+++ b/miasm/arch/x86/arch.py
@@ -1698,7 +1698,7 @@ def exprfindmod(e, o=None):
         if e.op == '+':
             for a in e.args:
                 r = exprfindmod(a, o)
-                if out and r1:
+                if out and r:
                     raise ValueError('multiple displacement!')
                 out = r
             return out