Zydis
v3.2.1
|
Other utility functions. More...
Go to the source code of this file.
Data Structures | |
struct | ZydisInstructionSegments_ |
Defines the ZydisInstructionSegments struct. More... | |
Macros | |
#define | ZYDIS_MAX_INSTRUCTION_SEGMENT_COUNT 9 |
Typedefs | |
typedef enum ZydisInstructionSegment_ | ZydisInstructionSegment |
Defines the ZydisInstructionSegment struct. More... | |
typedef struct ZydisInstructionSegments_ | ZydisInstructionSegments |
Defines the ZydisInstructionSegments struct. More... | |
Enumerations | |
enum | ZydisInstructionSegment_ { ZYDIS_INSTR_SEGMENT_NONE , ZYDIS_INSTR_SEGMENT_PREFIXES , ZYDIS_INSTR_SEGMENT_REX , ZYDIS_INSTR_SEGMENT_XOP , ZYDIS_INSTR_SEGMENT_VEX , ZYDIS_INSTR_SEGMENT_EVEX , ZYDIS_INSTR_SEGMENT_MVEX , ZYDIS_INSTR_SEGMENT_OPCODE , ZYDIS_INSTR_SEGMENT_MODRM , ZYDIS_INSTR_SEGMENT_SIB , ZYDIS_INSTR_SEGMENT_DISPLACEMENT , ZYDIS_INSTR_SEGMENT_IMMEDIATE , ZYDIS_INSTR_SEGMENT_MAX_VALUE = ZYDIS_INSTR_SEGMENT_IMMEDIATE , ZYDIS_INSTR_SEGMENT_REQUIRED_BITS = ZYAN_BITS_TO_REPRESENT(ZYDIS_INSTR_SEGMENT_MAX_VALUE) } |
Defines the ZydisInstructionSegment struct. More... | |
Functions | |
ZYDIS_EXPORT ZyanStatus | ZydisCalcAbsoluteAddress (const ZydisDecodedInstruction *instruction, const ZydisDecodedOperand *operand, ZyanU64 runtime_address, ZyanU64 *result_address) |
Calculates the absolute address value for the given instruction operand. More... | |
ZYDIS_EXPORT ZyanStatus | ZydisCalcAbsoluteAddressEx (const ZydisDecodedInstruction *instruction, const ZydisDecodedOperand *operand, ZyanU64 runtime_address, const ZydisRegisterContext *register_context, ZyanU64 *result_address) |
Calculates the absolute address value for the given instruction operand. More... | |
ZYDIS_EXPORT ZyanStatus | ZydisGetAccessedFlagsByAction (const ZydisDecodedInstruction *instruction, ZydisCPUFlagAction action, ZydisCPUFlags *flags) |
Returns a mask of accessed CPU-flags matching the given action . More... | |
ZYDIS_DEPRECATED_EXPORT ZyanStatus | ZydisGetAccessedFlagsRead (const ZydisDecodedInstruction *instruction, ZydisCPUFlags *flags) |
Returns a mask of accessed CPU-flags that are read (tested) by the current instruction. More... | |
ZYDIS_DEPRECATED_EXPORT ZyanStatus | ZydisGetAccessedFlagsWritten (const ZydisDecodedInstruction *instruction, ZydisCPUFlags *flags) |
Returns a mask of accessed CPU-flags that are written (modified, undefined) by the current instruction. More... | |
ZYDIS_EXPORT ZyanStatus | ZydisGetInstructionSegments (const ZydisDecodedInstruction *instruction, ZydisInstructionSegments *segments) |
Returns offsets and sizes of all logical instruction segments (e.g. More... | |
Other utility functions.
#define ZYDIS_MAX_INSTRUCTION_SEGMENT_COUNT 9 |
typedef enum ZydisInstructionSegment_ ZydisInstructionSegment |
Defines the ZydisInstructionSegment
struct.
typedef struct ZydisInstructionSegments_ ZydisInstructionSegments |
Defines the ZydisInstructionSegments
struct.
Defines the ZydisInstructionSegment
struct.