about summary refs log tree commit diff stats
path: root/example/expression/expr_reduce.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-02-15 14:16:08 +0100
committerAjax <commial@gmail.com>2018-02-15 15:45:24 +0100
commit2420df074cd2f3bb8b1e343a5bce6b83fffa9d80 (patch)
treeb97a1b5d0dbd6b686b12a0f01e32df5e63b07725 /example/expression/expr_reduce.py
parente71a3def7f936f5738d6988755d853601e84d184 (diff)
downloadmiasm-2420df074cd2f3bb8b1e343a5bce6b83fffa9d80.tar.gz
miasm-2420df074cd2f3bb8b1e343a5bce6b83fffa9d80.zip
Remove the default size of ExprMem expressions
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: