mirror of
https://github.com/cea-sec/miasm
synced 2026-06-21 13:48:18 +00:00
Regression test on big ExprInt
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user