diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-11-14 18:45:19 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-11-14 18:45:19 +0100 |
| commit | d7316f0e60be635f6c3451b83f47f0c0b79a3721 (patch) | |
| tree | e3c278444b86b0d6250792dee43b618d2f61c865 /test/expression/simplifications.py | |
| parent | 00f568729a938465f83c8c73fe49462779673222 (diff) | |
| parent | 8ae102ba0fd8231c9d491a308144b0dd5424e0df (diff) | |
| download | miasm-d7316f0e60be635f6c3451b83f47f0c0b79a3721.tar.gz miasm-d7316f0e60be635f6c3451b83f47f0c0b79a3721.zip | |
Merge pull request #267 from commial/fix-sem-x86
Fix sem x86
Diffstat (limited to 'test/expression/simplifications.py')
| -rw-r--r-- | test/expression/simplifications.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py index 12d8f958..60609df4 100644 --- a/test/expression/simplifications.py +++ b/test/expression/simplifications.py @@ -60,7 +60,10 @@ to_test = [(ExprInt32(1) - ExprInt32(1), ExprInt32(0)), ExprOp('<<<', a, (b-c))), (ExprOp('>>>', ExprOp('<<<', a, b), b), a), - + (ExprOp(">>>", ExprInt16(0x1000), ExprInt16(0x11)), + ExprInt16(0x800)), + (ExprOp("<<<", ExprInt16(0x1000), ExprInt16(0x11)), + ExprInt16(0x2000)), (ExprOp('>>>', ExprOp('<<<', a, ExprInt32(10)), ExprInt32(2)), ExprOp('<<<', a, ExprInt32(8))), |