From 0c78613612a7619696ad6570d46d66b4cc0dfa8b Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 29 Aug 2015 13:18:22 +0800 Subject: [PATCH] Go: update some consts after the last change on uc_mem_map() API --- bindings/go/unicorn/unicorn_const.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/go/unicorn/unicorn_const.go b/bindings/go/unicorn/unicorn_const.go index 62effcc3..bd9a5c55 100644 --- a/bindings/go/unicorn/unicorn_const.go +++ b/bindings/go/unicorn/unicorn_const.go @@ -61,6 +61,9 @@ const ( UC_HOOK_MEM_READ = 37 UC_HOOK_MEM_WRITE = 38 UC_HOOK_MEM_READ_WRITE = 39 + + UC_PROT_NONE = 0 UC_PROT_READ = 1 UC_PROT_WRITE = 2 + UC_PROT_ALL = 3 ) \ No newline at end of file