From d5870ff47dbe69289d4785ecea2f21545137a6eb Mon Sep 17 00:00:00 2001 From: fG! Date: Tue, 21 Feb 2017 02:22:17 +0000 Subject: [PATCH] Update unicorn.h (#753) Make it clear that only very few instructions can be hooked --- 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 6640706e..40cb9930 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -208,7 +208,7 @@ typedef enum uc_mem_type { typedef enum uc_hook_type { // Hook all interrupt/syscall events UC_HOOK_INTR = 1 << 0, - // Hook a particular instruction + // Hook a particular instruction - only a very small subset of instructions supported here UC_HOOK_INSN = 1 << 1, // Hook a range of code UC_HOOK_CODE = 1 << 2,