diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2019-11-20 08:10:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-20 08:10:33 +0100 |
| commit | 7c3b1b4c0ab94c9746b2239e4944e0f203ea8d03 (patch) | |
| tree | c8399763059810fe772c994f05590ba392e5382a /test/expression/simplifications.py | |
| parent | 614fd0ea05b6e7aa9004bc14a7038696e140bc77 (diff) | |
| parent | ac3a3e8a55c87e2da3b776d82e2b43687a8e3d3f (diff) | |
| download | miasm-7c3b1b4c0ab94c9746b2239e4944e0f203ea8d03.tar.gz miasm-7c3b1b4c0ab94c9746b2239e4944e0f203ea8d03.zip | |
Merge pull request #1096 from serpilliere/updt_asmblock_api
Updt asmblock api
Diffstat (limited to 'test/expression/simplifications.py')
| -rw-r--r-- | test/expression/simplifications.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py index e0b666da..de059075 100644 --- a/test/expression/simplifications.py +++ b/test/expression/simplifications.py @@ -515,6 +515,13 @@ to_test = [ ExprOp(TOK_EQUAL, a , i3) ), + + ( + ExprOp(TOK_EQUAL, ExprOp("^", a, b, i2), i1), + ExprOp(TOK_EQUAL, a^b , i3) + ), + + (ExprOp(TOK_INF_SIGNED, i1, i2), ExprInt(1, 1)), (ExprOp(TOK_INF_UNSIGNED, i1, i2), ExprInt(1, 1)), (ExprOp(TOK_INF_EQUAL_SIGNED, i1, i2), ExprInt(1, 1)), |