Regression test on big ExprInt

This commit is contained in:
Ajax
2016-12-14 18:08:31 +01:00
parent 952255aac5
commit 40fefe35dd
+4
View File
@@ -9,6 +9,10 @@ from miasm2.expression.expression_helper import *
assert(ExprInt64(-1) != ExprInt64(-2))
assert(ExprInt64(1) != ExprInt32(1))
# Expression size
big_cst = ExprInt(1, size=0x1000)
assert big_cst.size == 0x1000
# Possible values
#- Common constants
A = ExprId("A")