Zydis
v4.1.0
|
Functions for decoding instructions. More...
#include <Zycore/Types.h>
#include <Zycore/Defines.h>
#include <Zydis/DecoderTypes.h>
#include <Zydis/Status.h>
Go to the source code of this file.
Data Structures | |
struct | ZydisDecoder_ |
Defines the ZydisDecoder struct. More... | |
Typedefs | |
typedef enum ZydisDecoderMode_ | ZydisDecoderMode |
Defines the ZydisDecoderMode enum. More... | |
typedef struct ZydisDecoder_ | ZydisDecoder |
Defines the ZydisDecoder struct. More... | |
Enumerations | |
enum | ZydisDecoderMode_ { ZYDIS_DECODER_MODE_MINIMAL , ZYDIS_DECODER_MODE_AMD_BRANCHES , ZYDIS_DECODER_MODE_KNC , ZYDIS_DECODER_MODE_MPX , ZYDIS_DECODER_MODE_CET , ZYDIS_DECODER_MODE_LZCNT , ZYDIS_DECODER_MODE_TZCNT , ZYDIS_DECODER_MODE_WBNOINVD , ZYDIS_DECODER_MODE_CLDEMOTE , ZYDIS_DECODER_MODE_IPREFETCH , ZYDIS_DECODER_MODE_UD0_COMPAT , ZYDIS_DECODER_MODE_MAX_VALUE = ZYDIS_DECODER_MODE_UD0_COMPAT , ZYDIS_DECODER_MODE_REQUIRED_BITS = ZYAN_BITS_TO_REPRESENT(ZYDIS_DECODER_MODE_MAX_VALUE) } |
Defines the ZydisDecoderMode enum. More... | |
Functions | |
ZYDIS_EXPORT ZyanStatus | ZydisDecoderInit (ZydisDecoder *decoder, ZydisMachineMode machine_mode, ZydisStackWidth stack_width) |
Initializes the given ZydisDecoder instance. More... | |
ZYDIS_EXPORT ZyanStatus | ZydisDecoderEnableMode (ZydisDecoder *decoder, ZydisDecoderMode mode, ZyanBool enabled) |
Enables or disables the specified decoder-mode. More... | |
ZYDIS_EXPORT ZyanStatus | ZydisDecoderDecodeFull (const ZydisDecoder *decoder, const void *buffer, ZyanUSize length, ZydisDecodedInstruction *instruction, ZydisDecodedOperand operands[ZYDIS_MAX_OPERAND_COUNT]) |
Decodes the instruction in the given input buffer and returns all details (e.g. More... | |
ZYDIS_EXPORT ZyanStatus | ZydisDecoderDecodeInstruction (const ZydisDecoder *decoder, ZydisDecoderContext *context, const void *buffer, ZyanUSize length, ZydisDecodedInstruction *instruction) |
Decodes the instruction in the given input buffer . More... | |
ZYDIS_EXPORT ZyanStatus | ZydisDecoderDecodeOperands (const ZydisDecoder *decoder, const ZydisDecoderContext *context, const ZydisDecodedInstruction *instruction, ZydisDecodedOperand *operands, ZyanU8 operand_count) |
Decodes the instruction operands. More... | |
Functions for decoding instructions.
typedef struct ZydisDecoder_ ZydisDecoder |
Defines the ZydisDecoder
struct.
All fields in this struct should be considered as "private". Any changes may lead to unexpected behavior.
typedef enum ZydisDecoderMode_ ZydisDecoderMode |
Defines the ZydisDecoderMode
enum.
enum ZydisDecoderMode_ |
Defines the ZydisDecoderMode
enum.