diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-01-28 11:12:39 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-01-30 12:02:37 +0100 |
| commit | 679d947cf1b11ee58393efe5a01ff70641dbe3a0 (patch) | |
| tree | 423fdb4e6694ef316a2c4b5a7197d790734c8b34 /miasm2/core/cpu.py | |
| parent | 0b9038965f128d36b3ba20c8848f7f185200bc39 (diff) | |
| download | miasm-679d947cf1b11ee58393efe5a01ff70641dbe3a0.tar.gz miasm-679d947cf1b11ee58393efe5a01ff70641dbe3a0.zip | |
Sem/x86: fix call fromstring
Diffstat (limited to 'miasm2/core/cpu.py')
| -rw-r--r-- | miasm2/core/cpu.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py index d304108d..8195f920 100644 --- a/miasm2/core/cpu.py +++ b/miasm2/core/cpu.py @@ -262,7 +262,8 @@ def extract_ast_core(v, my_id2expr, my_int2expr): size = sizes.pop() my_int2expr = lambda x: m2_expr.ExprInt(x, size) else: - raise ValueError('multiple sizes in ids') + # Multiple sizes in ids + raise StopIteration e = ast_raw2expr(ast_tokens, my_id2expr, my_int2expr) return e |