|
Zydis
v3.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_MAX_VALUE = ZYDIS_DECODER_MODE_CLDEMOTE , 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, ZydisAddressWidth address_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 | ZydisDecoderDecodeBuffer (const ZydisDecoder *decoder, const void *buffer, ZyanUSize length, ZydisDecodedInstruction *instruction) |
Decodes the instruction in the given input buffer. 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.