Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version number to 5.0.0 #546

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
# Do a few more specialized configurations.
- platform: ubuntu-22.04
mode:
- name: minimal
args: -Dminimal=enabled -Ddecoder=enabled -Davx512=enabled -Dknc=enabled -Dsegment=enabled -Dtests=enabled
name: minimal
args: -Dminimal=enabled -Ddecoder=enabled -Davx512=enabled -Dknc=enabled -Dsegment=enabled -Dtests=enabled
extra_envs: {}
flavor: minsize
exclude:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15")
cmake_policy(SET CMP0091 NEW)
endif ()

project(Zydis VERSION 4.0.0.0 LANGUAGES C)
project(Zydis VERSION 5.0.0.0 LANGUAGES C)

include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# per line (i.e. do not split long lines with '\'), and only use '=' to set values

PROJECT_NAME = Zydis
PROJECT_NUMBER = v4.0.0
PROJECT_NUMBER = v5.0.0
OUTPUT_DIRECTORY = ./doc
INPUT = ./include ./README.md ./files.dox
JAVADOC_AUTOBRIEF = YES
Expand Down
10 changes: 5 additions & 5 deletions include/Zydis/Zydis.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ extern "C" {
/**
* A macro that defines the zydis version.
*/
#define ZYDIS_VERSION (ZyanU64)0x0004000000000000
#define ZYDIS_VERSION 0x0005000000000000ULL

/* ---------------------------------------------------------------------------------------------- */
/* Helper macros */
Expand All @@ -97,28 +97,28 @@ extern "C" {
*
* @param version The zydis version value
*/
#define ZYDIS_VERSION_MAJOR(version) (ZyanU16)(((version) & 0xFFFF000000000000) >> 48)
#define ZYDIS_VERSION_MAJOR(version) (((version) & 0xFFFF000000000000) >> 48)

/**
* Extracts the minor-part of the zydis version.
*
* @param version The zydis version value
*/
#define ZYDIS_VERSION_MINOR(version) (ZyanU16)(((version) & 0x0000FFFF00000000) >> 32)
#define ZYDIS_VERSION_MINOR(version) (((version) & 0x0000FFFF00000000) >> 32)

/**
* Extracts the patch-part of the zydis version.
*
* @param version The zydis version value
*/
#define ZYDIS_VERSION_PATCH(version) (ZyanU16)(((version) & 0x00000000FFFF0000) >> 16)
#define ZYDIS_VERSION_PATCH(version) (((version) & 0x00000000FFFF0000) >> 16)

/**
* Extracts the build-part of the zydis version.
*
* @param version The zydis version value
*/
#define ZYDIS_VERSION_BUILD(version) (ZyanU16)((version) & 0x000000000000FFFF)
#define ZYDIS_VERSION_BUILD(version) ((version) & 0x000000000000FFFF)

/* ---------------------------------------------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'Zydis',
'c',
version: '4.0.0',
version: '5.0.0',
license: 'MIT',
license_files: 'LICENSE',
meson_version: '>=1.3',
Expand Down
8 changes: 4 additions & 4 deletions resources/VersionInfo.rc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#include "winres.h"

VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,0,0,0
PRODUCTVERSION 4,0,0,0
FILEVERSION 5,0,0,0
PRODUCTVERSION 5,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -45,12 +45,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "zyantific"
VALUE "FileDescription", "Zyan Disassembler Library"
VALUE "FileVersion", "4.0.0.0"
VALUE "FileVersion", "5.0.0.0"
VALUE "InternalName", "Zydis"
VALUE "LegalCopyright", "Copyright \xA9 2014-2024 by zyantific.com"
VALUE "OriginalFilename", "Zydis.dll"
VALUE "ProductName", "Zyan Disassembler Library"
VALUE "ProductVersion", "4.0.0.0"
VALUE "ProductVersion", "5.0.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down