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