Struct iced_x86::DecoderOptions [−][src]
Decoder options
Implementations
impl DecoderOptions
[src]
pub const NONE: u32
[src]
No option is enabled
pub const NO_INVALID_CHECK: u32
[src]
Disable some checks for invalid encodings of instructions, eg. most instructions can’t use a LOCK
prefix so if one is found, they’re decoded as Code::INVALID
unless this option is enabled.
pub const AMD: u32
[src]
AMD decoder: allow 16-bit branch/ret instructions in 64-bit mode, no o64 CALL/JMP FAR [mem], o64 LSS/LFS/LGS
, UD0
has no modr/m byte, decode LOCK MOV CR
. The AMD decoder can still decode Intel instructions.
pub const FORCE_RESERVED_NOP: u32
[src]
Decode opcodes 0F0D
and 0F18-0F1F
as reserved-nop instructions (eg. Code::Reservednop_rm32_r32_0F1D
)
pub const UMOV: u32
[src]
Decode UMOV
instructions
pub const XBTS: u32
[src]
Decode XBTS
/IBTS
pub const CMPXCHG486A: u32
[src]
Decode 0FA6
/0FA7
as CMPXCHG
pub const OLD_FPU: u32
[src]
Decode some old removed FPU instructions (eg. FRSTPM
)
pub const PCOMMIT: u32
[src]
Decode PCOMMIT
pub const LOADALL286: u32
[src]
Decode 286 LOADALL
(0F04
and 0F05
)
pub const LOADALL386: u32
[src]
Decode LOADALL386
pub const CL1INVMB: u32
[src]
Decode CL1INVMB
pub const MOV_TR: u32
[src]
Decode MOV r32,tr
and MOV tr,r32
pub const JMPE: u32
[src]
Decode JMPE
instructions
pub const NO_PAUSE: u32
[src]
Don’t decode PAUSE
, decode NOP
instead
pub const NO_WBNOINVD: u32
[src]
Don’t decode WBNOINVD
, decode WBINVD
instead
pub const NO_LOCK_MOV_CR: u32
[src]
This value isn’t used by iced. LOCK MOV CR is only decoded if AMD is set.
Don’t decode LOCK MOV CR0
as MOV CR8
(AMD)
pub const NO_MPFX_0FBC: u32
[src]
Don’t decode TZCNT
, decode BSF
instead
pub const NO_MPFX_0FBD: u32
[src]
Don’t decode LZCNT
, decode BSR
instead
pub const NO_LAHF_SAHF_64: u32
[src]
Don’t decode LAHF
and SAHF
in 64-bit mode
pub const MPX: u32
[src]
Decode MPX
instructions
pub const CYRIX: u32
[src]
Decode most Cyrix instructions: FPU
, EMMI
, SMM
, DDI
pub const CYRIX_SMINT_0F7E: u32
[src]
Decode Cyrix SMINT 0F7E
(Cyrix 6x86 or earlier)
pub const CYRIX_DMI: u32
[src]
Decode Cyrix DMI
instructions (AMD Geode GX/LX)
pub const ALTINST: u32
[src]
Decode Centaur ALTINST
Auto Trait Implementations
impl RefUnwindSafe for DecoderOptions
impl Send for DecoderOptions
impl Sync for DecoderOptions
impl Unpin for DecoderOptions
impl UnwindSafe for DecoderOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,