63 #define ZYDIS_VERSION (ZydisU64)0x0002000000000000
74 #define ZYDIS_VERSION_MAJOR(version) (ZydisU16)((version & 0xFFFF000000000000) >> 48)
81 #define ZYDIS_VERSION_MINOR(version) (ZydisU16)((version & 0x0000FFFF00000000) >> 32)
88 #define ZYDIS_VERSION_PATCH(version) (ZydisU16)((version & 0x00000000FFFF0000) >> 16)
95 #define ZYDIS_VERSION_BUILD(version) (ZydisU16)(version & 0x000000000000FFFF)
Includes and defines some default datatypes.
uint64_t ZydisU64
Definition: CommonTypes.h:48
uint8_t ZydisU8
Definition: CommonTypes.h:45
ZydisU8 ZydisBool
@briefs Defines the ZydisBool datatype.
Definition: CommonTypes.h:133
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.
ZydisU8 ZydisFeature
Defines the ZydisFeature datatype.
Definition: Zydis.h:106
ZYDIS_EXPORT ZydisU64 ZydisGetVersion(void)
Returns the zydis version.
ZydisFeatures
Values that represent zydis features.
Definition: Zydis.h:112
@ ZYDIS_FEATURE_EVEX
Definition: Zydis.h:113
@ ZYDIS_FEATURE_MVEX
Definition: Zydis.h:114
ZYDIS_EXPORT ZydisBool ZydisIsFeatureEnabled(ZydisFeature feature)
Checks, if the specified feature is enabled in the current zydis library instance.