32 #ifndef ZYDIS_DISASSEMBLER_H
33 #define ZYDIS_DISASSEMBLER_H
117 ZyanU64 runtime_address,
const void* buffer, ZyanUSize length,
126 ZyanU64 runtime_address,
const void* buffer, ZyanUSize length,
Functions for decoding instructions.
#define ZYDIS_EXPORT
Symbol is exported in shared library builds.
Definition: Defines.h:67
ZYDIS_EXPORT ZyanStatus ZydisDisassembleATT(ZydisMachineMode machine_mode, ZyanU64 runtime_address, const void *buffer, ZyanUSize length, ZydisDisassembledInstruction *instruction)
Disassemble an instruction and format it to human-readable text in a single step (AT&T syntax).
struct ZydisDisassembledInstruction_ ZydisDisassembledInstruction
All commonly used information about a decoded instruction that Zydis can provide.
ZYDIS_EXPORT ZyanStatus ZydisDisassembleIntel(ZydisMachineMode machine_mode, ZyanU64 runtime_address, const void *buffer, ZyanUSize length, ZydisDisassembledInstruction *instruction)
Disassemble an instruction and format it to human-readable text in a single step (Intel syntax).
#define ZYDIS_MAX_OPERAND_COUNT
Definition: SharedTypes.h:50
enum ZydisMachineMode_ ZydisMachineMode
Defines the ZydisMachineMode enum.
Information about a decoded instruction.
Definition: DecoderTypes.h:1238
Defines the ZydisDecodedOperand struct.
Definition: DecoderTypes.h:200
All commonly used information about a decoded instruction that Zydis can provide.
Definition: Disassembler.h:52
ZyanU64 runtime_address
The runtime address that was passed when disassembling the instruction.
Definition: Disassembler.h:56
char text[96]
The textual, human-readable representation of the instruction.
Definition: Disassembler.h:76
ZydisDecodedOperand operands[ZYDIS_MAX_OPERAND_COUNT]
The operands of the decoded instruction in a machine-readable format.
Definition: Disassembler.h:70
ZydisDecodedInstruction info
General information about the decoded instruction in machine-readable format.
Definition: Disassembler.h:60