Bump version and generate bindings

This commit is contained in:
mio
2024-09-21 23:00:19 +08:00
parent 6c4a3fd84b
commit 67f08b1c27
21 changed files with 220 additions and 56 deletions

View File

@@ -5,7 +5,7 @@
# Use bundle install && rake to install gem and test
install: gen_const
cd unicorn_gem && rake build
cd unicorn_gem && gem install --local pkg/unicorn-engine-2.0.0.gem
cd unicorn_gem && gem install --local pkg/unicorn-engine-2.1.0.gem
gen_const:
cd .. && python3 const_generator.py ruby

View File

@@ -2,15 +2,15 @@
module UnicornEngine
UC_API_MAJOR = 2
UC_API_MINOR = 1
UC_API_MINOR = 0
UC_API_PATCH = 2
UC_API_EXTRA = 1
UC_API_PATCH = 0
UC_API_EXTRA = 255
UC_VERSION_MAJOR = 2
UC_VERSION_MINOR = 1
UC_VERSION_MINOR = 0
UC_VERSION_PATCH = 2
UC_VERSION_EXTRA = 1
UC_VERSION_PATCH = 0
UC_VERSION_EXTRA = 255
UC_SECOND_SCALE = 1000000
UC_MILISECOND_SCALE = 1000
UC_ARCH_ARM = 1
@@ -75,6 +75,7 @@ module UnicornEngine
UC_ERR_HOOK_EXIST = 19
UC_ERR_RESOURCE = 20
UC_ERR_EXCEPTION = 21
UC_ERR_OVERFLOW = 22
UC_MEM_READ = 16
UC_MEM_WRITE = 17
UC_MEM_FETCH = 18
@@ -140,10 +141,14 @@ module UnicornEngine
UC_CTL_TB_FLUSH = 10
UC_CTL_TLB_FLUSH = 11
UC_CTL_TLB_TYPE = 12
UC_CTL_TCG_BUFFER_SIZE = 13
UC_CTL_CONTEXT_MODE = 14
UC_PROT_NONE = 0
UC_PROT_READ = 1
UC_PROT_WRITE = 2
UC_PROT_EXEC = 4
UC_PROT_ALL = 7
UC_CTL_CONTEXT_CPU = 1
UC_CTL_CONTEXT_MEMORY = 2
end

View File

@@ -1,3 +1,3 @@
module Unicorn
VERSION = "2.0.0"
VERSION = "2.1.0"
end