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

@ -88,6 +88,7 @@ public interface UnicornConst {
public static final int UC_HOOK_MEM_WRITE_INVALID = 288;
public static final int UC_HOOK_MEM_FETCH_INVALID = 576;
public static final int UC_HOOK_MEM_INVALID = 1008;
public static final int UC_HOOK_MEM_VALID = 7168;
public static final int UC_QUERY_MODE = 1;
public static final int UC_PROT_NONE = 0;