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
mothran
91c9c89650
added regression test for fstcw not writing to memory
2015-08-25 18:48:12 -07:00
radare
6d5a31d134
Fix format string boundary issue
...
As long as the GLIB format value is not available and this test case uses 32bit offsets is fine to cast it down. But maybe we should import glib.h and use the proper portable formatting.
2015-08-25 17:22:19 +02:00
Ryan Hileman
c633ac5314
add regress/memmap_segfault2.py
2015-08-25 07:17:20 -07:00
Nguyen Anh Quynh
e426ba78ee
fix some warnings in regress/block_test.c
2015-08-25 12:05:30 +08:00
Chris Eagle
7273013263
Added basic block hook regression test
2015-08-24 18:36:58 -07:00
Nguyen Anh Quynh
9d9c0d1a25
uc_emu_start() report error on illegal instruction at the output
2015-08-25 00:02:31 +08:00
pancake
11c20418d7
Test for ilegal instruction exception
2015-08-24 17:07:33 +02:00
Nguyen Anh Quynh
ebaa542702
revert regress/map_crash.c back to original code
2015-08-24 20:21:57 +08:00
Nguyen Anh Quynh
79effb2df5
fix regress/map_crash.c so it does not crash any more
2015-08-24 20:07:36 +08:00
pancake
ba39dd3374
Add regression test for the map crash
2015-08-24 13:02:01 +02:00
mothran
1dd3334f87
changed the constants in the newest regression and sample files
2015-08-23 21:51:53 -07:00
mothran
995924176a
Merge branch 'const_rename'
2015-08-23 21:42:02 -07:00
mothran
a167f7c456
renames the register constants so unicorn and capstone can compile together
2015-08-23 21:36:33 -07:00
Nguyen Anh Quynh
bb34eebd24
verify hardware mode for ARM. this fixes issue #16
2015-08-24 09:50:55 +08:00
Ryan Hileman
220fa08a3a
add regression test from issue #16
2015-08-23 14:01:58 -07:00
Yan
a45d72ed7f
added memmap regression scripts
2015-08-23 13:03:48 -07:00
Nguyen Anh Quynh
761fd3d13b
fix issue #1
2015-08-24 01:07:03 +08:00
Nguyen Anh Quynh
3e5ebc58a0
add regress/memmap.py
2015-08-23 11:03:18 +08:00
Nguyen Anh Quynh
9b36b47304
add regress/movsd.py by Ryan Hileman
2015-08-23 10:41:52 +08:00
gaffe
7695f89939
changes to PC from trace callbacks don't stick
2015-08-21 22:56:01 -07:00
Nguyen Anh Quynh
344d016104
import
2015-08-21 15:04:50 +08:00