Go to the source code of this file.
|
#define | ZYDIS_VERSION (uint64_t)0x0002000000000000 |
| A macro that defines the zydis version. More...
|
|
#define | ZYDIS_VERSION_MAJOR(version) (uint16_t)((version & 0xFFFF000000000000) >> 48) |
| Extracts the major-part of the zydis version. More...
|
|
#define | ZYDIS_VERSION_MINOR(version) (uint16_t)((version & 0x0000FFFF00000000) >> 32) |
| Extracts the minor-part of the zydis version. More...
|
|
#define | ZYDIS_VERSION_PATCH(version) (uint16_t)((version & 0x00000000FFFF0000) >> 16) |
| Extracts the patch-part of the zydis version. More...
|
|
#define | ZYDIS_VERSION_BUILD(version) (uint16_t)(version & 0x000000000000FFFF) |
| Extracts the build-part of the zydis version. More...
|
|
◆ ZYDIS_VERSION
#define ZYDIS_VERSION (uint64_t)0x0002000000000000 |
A macro that defines the zydis version.
◆ ZYDIS_VERSION_BUILD
#define ZYDIS_VERSION_BUILD |
( |
|
version | ) |
(uint16_t)(version & 0x000000000000FFFF) |
Extracts the build-part of the zydis version.
- Parameters
-
version | The zydis version value |
◆ ZYDIS_VERSION_MAJOR
#define ZYDIS_VERSION_MAJOR |
( |
|
version | ) |
(uint16_t)((version & 0xFFFF000000000000) >> 48) |
Extracts the major-part of the zydis version.
- Parameters
-
version | The zydis version value |
◆ ZYDIS_VERSION_MINOR
#define ZYDIS_VERSION_MINOR |
( |
|
version | ) |
(uint16_t)((version & 0x0000FFFF00000000) >> 32) |
Extracts the minor-part of the zydis version.
- Parameters
-
version | The zydis version value |
◆ ZYDIS_VERSION_PATCH
#define ZYDIS_VERSION_PATCH |
( |
|
version | ) |
(uint16_t)((version & 0x00000000FFFF0000) >> 16) |
Extracts the patch-part of the zydis version.
- Parameters
-
version | The zydis version value |
◆ ZydisFeature
Defines the ZydisFeature
datatype.
◆ ZydisFeatures
Values that represent zydis features.
Enumerator |
---|
ZYDIS_FEATURE_EVEX | |
ZYDIS_FEATURE_MVEX | |
ZYDIS_FEATURE_FLAGS | |
ZYDIS_FEATURE_CPUID | |
◆ ZydisGetVersion()
ZYDIS_EXPORT uint64_t ZydisGetVersion |
( |
| ) |
|
Returns the zydis version.
- Returns
- The zydis version.
Use the macros provided in this file to extract the major, minor, patch and build part from the returned version value.
◆ ZydisIsFeatureEnabled()
Checks, if the specified feature is enabled in the current zydis library instance.
- Parameters
-
- Returns
True
if the feature is enabled, false
if not.