Commit Graph

71 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Nguyen Anh Quynh
cb2da12e94 Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into mem_map_ex 2015-08-28 22:20:43 +08:00
Nguyen Anh Quynh
b57d120a72 indentation 2015-08-28 22:20:14 +08:00
Nguyen Anh Quynh
6e75340363 regress: fix Makefile & ro_mem_test.c 2015-08-28 18:55:58 +08:00
Chris Eagle
c8d64cfdb0 Add regress check to handle non-readable memory 2015-08-28 03:52:51 -07:00
Nguyen Anh Quynh
b69180ad5a Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into cseagle-mem_map_ex 2015-08-28 18:47:18 +08:00
Chris Eagle
3452b47f7c Add code to handle non-readable memory 2015-08-28 03:42:25 -07:00
Nguyen Anh Quynh
d957d1efee regress: fix code style 2015-08-28 18:21:36 +08:00
Nguyen Anh Quynh
5de0d5ca70 regress: fix an warning in map_write.c 2015-08-28 18:15:38 +08:00
Nguyen Anh Quynh
3b5df362d7 chmod -x <some source code> 2015-08-28 18:12:56 +08:00
Chris Eagle
4f11d88d28 Makefile cleanup 2015-08-28 00:17:33 -07:00
Chris Eagle
b31bb9638c cleanup for pull request 2015-08-28 00:00:09 -07:00
Chris Eagle
9530b2daff Remove MemoryBlock struct by consolidating in MemoryRegion. add new API uc_mem_protect. Add regress/mem_protect.c. Drop UC_PROT_EXEC for time being 2015-08-27 23:19:32 -07:00
Chris Eagle
686acb7e6e Detect all occurences of write to read only page. Add callback capability on write to read only. Add new error type UC_ERR_MEM_WRITE_RO and new access type UC_MEM_WRITE_RO for use in callback 2015-08-27 18:03:17 -07:00
Chris Eagle
f357f4de21 Improve status reporting in regress/ro_mem_test.c 2015-08-26 23:35:23 -07:00
Chris Eagle
980ec8b087 Demonstrate continued correct behavior on invalid memory access 2015-08-26 23:21:41 -07:00
Chris Eagle
a5cc88d00d Eliminate clang warnings in ro_mem_test.c 2015-08-26 21:47:15 -07:00
Chris Eagle
9442b46601 regress/Makefile conflict resolution 2015-08-26 21:38:24 -07:00
Chris Eagle
dec793e984 setup stack pointer in ro_mem_test 2015-08-26 21:28:36 -07:00
pancake
efe0f5d854 Add test case for #58 2015-08-27 00:19:12 +02:00
Chris Eagle
4b529bc56c Free up all MemoryRegion* when uc is closed 2015-08-26 14:09:46 -07:00
Chris Eagle
00944b6cde Add ability to mark memory are read only. Add new API uc_mem_map_ex to allow permissions to be passed. Change MemoryBlock to track created MemoryRegions. Add regress/ro_mem_test.c 2015-08-26 13:29:54 -07:00
Jonathon Reinhart
60d0004329 remove executable bit from mode of source files
http://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-file-mode-chmod-changes
2015-08-26 05:34:31 -04:00
Nguyen Anh Quynh
e1b8bc2ed0 chmod +x regress/fpu_mem_write.py 2015-08-26 10:02:05 +08:00
Nguyen Anh Quynh
6feea9e6d6 Merge pull request #43 from mothran/fpu_mem_write
Added regression test for fstcw not writing to memory
2015-08-26 09:57:06 +08:00
Nguyen Anh Quynh
2174ab61e4 chmod +x regress/memmap_segfault2.py 2015-08-26 09:54:51 +08:00