From 7ceb2eb0b997a6538f8286a28ea61007dfdbb0ef Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Fri, 4 Sep 2015 10:54:21 +0800 Subject: [PATCH] bindings: update constants after the recent changes in the core --- bindings/go/unicorn/unicorn_const.go | 25 ++++++++++++------------ bindings/python/unicorn/unicorn_const.py | 25 ++++++++++++------------ 2 files changed, 24 insertions(+), 26 deletions(-) diff --git a/bindings/go/unicorn/unicorn_const.go b/bindings/go/unicorn/unicorn_const.go index e5ab6863..04c52639 100644 --- a/bindings/go/unicorn/unicorn_const.go +++ b/bindings/go/unicorn/unicorn_const.go @@ -37,19 +37,18 @@ const ( UC_ERR_NOMEM = 1 UC_ERR_ARCH = 2 UC_ERR_HANDLE = 3 - UC_ERR_UCH = 4 - UC_ERR_MODE = 5 - UC_ERR_VERSION = 6 - UC_ERR_MEM_READ = 7 - UC_ERR_MEM_WRITE = 8 - UC_ERR_CODE_INVALID = 9 - UC_ERR_HOOK = 10 - UC_ERR_INSN_INVALID = 11 - UC_ERR_MAP = 12 - UC_ERR_WRITE_PROT = 13 - UC_ERR_READ_PROT = 14 - UC_ERR_EXEC_PROT = 15 - UC_ERR_INVAL = 16 + UC_ERR_MODE = 4 + UC_ERR_VERSION = 5 + UC_ERR_MEM_READ = 6 + UC_ERR_MEM_WRITE = 7 + UC_ERR_CODE_INVALID = 8 + UC_ERR_HOOK = 9 + UC_ERR_INSN_INVALID = 10 + UC_ERR_MAP = 11 + UC_ERR_WRITE_PROT = 12 + UC_ERR_READ_PROT = 13 + UC_ERR_EXEC_PROT = 14 + UC_ERR_INVAL = 15 UC_MEM_READ = 16 UC_MEM_WRITE = 17 UC_MEM_READ_WRITE = 18 diff --git a/bindings/python/unicorn/unicorn_const.py b/bindings/python/unicorn/unicorn_const.py index 0f2bf718..0d667784 100644 --- a/bindings/python/unicorn/unicorn_const.py +++ b/bindings/python/unicorn/unicorn_const.py @@ -35,19 +35,18 @@ UC_ERR_OK = 0 UC_ERR_NOMEM = 1 UC_ERR_ARCH = 2 UC_ERR_HANDLE = 3 -UC_ERR_UCH = 4 -UC_ERR_MODE = 5 -UC_ERR_VERSION = 6 -UC_ERR_MEM_READ = 7 -UC_ERR_MEM_WRITE = 8 -UC_ERR_CODE_INVALID = 9 -UC_ERR_HOOK = 10 -UC_ERR_INSN_INVALID = 11 -UC_ERR_MAP = 12 -UC_ERR_WRITE_PROT = 13 -UC_ERR_READ_PROT = 14 -UC_ERR_EXEC_PROT = 15 -UC_ERR_INVAL = 16 +UC_ERR_MODE = 4 +UC_ERR_VERSION = 5 +UC_ERR_MEM_READ = 6 +UC_ERR_MEM_WRITE = 7 +UC_ERR_CODE_INVALID = 8 +UC_ERR_HOOK = 9 +UC_ERR_INSN_INVALID = 10 +UC_ERR_MAP = 11 +UC_ERR_WRITE_PROT = 12 +UC_ERR_READ_PROT = 13 +UC_ERR_EXEC_PROT = 14 +UC_ERR_INVAL = 15 UC_MEM_READ = 16 UC_MEM_WRITE = 17 UC_MEM_READ_WRITE = 18