Commit Graph

2005 Commits

Author SHA1 Message Date
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
Nguyen Anh Quynh
0ab4284719 Merge pull request #54 from radare/ascii-logo
Add hand-made ascii-art logo
2015-08-26 23:44:22 +08:00
pancake
812aa7549b Add hand-made ascii-art logo 2015-08-26 17:42:17 +02:00
Nguyen Anh Quynh
b6dd516977 fix a bug on releasing mapped_blocks in uc_close() 2015-08-26 23:41:30 +08:00
Nguyen Anh Quynh
9e929ca2f3 Merge branch 'master' of https://github.com/cseagle/unicorn into cseagle-master 2015-08-26 23:37:41 +08:00
Chris Eagle
095cdb5f9d Merge remote-tracking branch 'upstream/master' 2015-08-26 08:25:37 -07:00
Chris Eagle
5d8d251085 Free uc->mapped_blocks in uc_close 2015-08-26 08:23:36 -07:00
Kong Nguyen
4d7b7c1d5e make sample_network_auditing.py runnable 2015-08-26 22:40:41 +08:00
Jonathon Reinhart
e74bc0db88 regress: update C programs to use new API 2015-08-26 09:29:28 -04:00
Jonathon Reinhart
db563bfcdb samples: update sample_m68k to use new API 2015-08-26 09:02:17 -04:00
Jonathon Reinhart
0202a57d32 samples: update shellcode.c to use new API 2015-08-26 09:02:17 -04:00
Jonathon Reinhart
4c9e78d2f9 samples: update sample_x86 to use new API 2015-08-26 09:02:17 -04:00
Jonathon Reinhart
fa11e9dddb samples: update sample_sparc to use new API 2015-08-26 09:02:17 -04:00
Jonathon Reinhart
0d69d81c2e samples: update sample_arm64 to use new API 2015-08-26 09:02:17 -04:00
Jonathon Reinhart
7406367a34 samples: update sample_arm to use new API 2015-08-26 09:02:17 -04:00
Jonathon Reinhart
7ac92ac50a samples: update sample_mips to use new API 2015-08-26 09:02:17 -04:00
Jonathon Reinhart
20bdbf638d change uc_hook_del() to take hook handle by value 2015-08-26 09:02:17 -04:00
Jonathon Reinhart
ad59de2b51 remove UC_ERR_UCH
not used anymore
2015-08-26 09:02:16 -04:00
Jonathon Reinhart
24caaa07de change uch to uc_hook_h for hook handles 2015-08-26 09:02:16 -04:00
Jonathon Reinhart
8918deb1b2 change uch to uc_struct (target-m68k) 2015-08-26 09:02:16 -04:00
Jonathon Reinhart
fcb099805f change uch to uc_struct (qemu) 2015-08-26 09:02:16 -04:00
Jonathon Reinhart
b57662e43d change uch to uc_struct (target-i386) 2015-08-26 09:02:16 -04:00
Jonathon Reinhart
e7a8eb8976 change uch to uc_struct (target-sparc) 2015-08-26 09:02:16 -04:00
Jonathon Reinhart
15a774ac90 change uch to uc_struct (target-mips) 2015-08-26 09:02:16 -04:00
Jonathon Reinhart
622d5cd5f9 change uch to uc_struct (target-arm) 2015-08-26 09:02:16 -04:00
Jonathon Reinhart
6c4726c88e change uch to uc_struct (ioport.c) 2015-08-26 09:02:16 -04:00
Jonathon Reinhart
b9f7850efb change uch to uc_struct (hook) 2015-08-26 09:01:58 -04:00
Jonathon Reinhart
5f89f9884e change uch to uc_struct (uc.c) 2015-08-26 08:20:52 -04:00