Commit Graph

97 Commits

Author SHA1 Message Date
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
Chris Eagle
de7ac7fc48 Merge branch 'master' into mem_map_ex_cse 2015-08-30 19:52:18 -07:00
mothran
2febbb6021 Merge branch 'master' of github.com:unicorn-engine/unicorn into fpip_update 2015-08-30 11:13:23 -07:00
Sean Heelan
4b05e736a1 Use asserts instead of print statements on the correct paths to avoid confusing
people as to what the success indicator is here.
2015-08-30 22:50:47 +07:00
Sean Heelan
1b6469e60f Regression test for issue #82 (emulator hang on jmp REG) 2015-08-30 22:42:48 +07:00
Jonathon Reinhart
3bd705a060 Merge remote-tracking branch 'upstream/master' into change-handle-based-api 2015-08-30 00:23:51 -04:00
Chris Eagle
4a680b9277 Merge branch 'master' into mem_map_ex_cse 2015-08-29 21:22:33 -07:00
gaffe
e788657a16 also update Makefile to build timeout_segfault.c 2015-08-29 12:51:35 -07:00
gaffe
be98e28132 add sample regression code for issue #78 2015-08-29 12:44:29 -07:00
mothran
b7d60313b5 added 64 bit mode to the fstenv helper function, also a fpu_ip64.py regress script 2015-08-29 01:56:36 -07:00
Chris Eagle
592cbc6eaf conflict resolution with merge master 2015-08-28 23:51:56 -07:00
mothran
5d6a478d11 added expect output to fpu_ip.py 2015-08-28 23:46:15 -07:00
mothran
79184ff23d Merge branch 'master' of github.com:unicorn-engine/unicorn into fpip_update 2015-08-28 23:40:25 -07:00
Chris Eagle
986096d443 fix file perms 2015-08-28 21:05:38 -07:00
Chris Eagle
8e2848c9d5 Merge branch 'master' into api_update 2015-08-28 20:05:53 -07:00
Chris Eagle
2c60782352 Merge remote-tracking branch 'upstream/master' 2015-08-28 20:05:31 -07:00
Chris Eagle
94ac0f02e6 file permissions changes 2015-08-28 20:03:36 -07:00
Chris Eagle
65787d415a rename uc_mem_map_ex to uc_mem_map and all associated changes 2015-08-28 20:02:21 -07:00
Nguyen Anh Quynh
6d71b970d3 fix a constant in regress/ro_mem_test.c 2015-08-29 10:33:00 +08:00
Nguyen Anh Quynh
810054ca6d uc_mem_read() & uc_mem_write() now can work on adjacent memory areas. this fixes issue #38 2015-08-29 10:23:53 +08:00
Chris Eagle
eab6167241 Merge branch 'master' into mem_map_ex_cse 2015-08-28 19:00:39 -07:00
Chris Eagle
3f8370b4f8 Merge remote-tracking branch 'upstream/master' 2015-08-28 18:50:46 -07:00
Nguyen Anh Quynh
3de12d37f8 regress: add shebang for emu_stop_segfault.py 2015-08-29 08:52:07 +08:00
Nguyen Anh Quynh
acf5edf333 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2015-08-29 08:48:28 +08:00
Chris Eagle
7f63d76908 add comments to source for ro_mem_test.c 2015-08-28 12:58:53 -07:00
mothran
feb8ced027 fixed the FPIP updates to correctly only work with non-control instructions and make sure the pc addr is correct 2015-08-28 10:39:11 -07:00
Sean Heelan
340acf9176 Added a regression script for issue #65 2015-08-29 00:31:27 +07:00
Nguyen Anh Quynh
110dc9c248 regress: fix nr_mem_test.c 2015-08-28 22:56:25 +08:00
Nguyen Anh Quynh
c7c5226142 regress: code style 2015-08-28 22:23:44 +08:00
Nguyen Anh Quynh
07286c811d regress: add nr_mem_test.c to Makefile 2015-08-28 22:23:26 +08:00