From c4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Thu, 29 Oct 2015 10:35:32 +0100 Subject: Expression: fix api --- miasm2/core/parse_asm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miasm2/core/parse_asm.py') diff --git a/miasm2/core/parse_asm.py b/miasm2/core/parse_asm.py index 3a5751ac..1df8e85b 100644 --- a/miasm2/core/parse_asm.py +++ b/miasm2/core/parse_asm.py @@ -134,7 +134,7 @@ def parse_txt(mnemo, attrib, txt, symbol_pool=None, gen_label_index=0): base_expr = gen_base_expr()[2] my_var_parser = parse_ast(lambda x: m2_expr.ExprId(x, size), lambda x: - m2_expr.ExprInt_fromsize(size, x)) + m2_expr.ExprInt(x, size)) base_expr.setParseAction(my_var_parser) for b in data_raw: -- cgit 1.4.1