mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 00:45:40 +00:00
Update unicorn.h (#753)
Make it clear that only very few instructions can be hooked
This commit is contained in:
parent
736d9857d2
commit
d5870ff47d
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue