Zydis
v2.0.0
|
#include <Zydis/Defines.h>
#include <Zydis/Mnemonic.h>
#include <Zydis/Register.h>
#include <Zydis/SharedTypes.h>
#include "Zydis/DecoderTypes.h"
Go to the source code of this file.
Data Structures | |
struct | ZydisOperandDefinition_ |
Defines the ZydisOperandDefinition struct. More... | |
struct | ZydisInstructionDefinition_ |
Defines the ZydisInstructionDefinition struct. More... | |
struct | ZydisInstructionDefinitionDEFAULT_ |
Defines the ZydisInstructionDefinitionDEFAULT struct. More... | |
struct | ZydisInstructionDefinition3DNOW_ |
Defines the ZydisInstructionDefinition3DNOW struct. More... | |
struct | ZydisInstructionDefinitionXOP_ |
Defines the ZydisInstructionDefinitionXOP struct. More... | |
struct | ZydisInstructionDefinitionVEX_ |
Defines the ZydisInstructionDefinitionVEX struct. More... | |
struct | ZydisInstructionDefinitionEVEX_ |
Defines the ZydisInstructionDefinitionEVEX struct. More... | |
struct | ZydisInstructionDefinitionMVEX_ |
Defines the ZydisInstructionDefinitionMVEX struct. More... | |
struct | ZydisAccessedFlags_ |
Macros | |
#define | ZYDIS_INSTRUCTION_DEFINITION_BASE |
#define | ZYDIS_INSTRUCTION_DEFINITION_BASE_VECTOR |
#define | ZYDIS_INSTRUCTION_DEFINITION_BASE_VECTOR_INTEL |
Typedefs | |
typedef ZydisU8 | ZydisSemanticOperandType |
Defines the ZydisSemanticOperandType datatype. More... | |
typedef ZydisU8 | ZydisInternalElementType |
Defines the ZydisInternalElementType datatype. More... | |
typedef struct ZydisOperandDefinition_ | ZydisOperandDefinition |
Defines the ZydisOperandDefinition struct. More... | |
typedef ZydisU8 | ZydisRegisterConstraint |
Defines the ZydisRegisterConstraint datatype. More... | |
typedef ZydisU8 | ZydisInternalVectorLength |
Defines the ZydisInternalVectorLength datatype. More... | |
typedef ZydisU8 | ZydisInternalElementSize |
Defines the ZydisInternalElementSize datatype. More... | |
typedef ZydisU8 | ZydisEVEXFunctionality |
Defines the ZydisEVEXFunctionality datatype. More... | |
typedef ZydisU8 | ZydisEVEXTupleType |
Defines the ZydisEVEXTupleType datatype. More... | |
typedef ZydisU8 | ZydisMVEXFunctionality |
Defines the ZydisMVEXFunctionality datatype. More... | |
typedef ZydisU8 | ZydisVEXStaticBroadcast |
Defines the ZydisVEXStaticBroadcast datatype. More... | |
typedef ZydisU8 | ZydisEVEXStaticBroadcast |
Defines the ZydisEVEXStaticBroadcast datatype. More... | |
typedef ZydisU8 | ZydisMVEXStaticBroadcast |
Defines the ZydisMVEXStaticBroadcast datatype. More... | |
typedef ZydisU8 | ZydisMaskPolicy |
Defines the ZydisMaskPolicy datatype. More... | |
typedef struct ZydisInstructionDefinition_ | ZydisInstructionDefinition |
Defines the ZydisInstructionDefinition struct. More... | |
typedef struct ZydisInstructionDefinitionDEFAULT_ | ZydisInstructionDefinitionDEFAULT |
Defines the ZydisInstructionDefinitionDEFAULT struct. More... | |
typedef struct ZydisInstructionDefinition3DNOW_ | ZydisInstructionDefinition3DNOW |
Defines the ZydisInstructionDefinition3DNOW struct. More... | |
typedef struct ZydisInstructionDefinitionXOP_ | ZydisInstructionDefinitionXOP |
Defines the ZydisInstructionDefinitionXOP struct. More... | |
typedef struct ZydisInstructionDefinitionVEX_ | ZydisInstructionDefinitionVEX |
Defines the ZydisInstructionDefinitionVEX struct. More... | |
typedef struct ZydisInstructionDefinitionEVEX_ | ZydisInstructionDefinitionEVEX |
Defines the ZydisInstructionDefinitionEVEX struct. More... | |
typedef struct ZydisInstructionDefinitionMVEX_ | ZydisInstructionDefinitionMVEX |
Defines the ZydisInstructionDefinitionMVEX struct. More... | |
typedef struct ZydisAccessedFlags_ | ZydisAccessedFlags |
Functions | |
ZYDIS_NO_EXPORT void | ZydisGetInstructionDefinition (ZydisInstructionEncoding encoding, ZydisU16 id, const ZydisInstructionDefinition **definition) |
Returns the instruction-definition with the given encoding and id . More... | |
ZYDIS_NO_EXPORT ZydisU8 | ZydisGetOperandDefinitions (const ZydisInstructionDefinition *definition, const ZydisOperandDefinition **operand) |
Returns the the operand-definitions for the given instruction-definition . More... | |
ZYDIS_NO_EXPORT void | ZydisGetElementInfo (ZydisInternalElementType element, ZydisElementType *type, ZydisElementSize *size) |
Returns the actual type and size of an internal element-type. More... | |
ZYDIS_NO_EXPORT void | ZydisGetAccessedFlags (const ZydisInstructionDefinition *definition, const ZydisAccessedFlags **flags) |
Returns the the operand-definitions for the given instruction-definition . More... | |
#define ZYDIS_INSTRUCTION_DEFINITION_BASE |
#define ZYDIS_INSTRUCTION_DEFINITION_BASE_VECTOR |
#define ZYDIS_INSTRUCTION_DEFINITION_BASE_VECTOR_INTEL |
typedef struct ZydisAccessedFlags_ ZydisAccessedFlags |
typedef ZydisU8 ZydisEVEXFunctionality |
Defines the ZydisEVEXFunctionality
datatype.
typedef ZydisU8 ZydisEVEXStaticBroadcast |
Defines the ZydisEVEXStaticBroadcast
datatype.
typedef ZydisU8 ZydisEVEXTupleType |
Defines the ZydisEVEXTupleType
datatype.
typedef struct ZydisInstructionDefinition_ ZydisInstructionDefinition |
Defines the ZydisInstructionDefinition
struct.
typedef struct ZydisInstructionDefinition3DNOW_ ZydisInstructionDefinition3DNOW |
Defines the ZydisInstructionDefinition3DNOW
struct.
Defines the ZydisInstructionDefinitionDEFAULT
struct.
typedef struct ZydisInstructionDefinitionEVEX_ ZydisInstructionDefinitionEVEX |
Defines the ZydisInstructionDefinitionEVEX
struct.
typedef struct ZydisInstructionDefinitionMVEX_ ZydisInstructionDefinitionMVEX |
Defines the ZydisInstructionDefinitionMVEX
struct.
typedef struct ZydisInstructionDefinitionVEX_ ZydisInstructionDefinitionVEX |
Defines the ZydisInstructionDefinitionVEX
struct.
typedef struct ZydisInstructionDefinitionXOP_ ZydisInstructionDefinitionXOP |
Defines the ZydisInstructionDefinitionXOP
struct.
typedef ZydisU8 ZydisInternalElementSize |
Defines the ZydisInternalElementSize
datatype.
typedef ZydisU8 ZydisInternalElementType |
Defines the ZydisInternalElementType
datatype.
typedef ZydisU8 ZydisInternalVectorLength |
Defines the ZydisInternalVectorLength
datatype.
typedef ZydisU8 ZydisMaskPolicy |
Defines the ZydisMaskPolicy
datatype.
typedef ZydisU8 ZydisMVEXFunctionality |
Defines the ZydisMVEXFunctionality
datatype.
typedef ZydisU8 ZydisMVEXStaticBroadcast |
Defines the ZydisMVEXStaticBroadcast
datatype.
typedef struct ZydisOperandDefinition_ ZydisOperandDefinition |
Defines the ZydisOperandDefinition
struct.
typedef ZydisU8 ZydisRegisterConstraint |
Defines the ZydisRegisterConstraint
datatype.
typedef ZydisU8 ZydisSemanticOperandType |
Defines the ZydisSemanticOperandType
datatype.
typedef ZydisU8 ZydisVEXStaticBroadcast |
Defines the ZydisVEXStaticBroadcast
datatype.
Values that represent static EVEX-broadcasts.
enum ZydisEVEXTupleTypes |
Values that represent EVEX tuple-types.
enum ZydisImplicitMemBase |
Values that represent internal element-types.
enum ZydisMaskPolicies |
Values that represent AVX mask policies.
Values that represent MVEX-functionalities.
Values that represent register-constraints.
Values that represent semantic operand-types.
Values that represent static VEX-broadcasts.
ZYDIS_NO_EXPORT void ZydisGetAccessedFlags | ( | const ZydisInstructionDefinition * | definition, |
const ZydisAccessedFlags ** | flags | ||
) |
Returns the the operand-definitions for the given instruction-definition
.
definition | A pointer to the instruction-definition. |
flags | A pointer to the variable that receives the ZydisAccessedFlags struct. |
ZYDIS_NO_EXPORT void ZydisGetElementInfo | ( | ZydisInternalElementType | element, |
ZydisElementType * | type, | ||
ZydisElementSize * | size | ||
) |
Returns the actual type and size of an internal element-type.
element | The internal element type. |
type | The actual element type. |
size | The element size. |
ZYDIS_NO_EXPORT void ZydisGetInstructionDefinition | ( | ZydisInstructionEncoding | encoding, |
ZydisU16 | id, | ||
const ZydisInstructionDefinition ** | definition | ||
) |
Returns the instruction-definition with the given encoding
and id
.
encoding | The instruction-encoding. |
id | The definition-id. |
definition | A pointer to the variable that receives a pointer to the instruction- definition. |
ZYDIS_NO_EXPORT ZydisU8 ZydisGetOperandDefinitions | ( | const ZydisInstructionDefinition * | definition, |
const ZydisOperandDefinition ** | operand | ||
) |
Returns the the operand-definitions for the given instruction-definition
.
definition | A pointer to the instruction-definition. |
operand | A pointer to the variable that receives a pointer to the first operand- definition of the instruction. |