diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2020-07-21 22:40:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-21 22:40:52 +0200 |
| commit | a1c2dcbf6c4f3191984a781119d131c7c7f8d9ad (patch) | |
| tree | e90ca108dd1c130d015a3960051276d2c58d233a /test/jitter/jitload.py | |
| parent | 6ccbedd2928d52aff605ede73adbdfadb6152582 (diff) | |
| parent | 82c5d696eb97b5816a276cbf9708d0b3602d7055 (diff) | |
| download | miasm-a1c2dcbf6c4f3191984a781119d131c7c7f8d9ad.tar.gz miasm-a1c2dcbf6c4f3191984a781119d131c7c7f8d9ad.zip | |
Merge pull request #1267 from serpilliere/int_expr_arg
Int expr arg
Diffstat (limited to '')
| -rw-r--r-- | test/jitter/jitload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/jitter/jitload.py b/test/jitter/jitload.py index 8b758a89..3038c21c 100644 --- a/test/jitter/jitload.py +++ b/test/jitter/jitload.py @@ -47,4 +47,4 @@ assert myjit.eval_expr(eax) == imm4 ## Changes must be passed on myjit.cpu instance assert myjit.cpu.EAX == 4 ## Memory -assert myjit.eval_expr(memdata).arg.arg == int(encode_hex(data[::-1]), 16) +assert int(myjit.eval_expr(memdata)) == int(encode_hex(data[::-1]), 16) |