about summary refs log tree commit diff stats
path: root/test/expression/simplifications.py
diff options
context:
space:
mode:
authorPierre Lalet <pierre@droids-corp.org>2015-07-10 20:36:33 +0200
committerPierre Lalet <pierre@droids-corp.org>2015-07-10 20:36:33 +0200
commitcd7e115d6214cc6905a7f068897617de13cba54d (patch)
treeac6072b40022b68391f4edf52ecd226303205489 /test/expression/simplifications.py
parent35852d91259bcac6f15c5db4edf2ccf50f00f444 (diff)
parent372a5d904df18e3c7f12b126b4afcf52baf981fa (diff)
downloadmiasm-cd7e115d6214cc6905a7f068897617de13cba54d.tar.gz
miasm-cd7e115d6214cc6905a7f068897617de13cba54d.zip
Merge pull request #191 from serpilliere/expr_simp_slice
Expr simp slice
Diffstat (limited to 'test/expression/simplifications.py')
-rw-r--r--test/expression/simplifications.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py
index 2088fc7c..df7fdceb 100644
--- a/test/expression/simplifications.py
+++ b/test/expression/simplifications.py
@@ -254,6 +254,8 @@ to_test = [(ExprInt32(1) - ExprInt32(1), ExprInt32(0)),
                    ExprInt(uint32(0x1L)), 0, 32),
                   (ExprInt(uint32(0x0L)), 32, 64)))
        ),
+    (ExprCompose([(a[:16], 0, 16), (b[:16], 16, 32)])[8:32],
+     ExprCompose([(a[8:16], 0, 8), (b[:16], 8, 24)])),
 
 ]