Module yaxpeax_x86::real_mode

source ·

Re-exports

Modules

  • high-level register classes in an x86 machine, such as “2-byte general purpose”, “xmm”, “x87”, and so on. constants in this module are useful for inspecting the register class of a decoded instruction. as an example:

Structs

  • a trivial struct for yaxpeax_arch::Arch to be implemented on. it’s only interesting for the associated type parameters.
  • an x86 instruction decoder.
  • an x86 instruction.
  • implementation of Display that renders instructions using a specified display style.
  • a wrapper to hide internal library implementation details. this is only useful for the inner content’s Display impl, which itself is unstable and suitable only for human consumption.
  • bits specified in an avx/avx2 vex prefix, L, W, R, X, and B.
  • the prefixes on an instruction.
  • an x86 register, including its number and type. if fmt is enabled, name too.
  • an x86 register class - qword, dword, xmmword, segment, and so on.

Enums

  • the condition for a conditional instruction.
  • enum controlling how Instruction::display_with renders instructions. Intel is more or less intel syntax, though memory operand sizes are elided if they can be inferred from other operands.
  • the actual description for a selection of bits involved in decoding a [real_mode::Instruction].
  • an avx512 merging mode.
  • an operand for an x86 instruction.
  • an avx512 custom rounding mode.
  • the segment register used by the corresponding instruction.