unicorn/tests/regress
samothtronicien 6fc1f27492 completed the test
The issue noticed before only occurs while we are in the hook_code (eflags is not correctly updated after the execution of the SHL instruction using CL).
Once the emulation has finished executing the code the value of eflags is correct.
2016-07-29 18:52:53 +02:00
..
.gitignore regress: more flexible .gitignore 2016-06-16 09:27:47 +08:00
00opcode_uc_crash.c regress: print with newline for 00opcode_uc_crash.c 2015-11-06 22:24:24 +08:00
001-bad_condition_code_0xe.c Add six crash cases (2 * ARM + 4 * M68K) 2016-04-09 15:27:20 -04:00
002-qemu__fatal__unimplemented_control_register_write_0xffb___0x0.c Add six crash cases (2 * ARM + 4 * M68K) 2016-04-09 15:27:20 -04:00
003-qemu__fatal__wdebug_not_implemented.c Add six crash cases (2 * ARM + 4 * M68K) 2016-04-09 15:27:20 -04:00
004-segmentation_fault_1.c Add six crash cases (2 * ARM + 4 * M68K) 2016-04-09 15:27:20 -04:00
005-qemu__fatal__illegal_instruction__0000___00000404.c Add six crash cases (2 * ARM + 4 * M68K) 2016-04-09 15:27:20 -04:00
006-qemu__fatal__illegal_instruction__0421___00040026.c Add six crash cases (2 * ARM + 4 * M68K) 2016-04-09 15:27:20 -04:00
arm_bxeq_hang.py Rename some hook related enums: 2015-09-30 14:46:55 +08:00
arm_fp_vfp_disabled.py Fix incorrect end address passed to emu_start. 2016-06-21 09:26:27 +01:00
arm_init_input_crash.py chmod +x arm_init_input_crash.py 2016-02-03 09:20:15 +08:00
arm_movr12_hang.py Reorganize test directories 2015-09-21 20:47:45 -05:00
arm_vldr_invalid.py add regress for #366 2016-01-10 23:51:11 -08:00
bad_ram.py handle 'bad ram pointer' case. this fixes issue #159 2015-09-29 18:22:22 +08:00
block_test.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
callback-pc.py assert that PC was changed in callback-pc test 2015-10-23 11:28:10 -07:00
crash_tb.py Reorganize test directories 2015-09-21 20:47:45 -05:00
deadlock_1.py Reorganize test directories 2015-09-21 20:47:45 -05:00
eflags_noset.c Patch eflags_noset to compile on 32-bit and on 64-bit. 2015-11-10 15:01:23 +02:00
eflags_nosync.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
emu_clear_errors.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
emu_clear_errors.py add test case demonstrating issue 351 2016-01-10 23:56:34 -05:00
emu_stop_in_hook_overrun.c Merge branch 'memleak' into m2 2016-04-18 12:48:13 +08:00
emu_stop_segfault.py Reorganize test directories 2015-09-21 20:47:45 -05:00
ensure_typedef_consts_generated.py regress: add shebang for ensure_typedef_consts_generated.py 2015-10-04 11:21:37 +08:00
fpu_ip.py Reorganize test directories 2015-09-21 20:47:45 -05:00
fpu_mem_write.py Reorganize test directories 2015-09-21 20:47:45 -05:00
hang.py Reorganize test directories 2015-09-21 20:47:45 -05:00
hook_add_crash.py on some hook events, uc_hook_add() should not allow more than 1 handler. this add UC_ERR_HOOK_EXIST error type 2015-10-10 18:01:47 +08:00
hook_code_add_del.py regress: fix testcase hook_code_add_del.py 2015-12-23 01:45:29 +08:00
hook_code_stop_emu.py regress: add shebang for hook_code_stop_emu.py 2015-11-03 22:45:48 +08:00
hook_extrainvoke.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
init.py regress: make some tests less noisy 2016-07-09 10:50:21 +08:00
invalid_read_in_cpu_tb_exec.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
invalid_read_in_tb_flush_x86_64.c Crash case: Invalid read of size 8 in tb_flush_x86_64 2015-12-01 22:41:51 +01:00
invalid_write_in_cpu_tb_exec_x86_64.c invalid_read_in_cpu_tb_exec_x86_64 → invalid_write_in_cpu_tb_exec_x86_64 2015-11-17 08:44:38 +01:00
invalid_write.py regress: add invalid_write.py to test issue #371 2016-01-13 11:35:09 +08:00
jmp_ebx_hang.py Fix some invalid code in regress 2016-07-04 00:59:34 -05:00
jumping.py zf set to 1 2016-02-18 06:29:59 -08:00
LICENSE fix a typo in tests/regress/LICENSE 2016-03-08 08:55:55 +08:00
Makefile regress: add mem_64_c.c from issue #523 by Chris Eagle 2016-04-24 22:53:30 +08:00
map_crash.c Reorganize test directories 2015-09-21 20:47:45 -05:00
map_write.c Reorganize test directories 2015-09-21 20:47:45 -05:00
mem_64_c.c regress: add mem_64_c.c from issue #523 by Chris Eagle 2016-04-24 22:53:30 +08:00
mem_double_unmap.c regress: fix compilation warning of mem_double_unmap.c 2015-10-23 11:36:09 +08:00
mem_exec.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
mem_fuzz.c two more testcases 2016-02-11 15:02:14 +01:00
mem_map_large.c add mem_map_large regression (for #223) 2015-11-11 22:52:18 -08:00
mem_nofree.c Add some fixes to the tests. 2016-01-05 18:02:54 +02:00
mem_protect.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
mem_unmap.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
memleak_arm64.c regress: add memleak_xxx.c to test memleak issue 2016-01-10 23:56:14 +08:00
memleak_arm.c regress: add memleak_xxx.c to test memleak issue 2016-01-10 23:56:14 +08:00
memleak_m68k.c regress: add memleak_xxx.c to test memleak issue 2016-01-10 23:56:14 +08:00
memleak_mips.c regress: add memleak_xxx.c to test memleak issue 2016-01-10 23:56:14 +08:00
memleak_sparc.c regress: add memleak_xxx.c to test memleak issue 2016-01-10 23:56:14 +08:00
memleak_x86.c regress: add memleak_xxx.c to test memleak issue 2016-01-10 23:56:14 +08:00
memmap_segfault.py Reorganize test directories 2015-09-21 20:47:45 -05:00
memmap.py Reorganize test directories 2015-09-21 20:47:45 -05:00
mips_branch_delay.py Added mnemonic printing to disasm function. 2015-12-10 13:09:31 +11:00
mips_branch_likely_issue.c Merge branch 'memleak' into m2 2016-04-18 12:48:13 +08:00
mips_delay_slot_code_hook.c Merge branch 'memleak' into m2 2016-04-18 12:48:13 +08:00
mips_except.py Rename some hook related enums: 2015-09-30 14:46:55 +08:00
mips_invalid_read_of_size_4_when_tracing.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
mips_kernel_mmu.py Removed commented out code from MIPS kernel MMU test 2015-12-28 00:36:56 +00:00
mips_kseg0_1.c support memory redirection, so the issue #217 is fixed 2015-10-27 14:37:03 +08:00
mips_single_step_sp.py regress: convert some mips tests to use unittest 2015-09-28 11:57:24 +08:00
mips_syscall_pc.py regress: convert some mips tests to use unittest 2015-09-28 11:57:24 +08:00
mov_gs_eax.py Rename unhandled CPU exception 2016-07-05 11:10:39 -05:00
movsd.py Reorganize test directories 2015-09-21 20:47:45 -05:00
nr_mem_test.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
osx_qemu_thread_create_crash.py Test case for issue #237 (OS X crash when creating 2048:th Uc object) 2015-11-02 23:18:30 +01:00
potential_memory_leak.py Fix typo. 2015-11-02 23:23:02 +01:00
pshufb.py Reorganize test directories 2015-09-21 20:47:45 -05:00
reg_write_sign_extension.py Rename some hook related enums: 2015-09-30 14:46:55 +08:00
regress.py Reorganize test directories 2015-09-21 20:47:45 -05:00
regress.sh update regress.sh 2015-11-12 15:30:19 +08:00
rep_hook.py regress: add rep_hook.py 2016-01-01 10:44:08 +08:00
rep_movsb.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
ro_mem_test.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
run_across_bb.py run_across_bb: include expected vs actual PC in assertion error 2015-11-13 10:14:38 -05:00
rw_hookstack.c regress: fix all the calls to uc_hook_add() following recent change on this API 2016-04-03 23:32:14 +08:00
segfault_on_stop.py Add test case for segfault-on-emu_stop() bug. 2015-11-03 14:11:49 +01:00
sigill2.c Reorganize test directories 2015-09-21 20:47:45 -05:00
sigill.c regress: fix all the calls to uc_hook_add() following recent change on this API 2016-04-03 23:32:14 +08:00
sparc64.py Added mode endian flags for sparc tests and fixed mode in sparc_jump_to_zero.c 2016-01-25 13:50:26 +11:00
sparc_jump_to_zero.c Added mode endian flags for sparc tests and fixed mode in sparc_jump_to_zero.c 2016-01-25 13:50:26 +11:00
sparc_reg.py Added mode endian flags for sparc tests and fixed mode in sparc_jump_to_zero.c 2016-01-25 13:50:26 +11:00
sysenter_hook_x86.c regress: fix all the calls to uc_hook_add() following recent change on this API 2016-04-03 23:32:14 +08:00
tcg_liveness_analysis_bug_issue-287.py regress chmod +x x86_gdt.py tcg_liveness_analysis_bug_issue-287.py 2016-03-25 11:11:32 +08:00
test_x86_shl.cpp completed the test 2016-07-29 18:52:53 +02:00
threaded_emu_start.c Merge branch 'memleak' into m2 2016-04-18 12:48:13 +08:00
timeout_segfault.c regress: adapt all C code to latest change in uc_hook_add() API 2016-03-26 00:33:24 +08:00
translator_buffer.py regress: make some tests less noisy 2016-07-09 10:50:21 +08:00
vld.py regress: chmod +x vld.py 2016-05-04 08:42:53 +08:00
write_before_map.py regress: chmod +x write_before_map.py 2016-04-24 18:09:06 +08:00
wrong_rip_arm.py Reorganize test directories 2015-09-21 20:47:45 -05:00
wrong_rip.py Reorganize test directories 2015-09-21 20:47:45 -05:00
wrong_sp_arm.py Reorganize test directories 2015-09-21 20:47:45 -05:00
x86_16_segfault.c Crash case: Invalid read of size 8 in tb_flush_x86_64. 2015-11-29 23:00:34 +01:00
x86_64_conditional_jump.py Add test showing failure to track targets properly when single-stepping. 2016-04-05 10:06:39 -07:00
x86_64_eflags.py regress: chmod +x x86_64_eflags.py 2016-03-31 10:06:33 +08:00
x86_fldt_fsqrt.py regress: chmod +x x86_fldt_fsqrt.py 2016-07-16 22:31:39 +08:00
x86_gdt.py bugfix read_reg -> reg_read 2016-03-27 11:26:57 +02:00