From 8dcaa33c664dd5eb71ce7d52faa4237a62a994c1 Mon Sep 17 00:00:00 2001 From: mio Date: Mon, 17 Feb 2025 20:26:31 +0800 Subject: [PATCH] Bump 2.1.3 --- Cargo.toml | 2 +- bindings/dotnet/UnicornEngine/Const/Common.fs | 4 ++-- bindings/dotnet/UnicornEngine/Const/Mips.fs | 4 +++- bindings/dotnet/UnicornEngine/UnicornEngine.fsproj | 2 +- bindings/dotnet/UnicornSamples/UnicornSamples.csproj | 2 +- bindings/go/unicorn/mips_const.go | 4 +++- bindings/go/unicorn/unicorn_const.go | 4 ++-- bindings/java/pom.xml | 2 +- bindings/java/src/main/java/unicorn/MipsConst.java | 4 +++- bindings/java/src/main/java/unicorn/UnicornConst.java | 4 ++-- bindings/pascal/unicorn/MipsConst.pas | 4 +++- bindings/pascal/unicorn/UnicornConst.pas | 4 ++-- bindings/python/unicorn/mips_const.py | 4 +++- bindings/python/unicorn/unicorn_const.py | 4 ++-- bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb | 4 +++- bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb | 4 ++-- bindings/zig/unicorn/mips_const.zig | 4 +++- bindings/zig/unicorn/unicorn_const.zig | 4 ++-- build.zig.zon | 2 +- include/unicorn/unicorn.h | 2 +- 20 files changed, 41 insertions(+), 27 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 540eef6a..2136e417 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unicorn-engine" -version = "2.1.2" +version = "2.1.3" authors = ["Ziqiao Kong", "Lukas Seidel"] documentation = "https://github.com/unicorn-engine/unicorn/wiki" edition = "2021" diff --git a/bindings/dotnet/UnicornEngine/Const/Common.fs b/bindings/dotnet/UnicornEngine/Const/Common.fs index 0f03ca42..addce7b7 100644 --- a/bindings/dotnet/UnicornEngine/Const/Common.fs +++ b/bindings/dotnet/UnicornEngine/Const/Common.fs @@ -8,11 +8,11 @@ open System module Common = let UC_API_MAJOR = 2 let UC_API_MINOR = 1 - let UC_API_PATCH = 2 + let UC_API_PATCH = 3 let UC_API_EXTRA = 255 let UC_VERSION_MAJOR = 2 let UC_VERSION_MINOR = 1 - let UC_VERSION_PATCH = 2 + let UC_VERSION_PATCH = 3 let UC_VERSION_EXTRA = 255 let UC_SECOND_SCALE = 1000000 let UC_MILISECOND_SCALE = 1000 diff --git a/bindings/dotnet/UnicornEngine/Const/Mips.fs b/bindings/dotnet/UnicornEngine/Const/Mips.fs index d4818783..76d0c714 100644 --- a/bindings/dotnet/UnicornEngine/Const/Mips.fs +++ b/bindings/dotnet/UnicornEngine/Const/Mips.fs @@ -198,7 +198,9 @@ module Mips = let UC_MIPS_REG_CP0_CONFIG3 = 137 let UC_MIPS_REG_CP0_USERLOCAL = 138 let UC_MIPS_REG_CP0_STATUS = 139 - let UC_MIPS_REG_ENDING = 140 + let UC_MIPS_REG_FIR = 140 + let UC_MIPS_REG_FCSR = 141 + let UC_MIPS_REG_ENDING = 142 let UC_MIPS_REG_ZERO = 2 let UC_MIPS_REG_AT = 3 let UC_MIPS_REG_V0 = 4 diff --git a/bindings/dotnet/UnicornEngine/UnicornEngine.fsproj b/bindings/dotnet/UnicornEngine/UnicornEngine.fsproj index bac82d6e..233aa9f6 100644 --- a/bindings/dotnet/UnicornEngine/UnicornEngine.fsproj +++ b/bindings/dotnet/UnicornEngine/UnicornEngine.fsproj @@ -6,7 +6,7 @@ Copyright © Antonio Parata 2016 https://github.com/unicorn-engine/unicorn .NET bindings for unicorn - 2.1.2 + 2.1.3 $(VersionSuffix) 0c21f1c1-2725-4a46-9022-1905f85822a5 true diff --git a/bindings/dotnet/UnicornSamples/UnicornSamples.csproj b/bindings/dotnet/UnicornSamples/UnicornSamples.csproj index 4518f574..facc1e97 100644 --- a/bindings/dotnet/UnicornSamples/UnicornSamples.csproj +++ b/bindings/dotnet/UnicornSamples/UnicornSamples.csproj @@ -6,7 +6,7 @@ UnicornSamples Copyright © Antonio Parata 2016 https://github.com/unicorn-engine/unicorn - 2.1.2 + 2.1.3 {B80B5987-1E24-4309-8BF9-C4F91270F21C} true diff --git a/bindings/go/unicorn/mips_const.go b/bindings/go/unicorn/mips_const.go index 8b25eab9..dfb6ddb0 100644 --- a/bindings/go/unicorn/mips_const.go +++ b/bindings/go/unicorn/mips_const.go @@ -193,7 +193,9 @@ const ( MIPS_REG_CP0_CONFIG3 = 137 MIPS_REG_CP0_USERLOCAL = 138 MIPS_REG_CP0_STATUS = 139 - MIPS_REG_ENDING = 140 + MIPS_REG_FIR = 140 + MIPS_REG_FCSR = 141 + MIPS_REG_ENDING = 142 MIPS_REG_ZERO = 2 MIPS_REG_AT = 3 MIPS_REG_V0 = 4 diff --git a/bindings/go/unicorn/unicorn_const.go b/bindings/go/unicorn/unicorn_const.go index 5f3f39a0..f005f652 100644 --- a/bindings/go/unicorn/unicorn_const.go +++ b/bindings/go/unicorn/unicorn_const.go @@ -3,11 +3,11 @@ package unicorn const ( API_MAJOR = 2 API_MINOR = 1 - API_PATCH = 2 + API_PATCH = 3 API_EXTRA = 255 VERSION_MAJOR = 2 VERSION_MINOR = 1 - VERSION_PATCH = 2 + VERSION_PATCH = 3 VERSION_EXTRA = 255 SECOND_SCALE = 1000000 MILISECOND_SCALE = 1000 diff --git a/bindings/java/pom.xml b/bindings/java/pom.xml index 62901964..eb580fa5 100644 --- a/bindings/java/pom.xml +++ b/bindings/java/pom.xml @@ -6,7 +6,7 @@ org.unicorn-engine unicorn - 2.1.2 + 2.1.3 unicorn https://www.unicorn-engine.org diff --git a/bindings/java/src/main/java/unicorn/MipsConst.java b/bindings/java/src/main/java/unicorn/MipsConst.java index 1cd6eb49..bf6d8cf2 100644 --- a/bindings/java/src/main/java/unicorn/MipsConst.java +++ b/bindings/java/src/main/java/unicorn/MipsConst.java @@ -195,7 +195,9 @@ public interface MipsConst { public static final int UC_MIPS_REG_CP0_CONFIG3 = 137; public static final int UC_MIPS_REG_CP0_USERLOCAL = 138; public static final int UC_MIPS_REG_CP0_STATUS = 139; - public static final int UC_MIPS_REG_ENDING = 140; + public static final int UC_MIPS_REG_FIR = 140; + public static final int UC_MIPS_REG_FCSR = 141; + public static final int UC_MIPS_REG_ENDING = 142; public static final int UC_MIPS_REG_ZERO = 2; public static final int UC_MIPS_REG_AT = 3; public static final int UC_MIPS_REG_V0 = 4; diff --git a/bindings/java/src/main/java/unicorn/UnicornConst.java b/bindings/java/src/main/java/unicorn/UnicornConst.java index add18860..2fca78c3 100644 --- a/bindings/java/src/main/java/unicorn/UnicornConst.java +++ b/bindings/java/src/main/java/unicorn/UnicornConst.java @@ -5,11 +5,11 @@ package unicorn; public interface UnicornConst { public static final int UC_API_MAJOR = 2; public static final int UC_API_MINOR = 1; - public static final int UC_API_PATCH = 2; + public static final int UC_API_PATCH = 3; public static final int UC_API_EXTRA = 255; public static final int UC_VERSION_MAJOR = 2; public static final int UC_VERSION_MINOR = 1; - public static final int UC_VERSION_PATCH = 2; + public static final int UC_VERSION_PATCH = 3; public static final int UC_VERSION_EXTRA = 255; public static final int UC_SECOND_SCALE = 1000000; public static final int UC_MILISECOND_SCALE = 1000; diff --git a/bindings/pascal/unicorn/MipsConst.pas b/bindings/pascal/unicorn/MipsConst.pas index 89324766..3cbce39a 100644 --- a/bindings/pascal/unicorn/MipsConst.pas +++ b/bindings/pascal/unicorn/MipsConst.pas @@ -196,7 +196,9 @@ const UC_MIPS_REG_CP0_CONFIG3 = 137; UC_MIPS_REG_CP0_USERLOCAL = 138; UC_MIPS_REG_CP0_STATUS = 139; - UC_MIPS_REG_ENDING = 140; + UC_MIPS_REG_FIR = 140; + UC_MIPS_REG_FCSR = 141; + UC_MIPS_REG_ENDING = 142; UC_MIPS_REG_ZERO = 2; UC_MIPS_REG_AT = 3; UC_MIPS_REG_V0 = 4; diff --git a/bindings/pascal/unicorn/UnicornConst.pas b/bindings/pascal/unicorn/UnicornConst.pas index fadf7400..0716ec3e 100644 --- a/bindings/pascal/unicorn/UnicornConst.pas +++ b/bindings/pascal/unicorn/UnicornConst.pas @@ -6,11 +6,11 @@ interface const UC_API_MAJOR = 2; UC_API_MINOR = 1; - UC_API_PATCH = 2; + UC_API_PATCH = 3; UC_API_EXTRA = 255; UC_VERSION_MAJOR = 2; UC_VERSION_MINOR = 1; - UC_VERSION_PATCH = 2; + UC_VERSION_PATCH = 3; UC_VERSION_EXTRA = 255; UC_SECOND_SCALE = 1000000; UC_MILISECOND_SCALE = 1000; diff --git a/bindings/python/unicorn/mips_const.py b/bindings/python/unicorn/mips_const.py index e19148b9..c60b2d0f 100644 --- a/bindings/python/unicorn/mips_const.py +++ b/bindings/python/unicorn/mips_const.py @@ -191,7 +191,9 @@ UC_MIPS_REG_MPL2 = 136 UC_MIPS_REG_CP0_CONFIG3 = 137 UC_MIPS_REG_CP0_USERLOCAL = 138 UC_MIPS_REG_CP0_STATUS = 139 -UC_MIPS_REG_ENDING = 140 +UC_MIPS_REG_FIR = 140 +UC_MIPS_REG_FCSR = 141 +UC_MIPS_REG_ENDING = 142 UC_MIPS_REG_ZERO = 2 UC_MIPS_REG_AT = 3 UC_MIPS_REG_V0 = 4 diff --git a/bindings/python/unicorn/unicorn_const.py b/bindings/python/unicorn/unicorn_const.py index 41975a08..8fab2241 100644 --- a/bindings/python/unicorn/unicorn_const.py +++ b/bindings/python/unicorn/unicorn_const.py @@ -1,11 +1,11 @@ # For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT [unicorn_const.py] UC_API_MAJOR = 2 UC_API_MINOR = 1 -UC_API_PATCH = 2 +UC_API_PATCH = 3 UC_API_EXTRA = 255 UC_VERSION_MAJOR = 2 UC_VERSION_MINOR = 1 -UC_VERSION_PATCH = 2 +UC_VERSION_PATCH = 3 UC_VERSION_EXTRA = 255 UC_SECOND_SCALE = 1000000 UC_MILISECOND_SCALE = 1000 diff --git a/bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb b/bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb index d3afbe7c..374912a8 100644 --- a/bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb +++ b/bindings/ruby/unicorn_gem/lib/unicorn_engine/mips_const.rb @@ -193,7 +193,9 @@ module UnicornEngine UC_MIPS_REG_CP0_CONFIG3 = 137 UC_MIPS_REG_CP0_USERLOCAL = 138 UC_MIPS_REG_CP0_STATUS = 139 - UC_MIPS_REG_ENDING = 140 + UC_MIPS_REG_FIR = 140 + UC_MIPS_REG_FCSR = 141 + UC_MIPS_REG_ENDING = 142 UC_MIPS_REG_ZERO = 2 UC_MIPS_REG_AT = 3 UC_MIPS_REG_V0 = 4 diff --git a/bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb b/bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb index 8e6c6fb9..c573a6f7 100644 --- a/bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb +++ b/bindings/ruby/unicorn_gem/lib/unicorn_engine/unicorn_const.rb @@ -3,11 +3,11 @@ module UnicornEngine UC_API_MAJOR = 2 UC_API_MINOR = 1 - UC_API_PATCH = 2 + UC_API_PATCH = 3 UC_API_EXTRA = 255 UC_VERSION_MAJOR = 2 UC_VERSION_MINOR = 1 - UC_VERSION_PATCH = 2 + UC_VERSION_PATCH = 3 UC_VERSION_EXTRA = 255 UC_SECOND_SCALE = 1000000 UC_MILISECOND_SCALE = 1000 diff --git a/bindings/zig/unicorn/mips_const.zig b/bindings/zig/unicorn/mips_const.zig index 39a8aaf9..0987cb2f 100644 --- a/bindings/zig/unicorn/mips_const.zig +++ b/bindings/zig/unicorn/mips_const.zig @@ -193,7 +193,9 @@ pub const mipsConst = enum(c_int) { MIPS_REG_CP0_CONFIG3 = 137, MIPS_REG_CP0_USERLOCAL = 138, MIPS_REG_CP0_STATUS = 139, - MIPS_REG_ENDING = 140, + MIPS_REG_FIR = 140, + MIPS_REG_FCSR = 141, + MIPS_REG_ENDING = 142, MIPS_REG_ZERO = 2, MIPS_REG_AT = 3, MIPS_REG_V0 = 4, diff --git a/bindings/zig/unicorn/unicorn_const.zig b/bindings/zig/unicorn/unicorn_const.zig index 0dc08298..7991ff97 100644 --- a/bindings/zig/unicorn/unicorn_const.zig +++ b/bindings/zig/unicorn/unicorn_const.zig @@ -3,11 +3,11 @@ pub const unicornConst = enum(c_int) { API_MAJOR = 2, API_MINOR = 1, - API_PATCH = 2, + API_PATCH = 3, API_EXTRA = 255, VERSION_MAJOR = 2, VERSION_MINOR = 1, - VERSION_PATCH = 2, + VERSION_PATCH = 3, VERSION_EXTRA = 255, SECOND_SCALE = 1000000, MILISECOND_SCALE = 1000, diff --git a/build.zig.zon b/build.zig.zon index 6006ae16..de7392c7 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,5 +1,5 @@ .{ .name = "unicorn", - .version = "2.1.2", + .version = "2.1.3", .paths = .{""}, } diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index b6887729..fc4d447f 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -72,7 +72,7 @@ typedef size_t uc_hook; // Unicorn API version #define UC_API_MAJOR 2 #define UC_API_MINOR 1 -#define UC_API_PATCH 2 +#define UC_API_PATCH 3 // Release candidate version, 255 means the official release. #define UC_API_EXTRA 255