Chen Huitao
901efc4bd4
fix some oss-fuzz ( #1200 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
* fix oss-fuzz 10449.
* fix oss-fuzz 10452.
* fix oss-fuzz 11792.
* fix oss-fuzz 10457.
* fix oss-fuzz 11737.
* fix oss-fuzz 10458.
* fix oss-fuzz 10565.
* fix oss-fuzz 11651.
* fix oss-fuzz 10497.
* fix oss-fuzz 10515.
* fix oss-fuzz 10586.
* fix oss-fuzz 10597.
* fiz oss-fuzz 11721.
* fix oss-fuzz 10718.
* fix oss-fuzz 15610.
* fix oss-fuzz 10512.
* fix oss-fuzz 10545.
* fix oss-fuzz 10598.
* fix oss-fuzz 11112.
* fix oss-fuzz 11589.
* fix oss-fuzz 10674.
* git fix oss-fuzz 19610.
* fix oss-fuzz 19848.
* fix oss-fuzz 19851.
* fix oss-fuzz 19852.
* fix oss-fuzz 10878.
* fix oss-fuzz 11655.
* fix oss-fuzz 19849.
* fix oss-fuzz 11765.
* fix oss-fuzz 10337.
* fix oss-fuzz 10575.
* fix oss-fuzz 19877.
* fix oss-fuzz 19895.
* fix oss-fuzz 19896.
* fix oss-fuzz 19897.
* remove verbose fprintf output.
* fix oss-fuzz 19943.
* fix oss-fuzz 20026.
* fix oss-fuzz 20027.
* fix oss-fuzz 19967.
* fix oss-fuzz 19946.
* fix oss-fuzz 20069.
* fix oss-fuzz 20071.
* fix oss-fuzz 20073.
* fix oss-fuzz 20075.
* fix oss-fuzz 20076.
* fix a operation mistake.
* fix oss-fuzz 20101.
* fix oss-fuzz 20152.
* fix oss-fuzz 20101.
* fix oss-fuzz 20154.
* fix oss-fuzz 20166.
* fix oss-fuzz 14042.
* fix oss-fuzz 10578.
* fix oss-fuzz 11328.
* fix oss-fuzz 10602.
2020-02-10 22:33:00 +08:00
xorstream
1aeaf5c40d
This code should now build the x86_x64-softmmu part 2.
2017-01-19 22:50:28 +11:00
Ryan Hileman
cb615fdba7
remove uc->cpus
2016-09-23 07:38:21 -07:00
Nguyen Anh Quynh
9e64cba6ec
Rename some hook related enums:
...
- UC_ERR_READ_INVALID -> UC_ERR_READ_UNMAPPED
- UC_ERR_WRITE_INVALID -> UC_ERR_WRITE_UNMAPPED
- UC_ERR_FETCH_INVALID -> UC_ERR_FETCH_UNMAPPED
- UC_MEM_READ_INVALID -> UC_MEM_READ_UNMAPPED
- UC_MEM_WRITE_INVALID -> UC_MEM_WRITE_UNMAPPED
- UC_MEM_FETCH_INVALID -> UC_MEM_FETCH_UNMAPPED
- UC_HOOK_MEM_READ_INVALID -> UC_HOOK_MEM_READ_UNMAPPED
- UC_HOOK_MEM_WRITE_INVALID -> UC_HOOK_MEM_WRITE_UNMAPPED
- UC_HOOK_MEM_FETCH_INVALID -> UC_HOOK_MEM_FETCH_UNMAPPED
- UC_HOOK_MEM_INVALID -> UC_HOOK_MEM_UNMAPPED
This also renames some newly added macros to use _INVALID postfix:
- UC_HOOK_MEM_READ_ERR -> UC_HOOK_MEM_READ_INVALID
- UC_HOOK_MEM_WRITE_ERR -> UC_HOOK_MEM_WRITE_INVALID
- UC_HOOK_MEM_FETCH_ERR -> UC_HOOK_MEM_FETCH_INVALID
- UC_HOOK_MEM_ERR -> UC_HOOK_MEM_INVALID
Fixed all the bindings Java, Go & Python.
2015-09-30 14:46:55 +08:00
Nguyen Anh Quynh
4a42041a83
handle 'bad ram pointer' case. this fixes issue #159
2015-09-29 18:22:22 +08:00
Nguyen Anh Quynh
90eb8f2e72
This commit continues the PR #111
...
- Allow to register handler separately for invalid memory access
- Add new memory events for hooking:
- UC_MEM_READ_INVALID, UC_MEM_WRITE_INVALID, UC_MEM_FETCH_INVALID
- UC_HOOK_MEM_READ_PROT, UC_HOOK_MEM_WRITE_PROT, UC_HOOK_MEM_FETCH_PROT
- Rename UC_ERR_EXEC_PROT to UC_ERR_FETCH_PROT
- Change API uc_hook_add() so event type @type can be combined from hooking types
2015-09-24 14:18:02 +08:00
Chris Eagle
e9c6b11506
add mem_api sample program and fix check for wrong NX related constant in cputlb.c
2015-09-04 10:27:03 -07:00
Chris Eagle
9e4e96ff47
final updates for uc_mem_unmap, uc_mem_protect, and support ro UC_PROT_EXEC permission
2015-08-30 19:50:18 -07:00
Nguyen Anh Quynh
344d016104
import
2015-08-21 15:04:50 +08:00