35 #include <Zycore/Defines.h>
36 #include <Zycore/Types.h>
38 #ifndef ZYDIS_DISABLE_DECODER
43 #ifndef ZYDIS_DISABLE_FORMATTER
69 #define ZYDIS_VERSION (ZyanU64)0x0003000000000000
80 #define ZYDIS_VERSION_MAJOR(version) (ZyanU16)(((version) & 0xFFFF000000000000) >> 48)
87 #define ZYDIS_VERSION_MINOR(version) (ZyanU16)(((version) & 0x0000FFFF00000000) >> 32)
94 #define ZYDIS_VERSION_PATCH(version) (ZyanU16)(((version) & 0x00000000FFFF0000) >> 16)
101 #define ZYDIS_VERSION_BUILD(version) (ZyanU16)((version) & 0x000000000000FFFF)
Defines the basic ZydisDecodedInstruction and ZydisDecodedOperand structs.
Functions for decoding instructions.
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.
ZydisFeature_
Defines the ZydisFeature enum.
Definition: Zydis.h:113
@ ZYDIS_FEATURE_KNC
Definition: Zydis.h:117
@ ZYDIS_FEATURE_MAX_VALUE
Maximum value of this enum.
Definition: Zydis.h:122
@ ZYDIS_FEATURE_REQUIRED_BITS
The minimum number of bits required to represent all values of this enum.
Definition: Zydis.h:126
@ ZYDIS_FEATURE_DECODER
Definition: Zydis.h:114
@ ZYDIS_FEATURE_FORMATTER
Definition: Zydis.h:115
@ ZYDIS_FEATURE_AVX512
Definition: Zydis.h:116
enum ZydisFeature_ ZydisFeature
Defines the ZydisFeature enum.
ZYDIS_EXPORT ZyanStatus ZydisIsFeatureEnabled(ZydisFeature feature)
Checks, if the specified feature is enabled in the current zydis library instance.
ZYDIS_EXPORT ZyanU64 ZydisGetVersion(void)
Returns the zydis version.