From 505589951435fb9b3b92dee681fec31ae43b8cbf Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 27 Sep 2015 11:29:19 +0800 Subject: [PATCH] clarify that UC_HOOK_INTR is also for handling syscall events --- include/unicorn/unicorn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index 75f47064..e70ca737 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -166,7 +166,7 @@ typedef enum uc_mem_type { // All type of hooks for uc_hook_add() API. typedef enum uc_hook_type { - UC_HOOK_INTR = 1 << 0, // Hook all interrupt events + UC_HOOK_INTR = 1 << 0, // Hook all interrupt/syscall events UC_HOOK_INSN = 1 << 1, // Hook a particular instruction UC_HOOK_CODE = 1 << 2, // Hook a range of code UC_HOOK_BLOCK = 1 << 3, // Hook basic blocks