Commit graph

16 commits

Author SHA1 Message Date
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
c7c5226142 regress: code style 2015-08-28 22:23:44 +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
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
3b5df362d7 chmod -x <some source code> 2015-08-28 18:12:56 +08: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
dec793e984 setup stack pointer in ro_mem_test 2015-08-26 21:28:36 -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