Zydis
v2.0.0-beta1
|
Master include file, including everything else. More...
#include <Zydis/CommonTypes.h>
#include <Zydis/Decoder.h>
#include <Zydis/DecoderTypes.h>
#include <Zydis/Defines.h>
#include <Zydis/Formatter.h>
#include <Zydis/MetaInfo.h>
#include <Zydis/Mnemonic.h>
#include <Zydis/Register.h>
#include <Zydis/SharedTypes.h>
#include <Zydis/Status.h>
#include <Zydis/String.h>
#include <Zydis/Utils.h>
Go to the source code of this file.
Macros | |
#define | ZYDIS_VERSION (ZydisU64)0x0002000000000000 |
A macro that defines the zydis version. More... | |
#define | ZYDIS_VERSION_MAJOR(version) (ZydisU16)((version & 0xFFFF000000000000) >> 48) |
Extracts the major-part of the zydis version. More... | |
#define | ZYDIS_VERSION_MINOR(version) (ZydisU16)((version & 0x0000FFFF00000000) >> 32) |
Extracts the minor-part of the zydis version. More... | |
#define | ZYDIS_VERSION_PATCH(version) (ZydisU16)((version & 0x00000000FFFF0000) >> 16) |
Extracts the patch-part of the zydis version. More... | |
#define | ZYDIS_VERSION_BUILD(version) (ZydisU16)(version & 0x000000000000FFFF) |
Extracts the build-part of the zydis version. More... | |
Typedefs | |
typedef ZydisU8 | ZydisFeature |
Defines the ZydisFeature datatype. More... | |
Enumerations | |
enum | ZydisFeatures { ZYDIS_FEATURE_EVEX , ZYDIS_FEATURE_MVEX } |
Values that represent zydis features. More... | |
Functions | |
ZYDIS_EXPORT ZydisU64 | ZydisGetVersion (void) |
Returns the zydis version. More... | |
ZYDIS_EXPORT ZydisBool | ZydisIsFeatureEnabled (ZydisFeature feature) |
Checks, if the specified feature is enabled in the current zydis library instance. More... | |
Master include file, including everything else.
#define ZYDIS_VERSION (ZydisU64)0x0002000000000000 |
A macro that defines the zydis version.
#define ZYDIS_VERSION_BUILD | ( | version | ) | (ZydisU16)(version & 0x000000000000FFFF) |
Extracts the build-part of the zydis version.
version | The zydis version value |
#define ZYDIS_VERSION_MAJOR | ( | version | ) | (ZydisU16)((version & 0xFFFF000000000000) >> 48) |
Extracts the major-part of the zydis version.
version | The zydis version value |
#define ZYDIS_VERSION_MINOR | ( | version | ) | (ZydisU16)((version & 0x0000FFFF00000000) >> 32) |
Extracts the minor-part of the zydis version.
version | The zydis version value |
#define ZYDIS_VERSION_PATCH | ( | version | ) | (ZydisU16)((version & 0x00000000FFFF0000) >> 16) |
Extracts the patch-part of the zydis version.
version | The zydis version value |
typedef ZydisU8 ZydisFeature |
Defines the ZydisFeature
datatype.
enum ZydisFeatures |
ZYDIS_EXPORT ZydisU64 ZydisGetVersion | ( | void | ) |
Returns the zydis version.
Use the macros provided in this file to extract the major, minor, patch and build part from the returned version value.
ZYDIS_EXPORT ZydisBool ZydisIsFeatureEnabled | ( | ZydisFeature | feature | ) |
Checks, if the specified feature is enabled in the current zydis library instance.
feature | The feature. |
True
if the feature is enabled, false
if not.