Update unicorn.h (#753)

Make it clear that only very few instructions can be hooked
This commit is contained in:
fG! 2017-02-21 02:22:17 +00:00 committed by Nguyen Anh Quynh
parent 736d9857d2
commit d5870ff47d

View File

@ -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,