From 4c438e7774ba2d16bf58de965059d3ed652b21b8 Mon Sep 17 00:00:00 2001 From: mio Date: Tue, 5 Oct 2021 18:15:31 +0200 Subject: [PATCH] Update comments for UC_HOOK_INSN --- include/unicorn/unicorn.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index d7567681..d7780e56 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -595,7 +595,8 @@ uc_err uc_emu_stop(uc_engine *uc); NOTE 1: the callback is called only if related address is in range [@begin, @end] NOTE 2: if @begin > @end, callback is called whenever this hook type is triggered @...: variable arguments (depending on @type) - NOTE: if @type = UC_HOOK_INSN, this is the instruction ID (ex: UC_X86_INS_OUT) + NOTE: if @type = UC_HOOK_INSN, this is the instruction ID. + currently, only x86 in, out, syscall, sysenter, cpuid are supported. @return UC_ERR_OK on success, or other value on failure (refer to uc_err enum for detailed error).