diff options
| author | ajax <devnull@localhost> | 2014-06-13 15:09:33 +0200 |
|---|---|---|
| committer | ajax <devnull@localhost> | 2014-06-13 15:09:33 +0200 |
| commit | d5a9cad52ea8b3e04c00a036893e6de01bf469da (patch) | |
| tree | b5d31073d392fa1349bc0a0487a358caaaaba33a | |
| parent | 5bb2bc9f54461fd42ab03d0b49202b4e51b320fd (diff) | |
| download | miasm-d5a9cad52ea8b3e04c00a036893e6de01bf469da.tar.gz miasm-d5a9cad52ea8b3e04c00a036893e6de01bf469da.zip | |
Test: Add LLVM jitter in md5_arm example
| -rw-r--r-- | example/test_jit_arm.py | 2 | ||||
| -rw-r--r-- | test/test_all.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/example/test_jit_arm.py b/example/test_jit_arm.py index 7ccfd447..3908fbfc 100644 --- a/example/test_jit_arm.py +++ b/example/test_jit_arm.py @@ -34,7 +34,7 @@ parser.add_argument("addr", def jit_arm_binary(args): filepath, entryp = args.binary, int(args.addr, 16) - myjit = jitter_arm() + myjit = jitter_arm(jit_type = args.jitter) myjit.init_stack() # Log level (if available with jitter engine) diff --git a/test/test_all.py b/test/test_all.py index 378755a4..0b6b1b74 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -71,7 +71,8 @@ all_tests = { ["unpack_upx.py", "--jitter", "tcc", "box_upx.exe"], ["unpack_upx.py", "--jitter", "llvm", "box_upx.exe"], ["test_jit_x86_32.py", "x86_32_sc.bin"], - ["test_jit_arm.py", "md5_arm", "A684"], + ["test_jit_arm.py", "--jitter", "tcc","md5_arm", "A684"], + ["test_jit_arm.py", "--jitter", "llvm","md5_arm", "A684"], ["sandbox_pe_x86_32.py", "--jitter", "tcc", "box_x86_32.bin"], ["sandbox_pe_x86_32.py", "--jitter", "llvm", "box_x86_32.bin"], ["sandbox_pe_x86_32.py", "--jitter", "tcc", "box_x86_32_enc.bin"], |