From dafdcd3f063b8bc3924850f4d00030b475fb1e43 Mon Sep 17 00:00:00 2001 From: Bet4 <0xbet4@gmail.com> Date: Wed, 4 May 2022 21:31:53 +0800 Subject: [PATCH] Fix outdated version --- .gitignore | 3 +++ bindings/python/unicorn/unicorn.py | 2 +- bindings/ruby/Makefile | 2 +- bindings/ruby/unicorn_gem/lib/unicorn_engine/version.rb | 2 +- bindings/rust/README.md | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fad42502..3fd9cb69 100644 --- a/.gitignore +++ b/.gitignore @@ -10,8 +10,11 @@ *.dll *.class *.jar +*.gem *~ +qemu/*-softmmu/ + tags qemu/config-host.ld qemu/config.log diff --git a/bindings/python/unicorn/unicorn.py b/bindings/python/unicorn/unicorn.py index 5b0d4d51..30decacc 100644 --- a/bindings/python/unicorn/unicorn.py +++ b/bindings/python/unicorn/unicorn.py @@ -98,7 +98,7 @@ for _path in _path_list: else: raise ImportError("ERROR: fail to load the dynamic library.") -__version__ = "%u.%u.%u" % (uc.UC_VERSION_MAJOR, uc.UC_VERSION_MINOR, uc.UC_VERSION_EXTRA) +__version__ = "%u.%u.%u" % (uc.UC_VERSION_MAJOR, uc.UC_VERSION_MINOR, uc.UC_VERSION_PATCH) # setup all the function prototype def _setup_prototype(lib, fname, restype, *argtypes): diff --git a/bindings/ruby/Makefile b/bindings/ruby/Makefile index aa92fa53..c4033f83 100644 --- a/bindings/ruby/Makefile +++ b/bindings/ruby/Makefile @@ -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-1.0.1.gem + cd unicorn_gem && gem install --local pkg/unicorn-engine-2.0.0.gem gen_const: cd .. && python3 const_generator.py ruby diff --git a/bindings/ruby/unicorn_gem/lib/unicorn_engine/version.rb b/bindings/ruby/unicorn_gem/lib/unicorn_engine/version.rb index bca7c5fa..2e12656e 100644 --- a/bindings/ruby/unicorn_gem/lib/unicorn_engine/version.rb +++ b/bindings/ruby/unicorn_gem/lib/unicorn_engine/version.rb @@ -1,3 +1,3 @@ module Unicorn - VERSION = "1.0.1" + VERSION = "2.0.0" end diff --git a/bindings/rust/README.md b/bindings/rust/README.md index 31993814..fb177203 100644 --- a/bindings/rust/README.md +++ b/bindings/rust/README.md @@ -32,7 +32,7 @@ Add this to your `Cargo.toml`: ``` [dependencies] -unicorn-engine = "2.0.0-rc3" +unicorn-engine = "2.0.0" ``` ## Acknowledgements