36 #ifndef ZYDIS_DISABLE_DECODER
41 #ifndef ZYDIS_DISABLE_FORMATTER
67 #define ZYDIS_VERSION (ZydisU64)0x0002000000030000
78 #define ZYDIS_VERSION_MAJOR(version) (ZydisU16)((version & 0xFFFF000000000000) >> 48)
85 #define ZYDIS_VERSION_MINOR(version) (ZydisU16)((version & 0x0000FFFF00000000) >> 32)
92 #define ZYDIS_VERSION_PATCH(version) (ZydisU16)((version & 0x00000000FFFF0000) >> 16)
99 #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:110
ZYDIS_EXPORT ZydisU64 ZydisGetVersion(void)
Returns the zydis version.
ZydisFeatures
Values that represent zydis features.
Definition: Zydis.h:116
@ ZYDIS_FEATURE_EVEX
Definition: Zydis.h:117
@ ZYDIS_FEATURE_MVEX
Definition: Zydis.h:118
ZYDIS_EXPORT ZydisBool ZydisIsFeatureEnabled(ZydisFeature feature)
Checks, if the specified feature is enabled in the current zydis library instance.