about summary refs log tree commit diff stats
path: root/example/expression/simplification_tools.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/simplification_tools.py
parent092d0bfaac18ffe683a8ef3a1dedc5dba80e7688 (diff)
parent2420df074cd2f3bb8b1e343a5bce6b83fffa9d80 (diff)
downloadmiasm-e933c0c31742ddb9dcfd9b46d93fe2a47553af5e.tar.gz
miasm-e933c0c31742ddb9dcfd9b46d93fe2a47553af5e.zip
Merge pull request #683 from commial/refactor/remove-default-exprmem-size
Refactor/remove default exprmem size
Diffstat (limited to 'example/expression/simplification_tools.py')
-rw-r--r--example/expression/simplification_tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/expression/simplification_tools.py b/example/expression/simplification_tools.py
index 1fb95a80..7c15b3e7 100644
--- a/example/expression/simplification_tools.py
+++ b/example/expression/simplification_tools.py
@@ -13,7 +13,7 @@ c = ExprId('c', 32)
 d = ExprId('d', 32)
 e = ExprId('e', 32)
 
-m = ExprMem(a)
+m = ExprMem(a, 32)
 s = a[:8]
 
 i1 = ExprInt(0x1, 32)
@@ -28,7 +28,7 @@ l = [a[:8], b[:8], c[:8], m[:8], s, i1[:8], i2[:8], o[:8]]
 l2 = l[::-1]
 
 
-x = ExprMem(a + b + ExprInt(0x42, 32))
+x = ExprMem(a + b + ExprInt(0x42, 32), 32)
 
 
 def replace_expr(e):