about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2020-12-20 15:37:01 +0100
committerGitHub <noreply@github.com>2020-12-20 15:37:01 +0100
commit745199e77104ef7a1e5879daae5e344de24165ca (patch)
tree7b9183fe07b9c3ae55671f7183b02f8b060cb4a9
parent92e5eed5e6794b702760f3ab028702dd582462b5 (diff)
parentcb091430de7b5c5b4f80da4f4737214b262a5410 (diff)
downloadmiasm-745199e77104ef7a1e5879daae5e344de24165ca.tar.gz
miasm-745199e77104ef7a1e5879daae5e344de24165ca.zip
Merge pull request #1321 from 327135569/fix_unresolve
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