62 #define ZYDIS_VERSION (uint64_t)0x0002000000000000
73 #define ZYDIS_VERSION_MAJOR(version) (uint16_t)((version & 0xFFFF000000000000) >> 48)
80 #define ZYDIS_VERSION_MINOR(version) (uint16_t)((version & 0x0000FFFF00000000) >> 32)
87 #define ZYDIS_VERSION_PATCH(version) (uint16_t)((version & 0x00000000FFFF0000) >> 16)
94 #define ZYDIS_VERSION_BUILD(version) (uint16_t)(version & 0x000000000000FFFF)
Includes and defines some default datatypes.
uint8_t ZydisBool
@briefs Defines the ZydisBool datatype.
Definition: CommonTypes.h:92
Defines the basic ZydisDecodedInstruction and ZydisDecodedOperand structs.
Functions for decoding instructions.
General helper and platform detection macros.
Mnemonic constant definitions and helper functions.
Utility functions and constants for registers.
Defines decoder/encoder-shared macros and types.
Status code definitions and check macros.
ZYDIS_EXPORT uint64_t ZydisGetVersion()
Returns the zydis version.
ZydisFeatures
Values that represent zydis features.
Definition: Zydis.h:111
@ ZYDIS_FEATURE_EVEX
Definition: Zydis.h:112
@ ZYDIS_FEATURE_MVEX
Definition: Zydis.h:113
@ ZYDIS_FEATURE_FLAGS
Definition: Zydis.h:114
@ ZYDIS_FEATURE_CPUID
Definition: Zydis.h:115
uint8_t ZydisFeature
Defines the ZydisFeature datatype.
Definition: Zydis.h:105
ZYDIS_EXPORT ZydisBool ZydisIsFeatureEnabled(ZydisFeature feature)
Checks, if the specified feature is enabled in the current zydis library instance.