Commit Graph

126 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
7ab8d667fd fix regress/fpu_mem_write.py so it really emulates code 2015-09-20 00:02:30 +07:00
Nguyen Anh Quynh
f36bd83f85 cleanup regress/sparc*.py 2015-09-16 15:46:10 +07:00
mothran
893e6abcbd first atttempt at SPARC64 fixes, no longer SEGV's, set CPU model to: Sun UltraSparc IV 2015-09-15 23:12:03 -07:00
Nguyen Anh Quynh
e581b8ea0e Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-09-15 14:17:10 +07:00
Nguyen Anh Quynh
7eaedc5c15 add a comment for Arm instruction in regress/arm_movr12_hang.py 2015-09-15 14:16:57 +07:00
mothran
6962126707 update sparc_reg.py with %i registers 2015-09-14 23:28:09 -07:00
mothran
d1e19df64e update the sparc_reg to test all g/o/l registers 2015-09-14 23:05:33 -07:00
mothran
69d73aa845 added emulated SPARC code for regress/sparc_reg.py, appears to be a bug in G and I registers 2015-09-14 21:23:42 -07:00
mothran
6b521e9e9b update the sparc reg read/write to include o/l/i registers 2015-09-14 20:03:32 -07:00
Nguyen Anh Quynh
3f726d1c57 chmod +x regress/sparc64.py 2015-09-14 09:46:05 +07:00
mothran
2789e7951b added the sparc64 crash regression 2015-09-12 10:35:50 -07:00
Nguyen Anh Quynh
548355acca sparc: do not accept BIGENDIAN mode in samples. more sanity check should be done in the core 2015-09-11 14:02:27 +08:00
Ryan Hileman
586d5ca9f8 add test for #133 2015-09-09 08:27:13 -07:00
Nguyen Anh Quynh
6b52be24a3 fix regress/mips_except.py 2015-09-09 15:32:31 +08:00
Ryan Hileman
d134c62366 add regress for #130 2015-09-08 00:44:14 -07:00
Nguyen Anh Quynh
1724fabb05 add shebang for regress/sparc_reg.py 2015-09-08 09:14:22 +08:00
Ryan Hileman
5f6c475479 add regress for #126 2015-09-07 18:08:05 -07:00
Nguyen Anh Quynh
6085cd8046 Merge pull request #124 from lunixbochs/test-122
add test for #122
2015-09-08 08:07:18 +08:00
Ryan Hileman
756b4ccfd6 add test for #118 2015-09-07 14:41:55 -07:00
Ryan Hileman
e07d74ef16 add test for #122 2015-09-07 14:40:18 -07:00
Nguyen Anh Quynh
39f4ee88ce Merge pull request #116 from JonathonReinhart/use-void-ptrs
change mem read/write APIs to use void*
2015-09-08 01:52:27 +08:00
Jonathon Reinhart
bd30d0a275 regress: remove (uint8_t*) casts to mem API calls
These casts are now unnecessary.
2015-09-07 13:22:26 -04:00
Nguyen Anh Quynh
6c132bc673 arm: fix #114 by enabling cortex-a15 model. FIXME: enable this on demand with an API 2015-09-08 01:08:37 +08:00
Nguyen Anh Quynh
2b4caeed37 regress: add shebang for arm_movr12_hang.py 2015-09-08 00:13:19 +08:00
Ryan Hileman
c73149d581 add regression for #114 2015-09-07 08:57:28 -07:00
Nguyen Anh Quynh
d1bdbd11e7 rename uchook to uc_hook, ucengine to uc_engine, uc_hook_t to uc_hook_type 2015-09-05 11:20:32 +08:00
pancake
e89174c3f1 Fix build of regress/ 2015-09-04 07:56:35 -04:00
Chris Eagle
8cfd902e4b Move mem_xxx samples to regress. Add check to only flush tlb when unmapping if there is a current cpu 2015-09-04 00:48:24 -07:00
Nguyen Anh Quynh
06481933e0 typo 2015-09-04 11:56:14 +08:00
Nguyen Anh Quynh
022f8d82d1 handle memory fetch as invalid memory access. now we can also report error if exec memory is unmapped (UC_ERR_MEM_FETCH) 2015-09-04 11:55:17 +08:00
Nguyen Anh Quynh
2cdadf1720 regress: fix nr_mem_test.c and ro_mem_test.c to use modified UC_MEM_* enum 2015-09-04 11:04:13 +08:00
Jonathon Reinhart
5f32e2c1ae s/uc_hook_h/uchook/g 2015-09-03 22:39:23 -04:00
Jonathon Reinhart
5e9d07a40a Merge remote-tracking branch 'upstream/master' into change-handle-based-api 2015-09-03 22:01:52 -04:00
Nguyen Anh Quynh
9f9d57e84f cleaning & indentation 2015-09-03 18:16:49 +08:00
Nguyen Anh Quynh
b8d4240240 solve merging conflict 2015-09-03 18:05:21 +08:00
Nguyen Anh Quynh
46cc510dfe chmod +x regress/reg_write_sign_extension.py 2015-09-03 18:02:25 +08:00
Jonathon Reinhart
5b62d436a9 change public APIs to use ucengine
See #52.
2015-09-02 22:00:09 -04:00
Jonathon Reinhart
0feab69a61 update samples to conform to uc API changes 2015-09-02 21:25:59 -04:00
Jonathon Reinhart
bd0a6921cc Merge remote-tracking branch 'upstream/master' into change-handle-based-api 2015-09-02 21:04:43 -04:00
Sean Heelan
fe51b9a9ae Regression test for issue #98
This is a problem with sign extension during uc_reg_write
2015-09-03 00:48:20 +07:00
Nguyen Anh Quynh
4a2f23db60 regress: fix rep_movsb.c to properly use uc_hook_add() API 2015-09-03 01:13:46 +08:00
Chris Eagle
49d1fa7ebd Merge branch 'master' into mem_map_ex_cse 2015-09-01 12:13:53 -07:00
Jonathon Reinhart
2c802a3e4b Merge remote-tracking branch 'upstream/master' into change-handle-based-api
# Conflicts:
#	qemu/target-i386/unicorn.c
2015-09-01 13:17:03 -04:00
Nguyen Anh Quynh
90fc201f8d x86: enable bunch of instructions via CPUID. this fixes issue #91 2015-09-02 00:16:45 +08:00
Nguyen Anh Quynh
0e13ab6c3f compile regress/rep_movsb.c 2015-09-01 20:05:33 +08:00
Chris Eagle
95059407ee add regression for callbacks generated during movsb 2015-08-31 23:52:22 -07:00
Chris Eagle
73027026ce Merge branch 'master' into mem_map_ex_cse 2015-08-31 23:49:54 -07:00
Ryan Hileman
d3cf1faf80 add regression test for #91 2015-08-31 22:55:38 -07:00
Nguyen Anh Quynh
bea73ef213 stop emulation when hitting invalid code address. this fixes issue #82 2015-09-01 00:17:55 +08:00
Nguyen Anh Quynh
36f5333490 chmod +x regress/fpu_ip64.py 2015-08-31 23:38:22 +08:00