56 #define ZYDIS_VERSION (uint64_t)0x0002000000000000
67 #define ZYDIS_VERSION_MAJOR(version) (uint16_t)((version & 0xFFFF000000000000) >> 48)
74 #define ZYDIS_VERSION_MINOR(version) (uint16_t)((version & 0x0000FFFF00000000) >> 32)
81 #define ZYDIS_VERSION_PATCH(version) (uint16_t)((version & 0x00000000FFFF0000) >> 16)
88 #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:63
Defines the basic ZydisDecodedInstruction and ZydisDecodedOperand structs.
Defines decoder/encoder-shared macros and types.
ZYDIS_EXPORT uint64_t ZydisGetVersion()
Returns the zydis version.
ZydisFeatures
Values that represent zydis features.
Definition: Zydis.h:105
@ ZYDIS_FEATURE_EVEX
Definition: Zydis.h:106
@ ZYDIS_FEATURE_MVEX
Definition: Zydis.h:107
@ ZYDIS_FEATURE_FLAGS
Definition: Zydis.h:108
@ ZYDIS_FEATURE_CPUID
Definition: Zydis.h:109
uint8_t ZydisFeature
Defines the ZydisFeature datatype.
Definition: Zydis.h:99
ZYDIS_EXPORT ZydisBool ZydisIsFeatureEnabled(ZydisFeature feature)
Checks, if the specified feature is enabled in the current zydis library instance.