Skip to main content

LowLevelILFlagWriteOp

Enum LowLevelILFlagWriteOp 

Source
pub enum LowLevelILFlagWriteOp<R: ArchReg> {
Show 83 variants SetReg(usize, LowLevelILRegisterOrConstant<R>), SetRegSplit(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Sub(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Add(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Load(usize, LowLevelILRegisterOrConstant<R>), Push(usize, LowLevelILRegisterOrConstant<R>), Neg(usize, LowLevelILRegisterOrConstant<R>), Not(usize, LowLevelILRegisterOrConstant<R>), Bswap(usize, LowLevelILRegisterOrConstant<R>), Popcnt(usize, LowLevelILRegisterOrConstant<R>), Clz(usize, LowLevelILRegisterOrConstant<R>), Ctz(usize, LowLevelILRegisterOrConstant<R>), Rbit(usize, LowLevelILRegisterOrConstant<R>), Cls(usize, LowLevelILRegisterOrConstant<R>), Abs(usize, LowLevelILRegisterOrConstant<R>), Sx(usize, LowLevelILRegisterOrConstant<R>), Zx(usize, LowLevelILRegisterOrConstant<R>), LowPart(usize, LowLevelILRegisterOrConstant<R>), BoolToInt(usize, LowLevelILRegisterOrConstant<R>), FloatToInt(usize, LowLevelILRegisterOrConstant<R>), Store(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), And(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Or(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Xor(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Lsl(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Lsr(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Asr(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Rol(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Ror(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Mul(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), MuluDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), MulsDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Divu(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Divs(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Modu(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Mods(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), MinSigned(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), MaxSigned(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), MinUnsigned(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), MaxUnsigned(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), DivuDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), DivsDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), ModuDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), ModsDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), TestBit(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), AddOverflow(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Adc(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Sbb(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Rlc(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Rrc(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Pop(usize), Fsqrt(usize, LowLevelILRegisterOrConstant<R>), Fneg(usize, LowLevelILRegisterOrConstant<R>), Fabs(usize, LowLevelILRegisterOrConstant<R>), IntToFloat(usize, LowLevelILRegisterOrConstant<R>), FloatConv(usize, LowLevelILRegisterOrConstant<R>), RoundToInt(usize, LowLevelILRegisterOrConstant<R>), Floor(usize, LowLevelILRegisterOrConstant<R>), Ceil(usize, LowLevelILRegisterOrConstant<R>), Ftrunc(usize, LowLevelILRegisterOrConstant<R>), Fadd(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Fsub(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Fmul(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Fdiv(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpE(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpNe(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpSlt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpUlt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpSle(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpUle(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpSge(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpUge(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpSgt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), CmpUgt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), FcmpE(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), FcmpNe(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), FcmpLt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), FcmpLe(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), FcmpGe(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), FcmpGt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), FcmpO(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), FcmpUo(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>), Raw { operation: BNLowLevelILOperation, size: usize, operands: Vec<BNRegisterOrConstant>, },
}
Expand description

An operation whose result is used to calculate a flag value.

Floating-point constants retain their original bit patterns. Operations that cannot be represented by a typed variant are passed to the same callback as Self::Raw.

Variants§

§

SetReg(usize, LowLevelILRegisterOrConstant<R>)

§

SetRegSplit(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Sub(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Add(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Load(usize, LowLevelILRegisterOrConstant<R>)

§

Push(usize, LowLevelILRegisterOrConstant<R>)

§

Neg(usize, LowLevelILRegisterOrConstant<R>)

§

Not(usize, LowLevelILRegisterOrConstant<R>)

§

Bswap(usize, LowLevelILRegisterOrConstant<R>)

§

Popcnt(usize, LowLevelILRegisterOrConstant<R>)

§

Clz(usize, LowLevelILRegisterOrConstant<R>)

§

Ctz(usize, LowLevelILRegisterOrConstant<R>)

§

Rbit(usize, LowLevelILRegisterOrConstant<R>)

§

Cls(usize, LowLevelILRegisterOrConstant<R>)

§

Abs(usize, LowLevelILRegisterOrConstant<R>)

§

Sx(usize, LowLevelILRegisterOrConstant<R>)

§

Zx(usize, LowLevelILRegisterOrConstant<R>)

§

LowPart(usize, LowLevelILRegisterOrConstant<R>)

§

BoolToInt(usize, LowLevelILRegisterOrConstant<R>)

§

FloatToInt(usize, LowLevelILRegisterOrConstant<R>)

§

Store(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

And(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Or(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Xor(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Lsl(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Lsr(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Asr(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Rol(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Ror(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Mul(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

MuluDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

MulsDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Divu(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Divs(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Modu(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Mods(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

MinSigned(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

MaxSigned(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

MinUnsigned(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

MaxUnsigned(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

DivuDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

DivsDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

ModuDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

ModsDp(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

TestBit(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

AddOverflow(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Adc(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Sbb(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Rlc(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Rrc(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Pop(usize)

§

Fsqrt(usize, LowLevelILRegisterOrConstant<R>)

§

Fneg(usize, LowLevelILRegisterOrConstant<R>)

§

Fabs(usize, LowLevelILRegisterOrConstant<R>)

§

IntToFloat(usize, LowLevelILRegisterOrConstant<R>)

§

FloatConv(usize, LowLevelILRegisterOrConstant<R>)

§

RoundToInt(usize, LowLevelILRegisterOrConstant<R>)

§

Floor(usize, LowLevelILRegisterOrConstant<R>)

§

Ceil(usize, LowLevelILRegisterOrConstant<R>)

§

Ftrunc(usize, LowLevelILRegisterOrConstant<R>)

§

Fadd(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Fsub(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Fmul(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Fdiv(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpE(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpNe(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpSlt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpUlt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpSle(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpUle(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpSge(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpUge(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpSgt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

CmpUgt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

FcmpE(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

FcmpNe(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

FcmpLt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

FcmpLe(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

FcmpGe(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

FcmpGt(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

FcmpO(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

FcmpUo(usize, LowLevelILRegisterOrConstant<R>, LowLevelILRegisterOrConstant<R>)

§

Raw

Preserves the operation, size, and complete operand list when typed decoding is unavailable. This includes intrinsic flag writes (whose first operand is the intrinsic ID), unexpected operand counts, and operands that cannot be resolved as architecture registers.

Trait Implementations§

Source§

impl<R: Clone + ArchReg> Clone for LowLevelILFlagWriteOp<R>

Source§

fn clone(&self) -> LowLevelILFlagWriteOp<R>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<R> Freeze for LowLevelILFlagWriteOp<R>
where R: Freeze,

§

impl<R> RefUnwindSafe for LowLevelILFlagWriteOp<R>
where R: RefUnwindSafe,

§

impl<R> Send for LowLevelILFlagWriteOp<R>
where R: Send,

§

impl<R> Sync for LowLevelILFlagWriteOp<R>
where R: Sync,

§

impl<R> Unpin for LowLevelILFlagWriteOp<R>
where R: Unpin,

§

impl<R> UnsafeUnpin for LowLevelILFlagWriteOp<R>
where R: UnsafeUnpin,

§

impl<R> UnwindSafe for LowLevelILFlagWriteOp<R>
where R: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit #126799)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more