add combination hook type UC_HOOK_MEM_VALID to intercept all valid memory access

This commit is contained in:
Nguyen Anh Quynh
2016-01-31 13:12:34 +08:00
parent 1fb5416f4a
commit a2ef52172c
5 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,7 @@ const (
HOOK_MEM_WRITE_INVALID = 288
HOOK_MEM_FETCH_INVALID = 576
HOOK_MEM_INVALID = 1008
HOOK_MEM_VALID = 7168
QUERY_MODE = 1
PROT_NONE = 0