From 476553223b713160cf40cb71834c29828fb95b93 Mon Sep 17 00:00:00 2001 From: bulaza Date: Sat, 13 May 2017 13:16:48 -0400 Subject: [PATCH] Fixing issues with const_generator.py (#832) --- include/unicorn/unicorn.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index e41b4bf4..31d752e0 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -251,7 +251,7 @@ typedef enum uc_hook_type { #define UC_HOOK_MEM_VALID (UC_HOOK_MEM_READ + UC_HOOK_MEM_WRITE + UC_HOOK_MEM_FETCH) /* - Callback function for hooking memory (UC_MEM_READ, UC_MEM_WRITE & UC_MEM_FETCH) + Callback function for hooking memory (READ, WRITE & FETCH) @type: this memory is being READ, or WRITE @address: address where the code is being executed @@ -263,8 +263,8 @@ typedef void (*uc_cb_hookmem_t)(uc_engine *uc, uc_mem_type type, uint64_t address, int size, int64_t value, void *user_data); /* - Callback function for handling invalid memory access events (UC_MEM_*_UNMAPPED and - UC_MEM_*PROT events) + Callback function for handling invalid memory access events (UNMAPPED and + PROT events) @type: this memory is being READ, or WRITE @address: address where the code is being executed