Commit Graph

161 Commits

Author SHA1 Message Date
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
Nguyen Anh Quynh
220faed3e8 Merge branch 'cseagle-mem_map_ex' 2015-08-29 08:47:46 +08:00
Nguyen Anh Quynh
07b9cd15b1 Merge pull request #67 from SeanHeelan/master
Added a regression script for issue #65
2015-08-29 08:46:50 +08:00
Sean Heelan
340acf9176 Added a regression script for issue #65 2015-08-29 00:31:27 +07:00
Nguyen Anh Quynh
3f771abe73 python: add sample_all.sh 2015-08-29 00:26:34 +08:00
Nguyen Anh Quynh
d3de7aa567 samples: add sample code for hooking SYSCALL instruction in sample_x86.c 2015-08-29 00:22:11 +08:00
Nguyen Anh Quynh
162728c1b1 samples: add shellcode to sample_all.sh 2015-08-29 00:02:52 +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
b0ba598981 update .gitignore 2015-08-28 18:27:55 +08: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
Nguyen Anh Quynh
96a274c4aa Merge branch 'mem_map_ex' of https://github.com/cseagle/unicorn into cseagle-mem_map_ex 2015-08-28 18:11:10 +08:00
Chris Eagle
aa509cc00f delete redundant function 2015-08-28 02:20:56 -07:00
Chris Eagle
adc254cc74 Roll back uc_mem_protect changes 2015-08-28 01:37:49 -07:00
Nguyen Anh Quynh
4a1c5ff071 x86: verify until address early when translating block in frontend. this should fix issue #63 2015-08-28 16:06:06 +08:00
Chris Eagle
71ddad9474 Doc cleanup 2015-08-28 00:30:50 -07: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
a4b87ed840 Merge branch 'master' into mem_map_ex 2015-08-27 23:33:02 -07:00
Chris Eagle
ef1d70a514 Merge remote-tracking branch 'upstream/master' 2015-08-27 23:32:07 -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
Nguyen Anh Quynh
adec227dad Merge pull request #64 from lunixbochs/go-bindings
add Go bindings
2015-08-28 12:22:46 +08:00
Ryan Hileman
c5bcb02847 add Go bindings 2015-08-27 21:22:30 -07:00
Chris Eagle
bf32753c29 Merge branch 'master' into mem_map_ex 2015-08-27 19:17:06 -07:00
Chris Eagle
527f4e7ff4 Merge remote-tracking branch 'upstream/master' 2015-08-27 19:16:15 -07:00
Chris Eagle
140e9f9ae2 fix perms on files 2015-08-27 18:04:05 -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
Nguyen Anh Quynh
b335cf016c do not generate basic-block callback when translation is broken in the middle due to full cache (all the remaining archs) 2015-08-27 21:09:00 +08: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
5264fc7026 Merge branch 'master' into mem_map_ex 2015-08-26 21:54:00 -07:00
Chris Eagle
d31b580055 Merge remote-tracking branch 'upstream/master' 2015-08-26 21:51:36 -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
Chris Eagle
33821727b3 Merge branch 'java_dev' 2015-08-26 20:00:28 -07:00
Nguyen Anh Quynh
2fcc8528ae chmod -x SampleNetworkAuditing.java 2015-08-27 10:47:49 +08:00
Nguyen Anh Quynh
3d650fec92 Merge pull request #62 from cseagle/java_dev
Port sample_network_auditing.py to java
2015-08-27 10:46:26 +08:00
Chris Eagle
5ff5577aaa Port sample_network_auditing.py to java 2015-08-26 19:41:37 -07:00
Nguyen Anh Quynh
2a6f1f471f Merge pull request #61 from radare/write-crash
Add test case for #58
2015-08-27 09:54:34 +08: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
Nguyen Anh Quynh
8aedc1b5d5 Merge pull request #53 from tacoxnguyen/master
make sample_network_auditing.py runnable
2015-08-27 00:06:14 +08:00
Nguyen Anh Quynh
f44d730f8d Merge pull request #55 from cseagle/invalid_mem_check
Invalid mem check
2015-08-27 00:04:36 +08:00
Chris Eagle
b39f5d2a91 When checking for invalid memory always do the faster check of whether we are hooking env->uc->hook_mem_idx before doing the expensive check of scanning the memory map 2015-08-26 08:55:19 -07:00
Chris Eagle
edc1c037b0 Merge remote-tracking branch 'upstream/master' 2015-08-26 08:47:26 -07:00