bindings: add UC_ERR_TIMEOUT

Backports commit b0d5837c61c4bdd91106c355c8af730929f5a78f from unicorn
This commit is contained in:
Nguyen Anh Quynh 2020-01-14 09:47:27 -05:00 committed by Lioncash
parent dd47649a3b
commit 8259d76c6c
6 changed files with 6 additions and 0 deletions

View file

@ -71,6 +71,7 @@ module Common =
let UC_ERR_HOOK_EXIST = 19 let UC_ERR_HOOK_EXIST = 19
let UC_ERR_RESOURCE = 20 let UC_ERR_RESOURCE = 20
let UC_ERR_EXCEPTION = 21 let UC_ERR_EXCEPTION = 21
let UC_ERR_TIMEOUT = 22
let UC_MEM_READ = 16 let UC_MEM_READ = 16
let UC_MEM_WRITE = 17 let UC_MEM_WRITE = 17
let UC_MEM_FETCH = 18 let UC_MEM_FETCH = 18

View file

@ -66,6 +66,7 @@ const (
ERR_HOOK_EXIST = 19 ERR_HOOK_EXIST = 19
ERR_RESOURCE = 20 ERR_RESOURCE = 20
ERR_EXCEPTION = 21 ERR_EXCEPTION = 21
ERR_TIMEOUT = 22
MEM_READ = 16 MEM_READ = 16
MEM_WRITE = 17 MEM_WRITE = 17
MEM_FETCH = 18 MEM_FETCH = 18

View file

@ -68,6 +68,7 @@ public interface UnicornConst {
public static final int UC_ERR_HOOK_EXIST = 19; public static final int UC_ERR_HOOK_EXIST = 19;
public static final int UC_ERR_RESOURCE = 20; public static final int UC_ERR_RESOURCE = 20;
public static final int UC_ERR_EXCEPTION = 21; public static final int UC_ERR_EXCEPTION = 21;
public static final int UC_ERR_TIMEOUT = 22;
public static final int UC_MEM_READ = 16; public static final int UC_MEM_READ = 16;
public static final int UC_MEM_WRITE = 17; public static final int UC_MEM_WRITE = 17;
public static final int UC_MEM_FETCH = 18; public static final int UC_MEM_FETCH = 18;

View file

@ -69,6 +69,7 @@ const UC_API_MAJOR = 1;
UC_ERR_HOOK_EXIST = 19; UC_ERR_HOOK_EXIST = 19;
UC_ERR_RESOURCE = 20; UC_ERR_RESOURCE = 20;
UC_ERR_EXCEPTION = 21; UC_ERR_EXCEPTION = 21;
UC_ERR_TIMEOUT = 22;
UC_MEM_READ = 16; UC_MEM_READ = 16;
UC_MEM_WRITE = 17; UC_MEM_WRITE = 17;
UC_MEM_FETCH = 18; UC_MEM_FETCH = 18;

View file

@ -64,6 +64,7 @@ UC_ERR_FETCH_UNALIGNED = 18
UC_ERR_HOOK_EXIST = 19 UC_ERR_HOOK_EXIST = 19
UC_ERR_RESOURCE = 20 UC_ERR_RESOURCE = 20
UC_ERR_EXCEPTION = 21 UC_ERR_EXCEPTION = 21
UC_ERR_TIMEOUT = 22
UC_MEM_READ = 16 UC_MEM_READ = 16
UC_MEM_WRITE = 17 UC_MEM_WRITE = 17
UC_MEM_FETCH = 18 UC_MEM_FETCH = 18

View file

@ -66,6 +66,7 @@ module UnicornEngine
UC_ERR_HOOK_EXIST = 19 UC_ERR_HOOK_EXIST = 19
UC_ERR_RESOURCE = 20 UC_ERR_RESOURCE = 20
UC_ERR_EXCEPTION = 21 UC_ERR_EXCEPTION = 21
UC_ERR_TIMEOUT = 22
UC_MEM_READ = 16 UC_MEM_READ = 16
UC_MEM_WRITE = 17 UC_MEM_WRITE = 17
UC_MEM_FETCH = 18 UC_MEM_FETCH = 18