Zydis
v3.1.0
|
Defines the ZydisFormatter
struct.
More...
#include <Formatter.h>
Data Fields | |
ZydisFormatterStyle | style |
The formatter style. More... | |
ZyanBool | force_memory_size |
The ZYDIS_FORMATTER_PROP_FORCE_SIZE property. More... | |
ZyanBool | force_memory_segment |
The ZYDIS_FORMATTER_PROP_FORCE_SEGMENT property. More... | |
ZyanBool | force_relative_branches |
The ZYDIS_FORMATTER_PROP_FORCE_RELATIVE_BRANCHES property. More... | |
ZyanBool | force_relative_riprel |
The ZYDIS_FORMATTER_PROP_FORCE_RELATIVE_RIPREL property. More... | |
ZyanBool | print_branch_size |
The ZYDIS_FORMATTER_PROP_PRINT_BRANCH_SIZE property. More... | |
ZyanBool | detailed_prefixes |
The ZYDIS_FORMATTER_DETAILED_PREFIXES property. More... | |
ZydisNumericBase | addr_base |
The ZYDIS_FORMATTER_ADDR_BASE property. More... | |
ZydisSignedness | addr_signedness |
The ZYDIS_FORMATTER_ADDR_SIGNEDNESS property. More... | |
ZydisPadding | addr_padding_absolute |
The ZYDIS_FORMATTER_ADDR_PADDING_ABSOLUTE property. More... | |
ZydisPadding | addr_padding_relative |
The ZYDIS_FORMATTER_ADDR_PADDING_RELATIVE property. More... | |
ZydisNumericBase | disp_base |
The ZYDIS_FORMATTER_DISP_BASE property. More... | |
ZydisSignedness | disp_signedness |
The ZYDIS_FORMATTER_DISP_SIGNEDNESS property. More... | |
ZydisPadding | disp_padding |
The ZYDIS_FORMATTER_DISP_PADDING property. More... | |
ZydisNumericBase | imm_base |
The ZYDIS_FORMATTER_IMM_BASE property. More... | |
ZydisSignedness | imm_signedness |
The ZYDIS_FORMATTER_IMM_SIGNEDNESS property. More... | |
ZydisPadding | imm_padding |
The ZYDIS_FORMATTER_IMM_PADDING property. More... | |
ZyanI32 | case_prefixes |
The ZYDIS_FORMATTER_UPPERCASE_PREFIXES property. More... | |
ZyanI32 | case_mnemonic |
The ZYDIS_FORMATTER_UPPERCASE_MNEMONIC property. More... | |
ZyanI32 | case_registers |
The ZYDIS_FORMATTER_UPPERCASE_REGISTERS property. More... | |
ZyanI32 | case_typecasts |
The ZYDIS_FORMATTER_UPPERCASE_TYPECASTS property. More... | |
ZyanI32 | case_decorators |
The ZYDIS_FORMATTER_UPPERCASE_DECORATORS property. More... | |
ZyanBool | hex_uppercase |
The ZYDIS_FORMATTER_HEX_UPPERCASE property. More... | |
struct { | |
const ZyanStringView * string | |
A pointer to the ZyanStringView to use as prefix/suffix. More... | |
ZyanStringView string_data | |
The ZyanStringView to use as prefix/suffix. More... | |
char buffer [11] | |
The actual string data. More... | |
} | number_format [ZYDIS_NUMERIC_BASE_MAX_VALUE+1][2] |
The number formats for all numeric bases. More... | |
ZydisFormatterFunc | func_pre_instruction |
The ZYDIS_FORMATTER_FUNC_PRE_INSTRUCTION function. More... | |
ZydisFormatterFunc | func_post_instruction |
The ZYDIS_FORMATTER_FUNC_POST_INSTRUCTION function. More... | |
ZydisFormatterFunc | func_format_instruction |
The ZYDIS_FORMATTER_FUNC_FORMAT_INSTRUCTION function. More... | |
ZydisFormatterFunc | func_pre_operand |
The ZYDIS_FORMATTER_FUNC_PRE_OPERAND function. More... | |
ZydisFormatterFunc | func_post_operand |
The ZYDIS_FORMATTER_FUNC_POST_OPERAND function. More... | |
ZydisFormatterFunc | func_format_operand_reg |
The ZYDIS_FORMATTER_FUNC_FORMAT_OPERAND_REG function. More... | |
ZydisFormatterFunc | func_format_operand_mem |
The ZYDIS_FORMATTER_FUNC_FORMAT_OPERAND_MEM function. More... | |
ZydisFormatterFunc | func_format_operand_ptr |
The ZYDIS_FORMATTER_FUNC_FORMAT_OPERAND_PTR function. More... | |
ZydisFormatterFunc | func_format_operand_imm |
The ZYDIS_FORMATTER_FUNC_FORMAT_OPERAND_IMM function. More... | |
ZydisFormatterFunc | func_print_mnemonic |
The `ZYDIS_FORMATTER_FUNC_PRINT_MNEMONIC function. More... | |
ZydisFormatterRegisterFunc | func_print_register |
The ZYDIS_FORMATTER_FUNC_PRINT_REGISTER function. More... | |
ZydisFormatterFunc | func_print_address_abs |
The ZYDIS_FORMATTER_FUNC_PRINT_ADDRESS_ABS function. More... | |
ZydisFormatterFunc | func_print_address_rel |
The ZYDIS_FORMATTER_FUNC_PRINT_ADDRESS_REL function. More... | |
ZydisFormatterFunc | func_print_disp |
The ZYDIS_FORMATTER_FUNC_PRINT_DISP function. More... | |
ZydisFormatterFunc | func_print_imm |
The ZYDIS_FORMATTER_FUNC_PRINT_IMM function. More... | |
ZydisFormatterFunc | func_print_typecast |
The ZYDIS_FORMATTER_FUNC_PRINT_TYPECAST function. More... | |
ZydisFormatterFunc | func_print_segment |
The ZYDIS_FORMATTER_FUNC_PRINT_SEGMENT function. More... | |
ZydisFormatterFunc | func_print_prefixes |
The ZYDIS_FORMATTER_FUNC_PRINT_PREFIXES function. More... | |
ZydisFormatterDecoratorFunc | func_print_decorator |
The ZYDIS_FORMATTER_FUNC_PRINT_DECORATOR function. More... | |
Defines the ZydisFormatter
struct.
All fields in this struct should be considered as "private". Any changes may lead to unexpected behavior.
Do NOT change the order of the function fields or the values of the ZydisFormatterFunction
enum.
ZydisNumericBase addr_base |
The ZYDIS_FORMATTER_ADDR_BASE
property.
ZydisPadding addr_padding_absolute |
The ZYDIS_FORMATTER_ADDR_PADDING_ABSOLUTE
property.
ZydisPadding addr_padding_relative |
The ZYDIS_FORMATTER_ADDR_PADDING_RELATIVE
property.
ZydisSignedness addr_signedness |
The ZYDIS_FORMATTER_ADDR_SIGNEDNESS
property.
char buffer[11] |
The actual string data.
ZyanI32 case_decorators |
The ZYDIS_FORMATTER_UPPERCASE_DECORATORS
property.
ZyanI32 case_mnemonic |
The ZYDIS_FORMATTER_UPPERCASE_MNEMONIC
property.
ZyanI32 case_prefixes |
The ZYDIS_FORMATTER_UPPERCASE_PREFIXES
property.
ZyanI32 case_registers |
The ZYDIS_FORMATTER_UPPERCASE_REGISTERS
property.
ZyanI32 case_typecasts |
The ZYDIS_FORMATTER_UPPERCASE_TYPECASTS
property.
ZyanBool detailed_prefixes |
The ZYDIS_FORMATTER_DETAILED_PREFIXES
property.
ZydisNumericBase disp_base |
The ZYDIS_FORMATTER_DISP_BASE
property.
ZydisPadding disp_padding |
The ZYDIS_FORMATTER_DISP_PADDING
property.
ZydisSignedness disp_signedness |
The ZYDIS_FORMATTER_DISP_SIGNEDNESS
property.
ZyanBool force_memory_segment |
The ZYDIS_FORMATTER_PROP_FORCE_SEGMENT
property.
ZyanBool force_memory_size |
The ZYDIS_FORMATTER_PROP_FORCE_SIZE
property.
ZyanBool force_relative_branches |
The ZYDIS_FORMATTER_PROP_FORCE_RELATIVE_BRANCHES
property.
ZyanBool force_relative_riprel |
The ZYDIS_FORMATTER_PROP_FORCE_RELATIVE_RIPREL
property.
ZydisFormatterFunc func_format_instruction |
The ZYDIS_FORMATTER_FUNC_FORMAT_INSTRUCTION
function.
ZydisFormatterFunc func_format_operand_imm |
The ZYDIS_FORMATTER_FUNC_FORMAT_OPERAND_IMM
function.
ZydisFormatterFunc func_format_operand_mem |
The ZYDIS_FORMATTER_FUNC_FORMAT_OPERAND_MEM
function.
ZydisFormatterFunc func_format_operand_ptr |
The ZYDIS_FORMATTER_FUNC_FORMAT_OPERAND_PTR
function.
ZydisFormatterFunc func_format_operand_reg |
The ZYDIS_FORMATTER_FUNC_FORMAT_OPERAND_REG
function.
ZydisFormatterFunc func_post_instruction |
The ZYDIS_FORMATTER_FUNC_POST_INSTRUCTION
function.
ZydisFormatterFunc func_post_operand |
The ZYDIS_FORMATTER_FUNC_POST_OPERAND
function.
ZydisFormatterFunc func_pre_instruction |
The ZYDIS_FORMATTER_FUNC_PRE_INSTRUCTION
function.
ZydisFormatterFunc func_pre_operand |
The ZYDIS_FORMATTER_FUNC_PRE_OPERAND
function.
ZydisFormatterFunc func_print_address_abs |
The ZYDIS_FORMATTER_FUNC_PRINT_ADDRESS_ABS
function.
ZydisFormatterFunc func_print_address_rel |
The ZYDIS_FORMATTER_FUNC_PRINT_ADDRESS_REL
function.
ZydisFormatterDecoratorFunc func_print_decorator |
The ZYDIS_FORMATTER_FUNC_PRINT_DECORATOR
function.
ZydisFormatterFunc func_print_disp |
The ZYDIS_FORMATTER_FUNC_PRINT_DISP
function.
ZydisFormatterFunc func_print_imm |
The ZYDIS_FORMATTER_FUNC_PRINT_IMM
function.
ZydisFormatterFunc func_print_mnemonic |
The `ZYDIS_FORMATTER_FUNC_PRINT_MNEMONIC function.
ZydisFormatterFunc func_print_prefixes |
The ZYDIS_FORMATTER_FUNC_PRINT_PREFIXES
function.
ZydisFormatterRegisterFunc func_print_register |
The ZYDIS_FORMATTER_FUNC_PRINT_REGISTER
function.
ZydisFormatterFunc func_print_segment |
The ZYDIS_FORMATTER_FUNC_PRINT_SEGMENT
function.
ZydisFormatterFunc func_print_typecast |
The ZYDIS_FORMATTER_FUNC_PRINT_TYPECAST
function.
ZyanBool hex_uppercase |
The ZYDIS_FORMATTER_HEX_UPPERCASE
property.
ZydisNumericBase imm_base |
The ZYDIS_FORMATTER_IMM_BASE
property.
ZydisPadding imm_padding |
The ZYDIS_FORMATTER_IMM_PADDING
property.
ZydisSignedness imm_signedness |
The ZYDIS_FORMATTER_IMM_SIGNEDNESS
property.
struct { ... } number_format[ZYDIS_NUMERIC_BASE_MAX_VALUE + 1][2] |
The number formats for all numeric bases.
Index 0 = prefix Index 1 = suffix
ZyanBool print_branch_size |
The ZYDIS_FORMATTER_PROP_PRINT_BRANCH_SIZE
property.
const ZyanStringView* string |
A pointer to the ZyanStringView
to use as prefix/suffix.
ZyanStringView string_data |
The ZyanStringView
to use as prefix/suffix.
ZydisFormatterStyle style |
The formatter style.