about summary refs log tree commit diff stats
path: root/example/expression/expr_reduce.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2018-02-15 23:28:36 +0100
committerGitHub <noreply@github.com>2018-02-15 23:28:36 +0100
commite933c0c31742ddb9dcfd9b46d93fe2a47553af5e (patch)
treea5b6ac1d9f3ecf6378d2ae33661b0433f5736dc6 /example/expression/expr_reduce.py
parent092d0bfaac18ffe683a8ef3a1dedc5dba80e7688 (diff)
parent2420df074cd2f3bb8b1e343a5bce6b83fffa9d80 (diff)
downloadfocaccia-miasm-e933c0c31742ddb9dcfd9b46d93fe2a47553af5e.tar.gz
focaccia-miasm-e933c0c31742ddb9dcfd9b46d93fe2a47553af5e.zip
Merge pull request #683 from commial/refactor/remove-default-exprmem-size
Refactor/remove default exprmem size
Diffstat (limited to 'example/expression/expr_reduce.py')
-rw-r--r--example/expression/expr_reduce.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/expression/expr_reduce.py b/example/expression/expr_reduce.py
index 7c6e0c4c..0f575e57 100644
--- a/example/expression/expr_reduce.py
+++ b/example/expression/expr_reduce.py
@@ -81,8 +81,8 @@ def test():
         (ptr, StructLookup.FIELD_A_PTR),
         (ptr + int4, StructLookup.FIELD_A_PTR),
         (ptr + int4 * int4, StructLookup.FIELD_A_PTR),
-        (ExprMem(ptr), StructLookup.FIELD_A),
-        (ExprMem(ptr + int4 * int4), StructLookup.FIELD_A),
+        (ExprMem(ptr, 32), StructLookup.FIELD_A),
+        (ExprMem(ptr + int4 * int4, 32), StructLookup.FIELD_A),
     ]
 
     for expr_in, result in tests: