Expand description
low level rust bindings for the zydis library for encoding/decoding and messing with x86 instructions.
for higher level bindings, check out the rydis crate.
Re-exports§
pub use self::ZydisInstructionCategory_ as ZydisInstructionCategory;pub use self::ZydisISASet_ as ZydisISASet;pub use self::ZydisISAExt_ as ZydisISAExt;pub use self::ZydisMnemonic_ as ZydisMnemonic;pub use self::ZydisMachineMode_ as ZydisMachineMode;pub use self::ZydisStackWidth_ as ZydisStackWidth;pub use self::ZydisElementType_ as ZydisElementType;pub use self::ZydisOperandType_ as ZydisOperandType;pub use self::ZydisOperandEncoding_ as ZydisOperandEncoding;pub use self::ZydisOperandVisibility_ as ZydisOperandVisibility;pub use self::ZydisOperandAction_ as ZydisOperandAction;pub use self::ZydisInstructionEncoding_ as ZydisInstructionEncoding;pub use self::ZydisOpcodeMap_ as ZydisOpcodeMap;pub use self::ZydisRegister_ as ZydisRegister;pub use self::ZydisRegisterKind_ as ZydisRegisterKind;pub use self::ZydisRegisterClass_ as ZydisRegisterClass;pub use self::ZydisMemoryOperandType_ as ZydisMemoryOperandType;pub use self::ZydisBranchType_ as ZydisBranchType;pub use self::ZydisExceptionClass_ as ZydisExceptionClass;pub use self::ZydisMaskMode_ as ZydisMaskMode;pub use self::ZydisBroadcastMode_ as ZydisBroadcastMode;pub use self::ZydisRoundingMode_ as ZydisRoundingMode;pub use self::ZydisSwizzleMode_ as ZydisSwizzleMode;pub use self::ZydisConversionMode_ as ZydisConversionMode;pub use self::ZydisPrefixType_ as ZydisPrefixType;pub use self::ZydisDecoderMode_ as ZydisDecoderMode;pub use self::ZydisEncodableEncoding_ as ZydisEncodableEncoding;pub use self::ZydisBranchWidth_ as ZydisBranchWidth;pub use self::ZydisAddressSizeHint_ as ZydisAddressSizeHint;pub use self::ZydisOperandSizeHint_ as ZydisOperandSizeHint;pub use self::ZydisFormatterStyle_ as ZydisFormatterStyle;pub use self::ZydisFormatterProperty_ as ZydisFormatterProperty;pub use self::ZydisNumericBase_ as ZydisNumericBase;pub use self::ZydisSignedness_ as ZydisSignedness;pub use self::ZydisPadding_ as ZydisPadding;pub use self::ZydisFormatterFunction_ as ZydisFormatterFunction;pub use self::ZydisDecorator_ as ZydisDecorator;pub use self::ZydisInstructionSegment_ as ZydisInstructionSegment;pub use self::ZydisFeature_ as ZydisFeature;
Structs§
- Zyan
Allocator_ - Defines the
ZyanAllocatorstruct. - Zyan
String View_ - Defines the
ZyanStringViewstruct. - Zyan
String_ - Defines the
ZyanStringstruct. - Zyan
Vector_ - Defines the
ZyanVectorstruct. - Zydis
Accessed Flags_ - @}
- Zydis
Address Size Hint_ - Defines possible values for address size hints. See
ZydisEncoderRequestfor more information about address size hints. - Zydis
Branch Type_ - Defines the
ZydisBranchTypeenum. - Zydis
Branch Width_ - Defines encodable physical/effective sizes of relative immediate operands. See
ZydisEncoderRequest.branch_widthfor more details. - Zydis
Broadcast Mode_ - Defines the
ZydisBroadcastModeenum. - Zydis
Conversion Mode_ - Defines the
ZydisConversionModeenum. - Zydis
Decoded Instruction Avx_ - Extended info for
AVXinstructions. - Zydis
Decoded Instruction Avx__ Zydis Decoded Instruction AvxBroadcast_ - Contains info about the
AVXbroadcast. - Zydis
Decoded Instruction Avx__ Zydis Decoded Instruction AvxConversion_ - Contains info about the
AVXdata-conversion (KNConly). - Zydis
Decoded Instruction Avx__ Zydis Decoded Instruction AvxMask_ - Info about the embedded writemask-register (
AVX-512andKNConly). - Zydis
Decoded Instruction Avx__ Zydis Decoded Instruction AvxRounding_ - Contains info about the
AVXrounding. - Zydis
Decoded Instruction Avx__ Zydis Decoded Instruction AvxSwizzle_ - Contains info about the
AVXregister-swizzle (KNConly). - Zydis
Decoded Instruction Meta_ - Instruction meta info.
- Zydis
Decoded Instruction RawEvex - Detailed info about the
EVEXprefix. - Zydis
Decoded Instruction RawMvex_ - Detailed info about the
MVEXprefix. - Zydis
Decoded Instruction RawRex_ - Detailed info about the
REXprefix. - Zydis
Decoded Instruction RawVex_ - Detailed info about the
VEXprefix. - Zydis
Decoded Instruction RawXop_ - Detailed info about the
XOPprefix. - Zydis
Decoded Instruction Raw_ - Detailed info about different instruction-parts like
ModRM,SIBor encoding-prefixes. - Zydis
Decoded Instruction Raw__ Zydis Decoded Instruction ModRm_ - Detailed info about the
ModRMbyte. - Zydis
Decoded Instruction Raw__ Zydis Decoded Instruction RawDisp_ - Detailed info about displacement-bytes.
- Zydis
Decoded Instruction Raw__ Zydis Decoded Instruction RawImm_ - Detailed info about immediate-bytes.
- Zydis
Decoded Instruction Raw__ Zydis Decoded Instruction RawPrefixes_ - Detailed info about the legacy prefixes (including
REX). - Zydis
Decoded Instruction Raw__ Zydis Decoded Instruction RawSib_ - Detailed info about the
SIBbyte. - Zydis
Decoded Instruction_ - Information about a decoded instruction.
- Zydis
Decoded Operand Imm_ - Extended info for immediate-operands.
- Zydis
Decoded Operand Mem_ - Extended info for memory-operands.
- Zydis
Decoded Operand Mem__ Zydis Decoded Operand MemDisp_ - Extended info for memory-operands with displacement.
- Zydis
Decoded Operand Ptr_ - Extended info for pointer-operands.
- Zydis
Decoded Operand Reg_ - Extended info for register-operands.
- Zydis
Decoded Operand_ - Defines the
ZydisDecodedOperandstruct. - Zydis
Decoder Context_ - The decoder context is used to preserve some internal state between subsequent decode operations for THE SAME instruction.
- Zydis
Decoder Context___ bindgen_ ty_ 1 - Contains some cached REX/XOP/VEX/EVEX/MVEX values to provide uniform access.
- Zydis
Decoder Context___ bindgen_ ty_ 2 - Information about encoded operand registers.
- Zydis
Decoder Context___ bindgen_ ty_ 3 - Internal EVEX-specific information.
- Zydis
Decoder Context___ bindgen_ ty_ 4 - Internal MVEX-specific information.
- Zydis
Decoder Mode_ - Defines the
ZydisDecoderModeenum. - Zydis
Decoder_ - Defines the
ZydisDecoderstruct. - Zydis
Decorator_ - Enum of all decorator types.
- Zydis
Disassembled Instruction_ - All commonly used information about a decoded instruction that Zydis can provide.
- Zydis
Element Type_ - Defines the
ZydisElementTypeenum. - Zydis
Encodable Encoding_ - Defines possible physical instruction encodings as bit flags, so multiple acceptable encodings can be specified simultaneously.
- Zydis
Encoder Operand_ - Describes explicit or implicit instruction operand.
- Zydis
Encoder Operand__ Zydis Encoder Operand Mem_ - Extended info for memory-operands.
- Zydis
Encoder Operand__ Zydis Encoder Operand Ptr_ - Extended info for pointer-operands.
- Zydis
Encoder Operand__ Zydis Encoder Operand Reg_ - Extended info for register-operands.
- Zydis
Encoder Request_ - Main structure consumed by the encoder. It represents full semantics of an instruction.
- Zydis
Encoder Request__ Zydis Encoder Request Evex Features_ - Extended info for
EVEXinstructions. - Zydis
Encoder Request__ Zydis Encoder Request Mvex Features_ - Extended info for
MVEXinstructions. - Zydis
Exception Class_ - Defines the
ZydisExceptionClassenum. - Zydis
Feature_ - Defines the
ZydisFeatureenum. - Zydis
Formatter Buffer_ - Defines the
ZydisFormatterBufferstruct. - Zydis
Formatter Context_ - Context structure that that is passed to all formatter.
- Zydis
Formatter Function_ - Enum selecting a formatter function to be replaced with hooks.
- Zydis
Formatter Property_ - Enum selecting a property of the formatter.
- Zydis
Formatter Style_ - Enum selecting the syntax to format the disassembly in.
- Zydis
Formatter Token_ - Defines the
ZydisFormatterTokenstruct. - Zydis
Formatter_ - Context structure keeping track of internal state of the formatter.
- Zydis
Formatter___ bindgen_ ty_ 1 - The number formats for all numeric bases.
- ZydisISA
Ext_ - Defines the
ZydisISAExtenum. - ZydisISA
Set_ - Defines the
ZydisISASetenum. - Zydis
Instruction Category_ - Defines the
ZydisInstructionCategoryenum. - Zydis
Instruction Encoding_ - Defines the
ZydisInstructionEncodingenum. - Zydis
Instruction Segment_ - Defines the
ZydisInstructionSegmentstruct. - Zydis
Instruction Segments_ - Defines the
ZydisInstructionSegmentsstruct. - Zydis
Instruction Segments___ bindgen_ ty_ 1 - Zydis
Machine Mode_ - Defines the
ZydisMachineModeenum. - Zydis
Mask Mode_ - Defines the
ZydisMaskModeenum. - Zydis
Memory Operand Type_ - Defines the
ZydisMemoryOperandTypeenum. - Zydis
Mnemonic_ - Defines the
ZydisMnemonicenum. - Zydis
Numeric Base_ - Enum defining different mantissae to be used during formatting.
- Zydis
Opcode Map_ - Defines the
ZydisOpcodeMapenum. - Zydis
Operand Action_ - Defines the
ZydisOperandActionenum. - Zydis
Operand Encoding_ - Defines the
ZydisOperandEncodingenum. - Zydis
Operand Size Hint_ - Defines possible values for operand size hints. See
ZydisEncoderRequestfor more information about operand size hints. - Zydis
Operand Type_ - Defines the
ZydisOperandTypeenum. - Zydis
Operand Visibility_ - Defines the
ZydisOperandVisibilityenum. - Zydis
Padding_ - Enum definining magic values that receive special treatment when used as padding properties of the formatter.
- Zydis
Prefix Type_ - Defines the
ZydisPrefixTypeenum. - Zydis
Register Class_ - Defines the
ZydisRegisterClassenum. - Zydis
Register Context_ - Defines the
ZydisRegisterContextstruct. - Zydis
Register Kind_ - Defines the
ZydisRegisterKindenum. - Zydis
Register_ - Defines the
ZydisRegisterenum. - Zydis
Rounding Mode_ - Defines the
ZydisRoundingModeenum. - Zydis
Short String_ - Defines the
ZydisShortStringstruct. - Zydis
Signedness_ - Enum defining the signeness of integers to be used during formatting.
- Zydis
Stack Width_ - Defines the
ZydisStackWidthenum. - Zydis
Swizzle Mode_ - Defines the
ZydisSwizzleModeenum.
Constants§
- ZYAN_
FALSE - ZYAN_
MODULE_ ARGPARSE - ZYAN_
MODULE_ USER - ZYAN_
MODULE_ ZYCORE - ZYAN_
MODULE_ ZYDIS - ZYAN_
STRING_ DEFAULT_ GROWTH_ FACTOR - ZYAN_
STRING_ DEFAULT_ SHRINK_ THRESHOLD - ZYAN_
STRING_ HAS_ FIXED_ CAPACITY - ZYAN_
STRING_ MIN_ CAPACITY - ZYAN_
TERNARY_ FALSE - ZYAN_
TERNARY_ TRUE - ZYAN_
TERNARY_ UNKNOWN - ZYAN_
TRUE - ZYAN_
VECTOR_ DEFAULT_ GROWTH_ FACTOR - ZYAN_
VECTOR_ DEFAULT_ SHRINK_ THRESHOLD - ZYAN_
VECTOR_ MIN_ CAPACITY - ZYDIS_
ATTRIB_ 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 COUNT - ZYDIS_
MAX_ OPERAND_ COUNT_ VISIBLE - ZYDIS_
OATTRIB_ IS_ MULTISOURC E4 - ZYDIS_
TOKEN_ ADDRESS_ ABS - ZYDIS_
TOKEN_ ADDRESS_ REL - ZYDIS_
TOKEN_ DECORATOR - ZYDIS_
TOKEN_ DELIMITER - ZYDIS_
TOKEN_ DISPLACEMENT - ZYDIS_
TOKEN_ IMMEDIATE - ZYDIS_
TOKEN_ INVALID - ZYDIS_
TOKEN_ MNEMONIC - ZYDIS_
TOKEN_ PARENTHESIS_ CLOSE - ZYDIS_
TOKEN_ PARENTHESIS_ OPEN - ZYDIS_
TOKEN_ PREFIX - ZYDIS_
TOKEN_ REGISTER - ZYDIS_
TOKEN_ SYMBOL - ZYDIS_
TOKEN_ TYPECAST - ZYDIS_
TOKEN_ USER - ZYDIS_
TOKEN_ WHITESPACE
Functions§
- Zyan
Allocator ⚠Init - Initializes the given
ZyanAllocatorinstance. - Zyan
String ⚠Append - Appends the content of the source string to the end of the destination string.
- Zyan
String ⚠Append Ex - Appends
countcharacters of the source string to the end of the destination string. - Zyan
String ⚠Clear - Erases the given string.
- Zyan
String ⚠Compare - Compares two strings.
- Zyan
String ⚠CompareI - Performs a case-insensitive comparison of two strings.
- Zyan
String ⚠Concat Custom Buffer - Initializes a new
ZyanStringinstance by concatenating two existing strings and configures it to use a custom user defined buffer with a fixed size. - Zyan
String ⚠Concat Ex - Initializes a new
ZyanStringinstance by concatenating two existing strings and sets a customallocatorand memory allocation/deallocation parameters. - Zyan
String ⚠Delete - Deletes characters from the given string, starting at
index. - Zyan
String ⚠Destroy - Destroys the given
ZyanStringinstance. - Zyan
String ⚠Duplicate Custom Buffer - Initializes a new
ZyanStringinstance by duplicating an existing string and configures it to use a custom user defined buffer with a fixed size. - Zyan
String ⚠Duplicate Ex - Initializes a new
ZyanStringinstance by duplicating an existing string and sets a customallocatorand memory allocation/deallocation parameters. - Zyan
String ⚠GetCapacity - Returns the current capacity of the string.
- Zyan
String ⚠GetChar - Returns the character at the given
index. - Zyan
String ⚠GetChar Mutable - Returns a pointer to the character at the given
index. - Zyan
String ⚠GetData - Returns the C-style string of the given
ZyanStringinstance. - Zyan
String ⚠GetSize - Returns the current size (number of characters) of the string (excluding the terminating zero character).
- Zyan
String ⚠Init Custom Buffer - Initializes the given
ZyanStringinstance and configures it to use a custom user defined buffer with a fixed size. - Zyan
String ⚠Init Ex - Initializes the given
ZyanStringinstance and sets a customallocatorand memory allocation/deallocation parameters. - Zyan
String ⚠Insert - Inserts the content of the source string in the destination string at the given
index. - Zyan
String ⚠Insert Ex - Inserts
countcharacters of the source string in the destination string at the givenindex. - Zyan
StringL ⚠Pos - Searches for the first occurrence of
needlein the givenhaystackstarting from the left. - Zyan
StringL ⚠PosEx - Searches for the first occurrence of
needlein the givenhaystackstarting from the left. - Zyan
StringL ⚠PosI - Performs a case-insensitive search for the first occurrence of
needlein the givenhaystackstarting from the left. - Zyan
StringL ⚠PosI Ex - Performs a case-insensitive search for the first occurrence of
needlein the givenhaystackstarting from the left. - Zyan
StringR ⚠Pos - Searches for the first occurrence of
needlein the givenhaystackstarting from the right. - Zyan
StringR ⚠PosEx - Searches for the first occurrence of
needlein the givenhaystackstarting from the right. - Zyan
StringR ⚠PosI - Performs a case-insensitive search for the first occurrence of
needlein the givenhaystackstarting from the right. - Zyan
StringR ⚠PosI Ex - Performs a case-insensitive search for the first occurrence of
needlein the givenhaystackstarting from the right. - Zyan
String ⚠Reserve - Changes the capacity of the given
ZyanStringinstance. - Zyan
String ⚠Resize - Resizes the given
ZyanStringinstance. - Zyan
String ⚠SetChar - Assigns a new value to the character at the given
index. - Zyan
String ⚠Shrink ToFit - Shrinks the capacity of the given string to match it’s size.
- Zyan
String ⚠ToLower Case - Converts the given string to lowercase letters.
- Zyan
String ⚠ToLower Case Ex - Converts
countcharacters of the given string to lowercase letters. - Zyan
String ⚠ToUpper Case - Converts the given string to uppercase letters.
- Zyan
String ⚠ToUpper Case Ex - Converts
countcharacters of the given string to uppercase letters. - Zyan
String ⚠Truncate - Deletes all remaining characters from the given string, starting at
index. - Zyan
String ⚠View GetData - Returns the C-style string of the given
ZyanStringinstance. - Zyan
String ⚠View GetSize - Returns the size (number of characters) of the view.
- Zyan
String ⚠View Inside Buffer - Returns a view inside a null-terminated C-style string.
- Zyan
String ⚠View Inside Buffer Ex - Returns a view inside a character buffer with custom length.
- Zyan
String ⚠View Inside View - Returns a view inside an existing view/string.
- Zyan
String ⚠View Inside View Ex - Returns a view inside an existing view/string starting from the given
index. - Zyan
Vector ⚠Binary Search - Searches for the first occurrence of
elementin the given vector using a binary- search algorithm. - Zyan
Vector ⚠Binary Search Ex - Searches for the first occurrence of
elementin the given vector using a binary- search algorithm. - Zyan
Vector ⚠Clear - Erases all elements of the given vector.
- Zyan
Vector ⚠Delete - Deletes the element at the given
indexof the vector. - Zyan
Vector ⚠Delete Range - Deletes multiple elements from the given vector, starting at
index. - Zyan
Vector ⚠Destroy - Destroys the given
ZyanVectorinstance. - Zyan
Vector ⚠Duplicate Custom Buffer - Initializes a new
ZyanVectorinstance by duplicating an existing vector and configures it to use a custom user defined buffer with a fixed size. - Zyan
Vector ⚠Duplicate Ex - Initializes a new
ZyanVectorinstance by duplicating an existing vector and sets a customallocatorand memory allocation/deallocation parameters. - Zyan
Vector ⚠Emplace - Constructs an
elementin-place at the end of the vector. - Zyan
Vector ⚠Emplace Ex - Constructs an
elementin-place and inserts it at the givenindexof the vector. - Zyan
Vector ⚠Find - Sequentially searches for the first occurrence of
elementin the given vector. - Zyan
Vector ⚠Find Ex - Sequentially searches for the first occurrence of
elementin the given vector. - Zyan
Vector ⚠Get - Returns a constant pointer to the element at the given
index. - Zyan
Vector ⚠GetCapacity - Returns the current capacity of the vector.
- Zyan
Vector ⚠GetMutable - Returns a mutable pointer to the element at the given
index. - Zyan
Vector ⚠GetPointer - Returns a constant pointer to the element at the given
index. - Zyan
Vector ⚠GetPointer Mutable - Returns a mutable pointer to the element at the given
index. - Zyan
Vector ⚠GetSize - Returns the current size of the vector.
- Zyan
Vector ⚠Init Custom Buffer - Initializes the given
ZyanVectorinstance and configures it to use a custom user defined buffer with a fixed size. - Zyan
Vector ⚠Init Ex - Initializes the given
ZyanVectorinstance and sets a customallocatorand memory allocation/deallocation parameters. - Zyan
Vector ⚠Insert - Inserts an
elementat the givenindexof the vector. - Zyan
Vector ⚠Insert Range - Inserts multiple
elementsat the givenindexof the vector. - Zyan
Vector ⚠PopBack - Removes the last element of the vector.
- Zyan
Vector ⚠Push Back - Adds a new
elementto the end of the vector. - Zyan
Vector ⚠Reserve - Changes the capacity of the given
ZyanVectorinstance. - Zyan
Vector ⚠Resize - Resizes the given
ZyanVectorinstance. - Zyan
Vector ⚠Resize Ex - Resizes the given
ZyanVectorinstance. - Zyan
Vector ⚠Set - Assigns a new value to the element at the given
index. - Zyan
Vector ⚠Shrink ToFit - Shrinks the capacity of the given vector to match it’s size.
- Zyan
Vector ⚠Swap Elements - Swaps the element at
index_firstwith the element atindex_second. - Zydis
Calc ⚠Absolute Address - Calculates the absolute address value for the given instruction operand.
- Zydis
Calc ⚠Absolute Address Ex - Calculates the absolute address value for the given instruction operand.
- Zydis
Category ⚠GetString - Returns the specified instruction category string.
- Zydis
Decoder ⚠Decode Full - Decodes the instruction in the given input
bufferand returns all details (e.g. operands). - Zydis
Decoder ⚠Decode Instruction - Decodes the instruction in the given input
buffer. - Zydis
Decoder ⚠Decode Operands - Decodes the instruction operands.
- Zydis
Decoder ⚠Enable Mode - Enables or disables the specified decoder-mode.
- Zydis
Decoder ⚠Init - Initializes the given
ZydisDecoderinstance. - Zydis
DisassembleATT ⚠ - Disassemble an instruction and format it to human-readable text in a single step (AT&T syntax).
- Zydis
Disassemble ⚠Intel - Disassemble an instruction and format it to human-readable text in a single step (Intel syntax).
- Zydis
Encoder ⚠Decoded Instruction ToEncoder Request - Converts decoded instruction to encoder request that can be passed to
ZydisEncoderEncodeInstruction. - Zydis
Encoder ⚠Encode Instruction - Encodes instruction with semantics specified in encoder request structure.
- Zydis
Encoder ⚠Encode Instruction Absolute - Encodes instruction with semantics specified in encoder request structure. This function expects
absolute addresses inside encoder request instead of
EIP/RIP-relative values. Function predicts final instruction length prior to encoding and writes back calculated relative operands to provided encoder request. - Zydis
Encoder ⚠NopFill - Fills provided buffer with
NOPinstructions using longest possible multi-byte instructions. - Zydis
Formatter ⚠Buffer Append - Appends a new token to the
buffer. - Zydis
Formatter ⚠Buffer GetString - Returns the
ZyanStringinstance associated with the given buffer. - Zydis
Formatter ⚠Buffer GetToken - Returns the current (most recently added) token.
- Zydis
Formatter ⚠Buffer Remember - Returns a snapshot of the buffer-state.
- Zydis
Formatter ⚠Buffer Restore - Restores a previously saved buffer-state.
- Zydis
Formatter ⚠Format Instruction - Formats the given instruction and writes it into the output buffer.
- Zydis
Formatter ⚠Format Operand - Formats the given operand and writes it into the output buffer.
- Zydis
Formatter ⚠Init - Initializes the given
ZydisFormatterinstance. - Zydis
Formatter ⚠SetHook - Replaces a formatter function with a custom callback and/or retrieves the currently used function.
- Zydis
Formatter ⚠SetProperty - Changes the value of the specified formatter
property. - Zydis
Formatter ⚠Token GetValue - Returns the
typeand the stringvalueof the giventoken. - Zydis
Formatter ⚠Token Next - Obtains the next
tokenlinked to the passed one. - Zydis
Formatter ⚠Tokenize Instruction - Tokenizes the given instruction and writes it into the output buffer.
- Zydis
Formatter ⚠Tokenize Operand - Tokenizes the given operand and writes it into the output buffer.
- Zydis
GetInstruction ⚠Segments - Returns offsets and sizes of all logical instruction segments (e.g.
OPCODE,MODRM, …). - Zydis
GetVersion ⚠ - Returns the zydis version.
- ZydisISA
ExtGet ⚠String - Returns the specified isa-extension string.
- ZydisISA
SetGet ⚠String - Returns the specified isa-set string.
- Zydis
IsFeature ⚠Enabled - Checks, if the specified feature is enabled in the current zydis library instance.
- Zydis
Mnemonic ⚠GetString - Returns the specified instruction mnemonic string.
- Zydis
Mnemonic ⚠GetString Wrapped - Returns the specified instruction mnemonic as
ZydisShortString. - Zydis
Register ⚠Class GetWidth - Returns the width of the specified register-class.
- Zydis
Register ⚠Encode - Returns the register specified by the
register_classandidtuple. - Zydis
Register ⚠GetClass - Returns the register-class of the specified register.
- Zydis
Register ⚠GetId - Returns the id of the specified register.
- Zydis
Register ⚠GetLargest Enclosing - Returns the largest enclosing register of the given register.
- Zydis
Register ⚠GetString - Returns the specified register string.
- Zydis
Register ⚠GetString Wrapped - Returns the specified register string as
ZydisShortString. - Zydis
Register ⚠GetWidth - Returns the width of the specified register.
Type Aliases§
- Zyan
Allocator - Defines the
ZyanAllocatorstruct. - Zyan
Allocator Allocate - Defines the
ZyanAllocatorAllocatefunction prototype. - Zyan
Allocator Deallocate - Defines the
ZyanAllocatorDeallocatefunction prototype. - Zyan
Bool - Defines the
ZyanBooldata-type. - Zyan
Char Pointer - Defines the
ZyanCharPointerdata-type. - Zyan
Comparison - Defines the
ZyanComparisonfunction prototype. - Zyan
Const Char Pointer - Defines the
ZyanConstCharPointerdata-type. - Zyan
Const Member Function - Defines the
ZyanConstMemberFunctionfunction prototype. - Zyan
Const Member Procedure - Defines the
ZyanConstMemberProcedurefunction prototype. - Zyan
Const Void Pointer - Defines the
ZyanConstVoidPointerdata-type. - Zyan
Equality Comparison - Defines the
ZyanEqualityComparisonfunction prototype. - ZyanI8
- ZyanI16
- ZyanI32
- ZyanI64
- ZyanI
Pointer - ZyanI
Size - Zyan
Member Function - Defines the
ZyanMemberFunctionfunction prototype. - Zyan
Member Procedure - Defines the
ZyanMemberProcedurefunction prototype. - Zyan
Status - Defines the
ZyanStatusdata type. - Zyan
String - Defines the
ZyanStringstruct. - Zyan
String Flags - Defines the
ZyanStringFlagsdata-type. - Zyan
String View - Defines the
ZyanStringViewstruct. - Zyan
Ternary - Defines the
ZyanTernarydata-type. - ZyanU8
- ZyanU16
- ZyanU32
- ZyanU64
- ZyanU
Pointer - ZyanU
Size - Zyan
Vector - Defines the
ZyanVectorstruct. - Zyan
Void Pointer - Defines the
ZyanVoidPointerdata-type. - Zydis
Accessed Flags - @}
- Zydis
Accessed Flags Mask - Defines the
ZydisAccessedFlagsMaskdata-type. - Zydis
Decoded Instruction - Information about a decoded instruction.
- Zydis
Decoded Instruction Avx - Extended info for
AVXinstructions. - Zydis
Decoded Instruction Meta - Instruction meta info.
- Zydis
Decoded Instruction Raw - Detailed info about different instruction-parts like
ModRM,SIBor encoding-prefixes. - Zydis
Decoded Instruction RawMvex - Detailed info about the
MVEXprefix. - Zydis
Decoded Instruction RawRex - Detailed info about the
REXprefix. - Zydis
Decoded Instruction RawVex - Detailed info about the
VEXprefix. - Zydis
Decoded Instruction RawXop - Detailed info about the
XOPprefix. - Zydis
Decoded Operand - Defines the
ZydisDecodedOperandstruct. - Zydis
Decoded Operand Imm - Extended info for immediate-operands.
- Zydis
Decoded Operand Mem - Extended info for memory-operands.
- Zydis
Decoded Operand Ptr - Extended info for pointer-operands.
- Zydis
Decoded Operand Reg - Extended info for register-operands.
- Zydis
Decoder - Defines the
ZydisDecoderstruct. - Zydis
Decoder Context - The decoder context is used to preserve some internal state between subsequent decode operations for THE SAME instruction.
- Zydis
Disassembled Instruction - All commonly used information about a decoded instruction that Zydis can provide.
- Zydis
Element Size - Defines the
ZydisElementSizedatatype. - Zydis
Encoder Operand - Describes explicit or implicit instruction operand.
- Zydis
Encoder Request - Main structure consumed by the encoder. It represents full semantics of an instruction.
- Zydis
Formatter - Context structure keeping track of internal state of the formatter.
- Zydis
Formatter Buffer - Defines the
ZydisFormatterBufferstruct. - Zydis
Formatter Context - Context structure that that is passed to all formatter.
- Zydis
Formatter Decorator Func - Defines the
ZydisFormatterDecoratorFuncfunction prototype. - Zydis
Formatter Func - Defines the
ZydisFormatterFuncfunction prototype. - Zydis
Formatter Register Func - Defines the
ZydisFormatterRegisterFuncfunction prototype. - Zydis
Formatter Token - Defines the
ZydisFormatterTokenstruct. - Zydis
Formatter Token Const - Defines the
ZydisFormatterTokenConstdata-type. - Zydis
Instruction Attributes - Defines the
ZydisInstructionAttributesdata-type. - Zydis
Instruction Segments - Defines the
ZydisInstructionSegmentsstruct. - Zydis
Operand Actions - Defines the
ZydisOperandActionsdata-type. - Zydis
Operand Attributes - Defines the
ZydisOperandAttributesdata-type. - Zydis
Register Context - Defines the
ZydisRegisterContextstruct. - Zydis
Register Width - Defines the
ZydisRegisterWidthdata-type. - Zydis
Short String - Defines the
ZydisShortStringstruct. - Zydis
Token Type - Defines the
ZydisTokenTypedata-type.
Unions§
- Zydis
Decoded Instruction Raw__ Zydis Decoded Instruction RawImm__ Zydis Decoded Instruction RawImm Value_ - The immediate value.
- Zydis
Decoded Instruction Raw___ bindgen_ ty_ 1 - Zydis
Decoded Operand Imm__ Zydis Decoded Operand ImmValue_ - The immediate value.
- Zydis
Decoded Operand___ bindgen_ ty_ 1 - Zydis
Encoder Operand__ Zydis Encoder Operand Imm_ - Extended info for immediate-operands.