Commit graph

240 commits

Author SHA1 Message Date
Andrew Dutcher f8ac51bb3d Document assembly instructions for x86_self_modifying 2016-08-30 14:40:26 -05:00
Nguyen Anh Quynh 10519d6864 regress: fix compilation warning in invalid_read_in_cpu_tb_exec.c 2016-08-30 21:23:50 +08:00
Nguyen Anh Quynh 69d976375e Merge branch 'fix/self_modifying' of https://github.com/rhelmot/unicorn into rhelmot-fix/self_modifying 2016-08-30 21:20:22 +08:00
Nguyen Anh Quynh 49d546b355 regress: fix some warnings on printing sizeof() 2016-08-28 01:38:37 +08:00
Nguyen Anh Quynh 89c9ea5f8f Merge branch 'fix/eflags' of https://github.com/rhelmot/unicorn into rhelmot-fix/eflags 2016-08-24 16:13:31 +08:00
Nguyen Anh Quynh 40ea64af19 Merge branch 'feat/xmm_regs' of https://github.com/rhelmot/unicorn into rhelmot-feat/xmm_regs 2016-08-23 06:52:45 +08:00
nnn 64e6fbc480 Fixed printf format specifier 2016-08-20 22:34:14 -07:00
nnn d77fd18915 Fixed multiple bugs in test_x86_rip_bug.c
Fixed format warning in test_hang.c
2016-08-20 22:23:51 -07:00
nnn 4a67727f81 Updated Makefile 2016-08-20 18:47:45 -07:00
Neil 06fc5d1ea9 Add files via upload
Unit Test for Issue #534
2016-08-20 21:35:23 -04:00
Hors 90fb03cf5c Update mem_map_0x100000000.c 2016-08-19 23:33:04 +02:00
Hors 0fc3861699 Update Makefile 2016-08-19 23:32:19 +02:00
Hors deeca1f722 Create mem_map_0x100000000.c 2016-08-19 11:19:06 +02:00
Andrew Dutcher 46c53fa4b7 Add regression test for new eflags patch 2016-08-15 00:12:32 -07:00
Andrew Dutcher 42949408ca Added test for real self-modifying code 2016-08-14 23:21:38 -07:00
Andrew Dutcher b1f03a02f2 Add tests for xmm register read/write 2016-08-14 19:26:32 -07:00
Andrew Dutcher 97b10da133 Undo the disaster that was the patch to unicorn github issue #266 and fix it correctly. makes normal self-modifying code work. 2016-08-09 19:35:20 -07:00
samothtronicien edd37f7a1c removing tests/regress/test_x86_shl.cpp 2016-08-01 10:31:10 +02:00
samothtronicien 92f97da49f bit of refactoring 2016-07-31 19:45:46 +02:00
samothtronicien f1041a2615 renamed to test_x86_shl_enter_leave.c 2016-07-31 03:23:00 +02:00
samothtronicien ae8e34173a added tests with enter/leave 2016-07-31 03:19:52 +02:00
samothtronicien 1ecc5abdbc fixed typo: test_x86_shl_pf -> test_x86_shl 2016-07-30 16:44:54 +02:00
samothtronicien 8120b7732e added test_x86_shl_pf to makefile 2016-07-30 16:42:51 +02:00
samothtronicien c1cd06ec52 ported test to C 2016-07-30 16:41:40 +02:00
samothtronicien 6c3eecb2a3 added unit test for x86
This test highlight the issue with the SHL instruction in the form (SHL r, CL), the flags values retrieved in the code hook are not correct.
2016-07-30 04:18:12 +02:00
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
samothtronicien 2ba32922e4 Moved test_x86_shl.cpp to tests/regress 2016-07-29 12:00:48 +02:00
Nguyen Anh Quynh 07426d324b regress: chmod +x x86_fldt_fsqrt.py 2016-07-16 22:31:39 +08:00
Niklas Baumstark 3eaceec07e add regression test for fsqrt hang 2016-07-16 15:19:44 +02:00
Nguyen Anh Quynh 0a4ca0d365 regress: make some tests less noisy 2016-07-09 10:50:21 +08:00
Hoang-Vu Dang 9a2a5b15d8 Rename unhandled CPU exception 2016-07-05 11:10:39 -05:00
Hoang-Vu Dang 9cdca5a32b Unhandled interrupt will halt execution 2016-07-04 17:07:57 -05:00
Hoang-Vu Dang 3151451c87 Fix some invalid code in regress 2016-07-04 00:59:34 -05:00
Nguyen Anh Quynh faef4365cf Merge pull request #583 from petmac/arm_fp_vfp_disabled
Fix incorrect end address passed to emu_start.
2016-06-27 22:17:12 +08:00
Peter Mackay 0e661cb3cb Fix incorrect end address passed to emu_start. 2016-06-21 09:26:27 +01:00
Nguyen Anh Quynh 65bef683d3 regress: more flexible .gitignore 2016-06-16 09:27:47 +08:00
Nguyen Anh Quynh 6193be73b7 tests: more flexible .gitignore for tests/unit/ 2016-06-16 09:14:32 +08:00
Nguyen Anh Quynh fdcdaa3639 Merge branch 'master' of https://github.com/NUko32/unicorn into NUko32-master 2016-06-16 09:07:33 +08:00
Peter Mackay d4f0ab7ba8 Add Thumb-2 code to enable FP and VFP. 2016-06-15 23:43:51 +01:00
nuko32 9b46a22cd5 final refactoring for test_hang 2016-06-15 20:52:28 +02:00
nuko32 3bec4b2cf1 refactored test_hang and fixed indentations 2016-06-15 20:44:22 +02:00
jndok c6db9febe7 added ARM64 hang test 2016-06-15 19:18:51 +02:00
Peter Mackay 5d06e6638e Add arm_fp_vfp_disabled.py test. 2016-06-10 08:19:09 +01:00
Nguyen Anh Quynh 125f77a460 regress: chmod +x vld.py 2016-05-04 08:42:53 +08:00
Nguyen Anh Quynh 8b95cad550 regress: remove vmov.py 2016-05-04 08:41:09 +08:00
mkravchik 1afbee3a12 Merge pull request #3 from mkravchik/vld
Vld
2016-05-03 22:26:00 +03:00
mkravchik 33d105917d Added files via upload 2016-05-03 18:43:39 +03:00
Nguyen Anh Quynh 69cabed00f Merge branch 'asan' of https://github.com/zachriggle/unicorn into zachriggle-asan 2016-04-27 16:30:42 +08:00
Nguyen Anh Quynh 4084a385c2 regress: add mem_64_c.c from issue #523 by Chris Eagle 2016-04-24 22:53:30 +08:00
Nguyen Anh Quynh df1de25db0 regress: chmod +x write_before_map.py 2016-04-24 18:09:06 +08:00