Struct iced_x86::DecoderOptions [−][src]
pub struct DecoderOptions;
Expand description
Decoder options
Implementations
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.
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.
Decode opcodes 0F0D
and 0F18-0F1F
as reserved-nop instructions (eg. Code::Reservednop_rm32_r32_0F1D
)
Decode 0FA6
/0FA7
as CMPXCHG
Decode 286 STOREALL
/LOADALL
(0F04
and 0F05
)
Decode 386 LOADALL
Don’t decode WBNOINVD
, decode WBINVD
instead
Don’t decode TZCNT
, decode BSF
instead
Don’t decode LZCNT
, decode BSR
instead
Don’t decode LAHF
and SAHF
in 64-bit mode
Decode Cyrix SMINT 0F7E
(Cyrix 6x86 or earlier)
Auto Trait Implementations
impl RefUnwindSafe for DecoderOptions
impl Send for DecoderOptions
impl Sync for DecoderOptions
impl Unpin for DecoderOptions
impl UnwindSafe for DecoderOptions