From 2ef59e5727a9815eb48a7ddbe79e30fdeeb9fcfc Mon Sep 17 00:00:00 2001 From: Sean Heelan Date: Wed, 23 Sep 2015 12:48:13 +0700 Subject: [PATCH] Renamed UC_HOOK_MEM_INVALID_[READ/WRITE/FETCH] to UC_HOOK_MEM_[READ/WRITE/FETCH]_INVALID as per aquynh's feedback. --- 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 e3fbd36d..ad2d551e 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -167,9 +167,9 @@ typedef enum uc_hook_type { UC_HOOK_INSN, // Hook a particular instruction UC_HOOK_CODE, // Hook a range of code UC_HOOK_BLOCK, // Hook basic blocks - UC_HOOK_MEM_INVALID_READ, // Hook for invalid memory read events - UC_HOOK_MEM_INVALID_WRITE, // Hook for invalid memory write events - UC_HOOK_MEM_INVALID_FETCH, // Hook for invalid memory fetch for execution events + UC_HOOK_MEM_READ_INVALID, // Hook for invalid memory read events + UC_HOOK_MEM_WRITE_INVALID, // Hook for invalid memory write events + UC_HOOK_MEM_FETCH_INVALID, // Hook for invalid memory fetch for execution events UC_HOOK_MEM_READ, // Hook all memory read events. UC_HOOK_MEM_WRITE, // Hook all memory write events. UC_HOOK_MEM_FETCH, // Hook all memory fetch for execution events