From 80b0356a86ce0a6bd2fca8563f5c6aa8cd048f00 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Thu, 11 Feb 2016 09:27:30 +0800 Subject: [PATCH] fix a comment in uc_hook_add() for UC_HOOK_INSN --- uc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uc.c b/uc.c index 169da7b6..d7492bae 100644 --- a/uc.c +++ b/uc.c @@ -983,7 +983,7 @@ uc_err uc_hook_add(uc_engine *uc, uc_hook *hh, int type, void *callback, hook->refs = 0; *hh = (uc_hook)hook; - // everybody but HOOK_INSN gets begin/end, so exit early here. + // UC_HOOK_INSN has an extra argument for instruction ID if (type & UC_HOOK_INSN) { va_list valist;