Enum zydis::DecoderMode
source · #[repr(C)]pub enum DecoderMode {
MINIMAL = 0,
AMD_BRANCHES = 1,
KNC = 2,
MPX = 3,
CET = 4,
LZCNT = 5,
TZCNT = 6,
WBNOINVD = 7,
CLDEMOTE = 8,
IPREFETCH = 9,
UD0_COMPAT = 10,
}
Expand description
Defines the ZydisDecoderMode
enum.
Variants§
MINIMAL = 0
Enables minimal instruction decoding without semantic analysis.
AMD_BRANCHES = 1
Enables the AMD
-branch mode.
KNC = 2
Enables KNC
compatibility-mode.
MPX = 3
Enables the MPX
mode.
CET = 4
Enables the CET
mode.
LZCNT = 5
Enables the LZCNT
mode.
TZCNT = 6
Enables the TZCNT
mode.
WBNOINVD = 7
Enables the WBNOINVD
mode.
CLDEMOTE = 8
Enables the CLDEMOTE
mode.
IPREFETCH = 9
Enables the IPREFETCH
mode.
UD0_COMPAT = 10
Enables the UD0
compatibility mode.
Trait Implementations§
source§impl Clone for DecoderMode
impl Clone for DecoderMode
source§fn clone(&self) -> DecoderMode
fn clone(&self) -> DecoderMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecoderMode
impl Debug for DecoderMode
source§impl<'de> Deserialize<'de> for DecoderMode
impl<'de> Deserialize<'de> for DecoderMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for DecoderMode
impl Hash for DecoderMode
source§impl PartialEq for DecoderMode
impl PartialEq for DecoderMode
source§fn eq(&self, other: &DecoderMode) -> bool
fn eq(&self, other: &DecoderMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DecoderMode
impl Serialize for DecoderMode
impl Copy for DecoderMode
impl Eq for DecoderMode
impl StructuralPartialEq for DecoderMode
Auto Trait Implementations§
impl RefUnwindSafe for DecoderMode
impl Send for DecoderMode
impl Sync for DecoderMode
impl Unpin for DecoderMode
impl UnwindSafe for DecoderMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more