diff options
| author | Camille Mougey <commial@gmail.com> | 2017-02-13 16:24:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-13 16:24:19 +0100 |
| commit | 90e170f45e342d03875e95b86afb038cb25ad2c1 (patch) | |
| tree | f26149c559b32c700a8d7fb7c2a74693229d9f58 /test/arch/x86/arch.py | |
| parent | 827c6cb8e1cdcc6e501c319353f89615b9cc09c9 (diff) | |
| parent | a7c9a7f769094d0af3b7a98bdb7319bcb3921e11 (diff) | |
| download | miasm-90e170f45e342d03875e95b86afb038cb25ad2c1.tar.gz miasm-90e170f45e342d03875e95b86afb038cb25ad2c1.zip | |
Merge pull request #493 from serpilliere/fix_asm_parsing
Fix asm parsing
Diffstat (limited to 'test/arch/x86/arch.py')
| -rw-r--r-- | test/arch/x86/arch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py index b0ea7cb4..83039368 100644 --- a/test/arch/x86/arch.py +++ b/test/arch/x86/arch.py @@ -1,7 +1,7 @@ import os import time import miasm2.expression.expression as m2_expr -from miasm2.arch.x86.arch import mn_x86, deref_mem_ad, parse_ast, ast_int2expr, \ +from miasm2.arch.x86.arch import mn_x86, deref_mem_ad, ParseAst, ast_int2expr, \ base_expr, rmarg, print_size from miasm2.arch.x86.sem import ir_x86_16, ir_x86_32, ir_x86_64 from miasm2.core.bin_stream import bin_stream_str @@ -34,7 +34,7 @@ def my_ast_id2expr(t): r = reg_and_id.get(t, m2_expr.ExprId(t, size=32)) return r -my_var_parser = parse_ast(my_ast_id2expr, ast_int2expr) +my_var_parser = ParseAst(my_ast_id2expr, ast_int2expr) base_expr.setParseAction(my_var_parser) for s in ['EAX', |