diff options
| author | serpilliere <devnull@localhost> | 2012-12-17 23:13:49 +0100 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2012-12-17 23:13:49 +0100 |
| commit | af6fa7df2eb990dea8b4ae153de8d7f72e50ff0d (patch) | |
| tree | d2ed47d8f5325092740770bd560e53f995c8e752 | |
| parent | 04356144a51fc007998f03aeca95e7d34b0db8a0 (diff) | |
| download | miasm-af6fa7df2eb990dea8b4ae153de8d7f72e50ff0d.tar.gz miasm-af6fa7df2eb990dea8b4ae153de8d7f72e50ff0d.zip | |
ia32_arch: fix call with segm (louis granboulan)
| -rw-r--r-- | miasm/arch/ia32_arch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/ia32_arch.py b/miasm/arch/ia32_arch.py index 67bb97ce..929db6eb 100644 --- a/miasm/arch/ia32_arch.py +++ b/miasm/arch/ia32_arch.py @@ -1782,7 +1782,7 @@ class x86_mn: return prefix, name, [] for a in args: - if x86_afs.segm in a: + if not isinstance(a, str) and x86_afs.segm in a: prefix.append(x86_afs.reg_sg.index(a[x86_afs.segm])) # special case ommiting 1 as argument |