Function libudis86_sys::ud_set_vendor [] [src]

pub unsafe extern "C" fn ud_set_vendor(ud: *mut ud, vendor: c_uint)

Sets the vendor of whose instruction to choose from. This is only useful for selecting the VMX or SVM instruction sets at which point INTEL and AMD have diverged significantly. At a later stage, support for a more granular selection of instruction sets maybe added.

  • UD_VENDOR_INTEL - for INTEL instruction set.
  • UD_VENDOR_ATT - for AMD instruction set.
  • UD_VENDOR_ANY - for any valid instruction in either INTEL or AMD.