Functions allowing decoding of instruction bytes to a machine interpretable struct.
More...
Functions allowing decoding of instruction bytes to a machine interpretable struct.
◆ ZydisDecoderDecodeBuffer()
Decodes the instruction in the given input buffer
.
- Parameters
-
decoder | A pointer to the ZydisDecoder instance. |
buffer | A pointer to the input buffer. |
length | The length of the input buffer. |
instruction | A pointer to the ZydisDecodedInstruction struct, that receives the details about the decoded instruction. |
- Returns
- A zyan status code.
◆ ZydisDecoderEnableMode()
Enables or disables the specified decoder-mode.
- Parameters
-
decoder | A pointer to the ZydisDecoder instance. |
mode | The decoder mode. |
enabled | ZYAN_TRUE to enable, or ZYAN_FALSE to disable the specified decoder-mode. |
- Returns
- A zyan status code.
◆ ZydisDecoderInit()
Initializes the given ZydisDecoder
instance.
- Parameters
-
decoder | A pointer to the ZydisDecoder instance. |
machine_mode | The machine mode. |
address_width | The address width. |
- Returns
- A zyan status code.