From 80cfb30b725cf4d53dea151755a3328f18db68c3 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Fri, 31 Oct 2014 10:41:18 +0100 Subject: Expression: fix umod/udiv in expression simplification --- miasm2/expression/expression_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'miasm2/expression/expression_helper.py') diff --git a/miasm2/expression/expression_helper.py b/miasm2/expression/expression_helper.py index 92f46324..9c98b08f 100644 --- a/miasm2/expression/expression_helper.py +++ b/miasm2/expression/expression_helper.py @@ -128,7 +128,8 @@ def merge_sliceto_slice(args): op_propag_cst = ['+', '*', '^', '&', '|', '>>', - '<<', "a>>", ">>>", "<<<", "/", "%", 'idiv', 'imod'] + '<<', "a>>", ">>>", "<<<", + "/", "%", 'idiv', 'imod', 'umod', 'udiv'] def is_pure_int(e): -- cgit 1.4.1