Enum iced_x86::FlowControl
source · pub enum FlowControl {
Next,
UnconditionalBranch,
IndirectBranch,
ConditionalBranch,
Return,
Call,
IndirectCall,
Interrupt,
XbeginXabortXend,
Exception,
}Expand description
Control flow
Variants§
Next
The next instruction that will be executed is the next instruction in the instruction stream
UnconditionalBranch
It’s an unconditional branch instruction: JMP NEAR, JMP FAR
IndirectBranch
It’s an unconditional indirect branch: JMP NEAR reg, JMP NEAR [mem], JMP FAR [mem]
ConditionalBranch
It’s a conditional branch instruction: Jcc SHORT, Jcc NEAR, LOOP, LOOPcc, JRCXZ, JKccD SHORT, JKccD NEAR
Return
It’s a return instruction: RET NEAR, RET FAR, IRET, SYSRET, SYSEXIT, RSM, SKINIT, RDM, UIRET
Call
It’s a call instruction: CALL NEAR, CALL FAR, SYSCALL, SYSENTER, VMLAUNCH, VMRESUME, VMCALL, VMMCALL, VMGEXIT, VMRUN, TDCALL, SEAMCALL, SEAMRET
IndirectCall
It’s an indirect call instruction: CALL NEAR reg, CALL NEAR [mem], CALL FAR [mem]
Interrupt
It’s an interrupt instruction: INT n, INT3, INT1, INTO, SMINT, DMINT
XbeginXabortXend
It’s XBEGIN
Exception
It’s an invalid instruction, eg. Code::INVALID, UD0, UD1, UD2
Implementations§
source§impl FlowControl
impl FlowControl
sourcepub fn values(
) -> impl Iterator<Item = FlowControl> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values(
) -> impl Iterator<Item = FlowControl> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all FlowControl enum values
Trait Implementations§
source§impl Clone for FlowControl
impl Clone for FlowControl
source§fn clone(&self) -> FlowControl
fn clone(&self) -> FlowControl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FlowControl
impl Debug for FlowControl
source§impl Default for FlowControl
impl Default for FlowControl
source§impl<'de> Deserialize<'de> for FlowControl
impl<'de> Deserialize<'de> for FlowControl
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>,
source§impl Hash for FlowControl
impl Hash for FlowControl
source§impl Ord for FlowControl
impl Ord for FlowControl
source§fn cmp(&self, other: &FlowControl) -> Ordering
fn cmp(&self, other: &FlowControl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq<FlowControl> for FlowControl
impl PartialEq<FlowControl> for FlowControl
source§fn eq(&self, other: &FlowControl) -> bool
fn eq(&self, other: &FlowControl) -> bool
source§impl PartialOrd<FlowControl> for FlowControl
impl PartialOrd<FlowControl> for FlowControl
source§fn partial_cmp(&self, other: &FlowControl) -> Option<Ordering>
fn partial_cmp(&self, other: &FlowControl) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read more