about summary refs log tree commit diff stats
path: root/test/analysis/data_flow.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 /test/analysis/data_flow.py
parente71a3def7f936f5738d6988755d853601e84d184 (diff)
downloadmiasm-2420df074cd2f3bb8b1e343a5bce6b83fffa9d80.tar.gz
miasm-2420df074cd2f3bb8b1e343a5bce6b83fffa9d80.zip
Remove the default size of ExprMem expressions
Diffstat (limited to 'test/analysis/data_flow.py')
-rw-r--r--test/analysis/data_flow.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/analysis/data_flow.py b/test/analysis/data_flow.py
index dff88470..d0a85e13 100644
--- a/test/analysis/data_flow.py
+++ b/test/analysis/data_flow.py
@@ -553,7 +553,7 @@ G17_IRB0 = gen_irblock(LBL0, [[ExprAff(a, a*b),
                                ExprAff(b, a),
                                ExprAff(c, b)],
 
-                              [ExprAff(ExprMem(d+CST1), a),
+                              [ExprAff(ExprMem(d+CST1, 32), a),
                                ExprAff(a, b),
                                ExprAff(b, c),
                                ExprAff(c, CST1)],
@@ -562,7 +562,7 @@ G17_IRB0 = gen_irblock(LBL0, [[ExprAff(a, a*b),
                                ExprAff(b, a),
                                ExprAff(c, b)],
 
-                              [ExprAff(ExprMem(d+CST2), a),
+                              [ExprAff(ExprMem(d+CST2, 32), a),
                                ExprAff(a, b),
                                ExprAff(b, c),
                                ExprAff(c, CST1)],
@@ -593,7 +593,7 @@ G17_IRB0 = gen_irblock(LBL0, [[ExprAff(a, a*b),
                                ExprAff(b, a),
                                ExprAff(c, b)],
 
-                              [ExprAff(ExprMem(d), a+b+c)],
+                              [ExprAff(ExprMem(d, 32), a+b+c)],
 
                          ])
 
@@ -610,11 +610,11 @@ G17_EXP_IRB0 = gen_irblock(LBL0, [[],
 
                                   [ExprAff(a, CST1)],
 
-                                  [ExprAff(ExprMem(d+CST1), a)],
+                                  [ExprAff(ExprMem(d+CST1, 32), a)],
 
                                   [ExprAff(a, CST1)],
 
-                                  [ExprAff(ExprMem(d+CST2), a)],
+                                  [ExprAff(ExprMem(d+CST2, 32), a)],
 
                                   [ExprAff(a, CST2)],