binaryninja::low_level_il::operation

Struct Operation

source
pub struct Operation<'func, A, M, F, O>{ /* private fields */ }

Implementations§

source§

impl<'func, A, M, F, O> Operation<'func, A, M, F, O>

source

pub fn address(&self) -> u64

source§

impl<A, M, O> Operation<'_, A, M, NonSSA<LiftedNonSSA>, O>

source

pub fn flag_write(&self) -> Option<A::FlagWrite>

source§

impl<A, M, F> Operation<'_, A, M, F, Pop>

source

pub fn size(&self) -> usize

source§

impl<A, M, F> Operation<'_, A, M, F, Intrinsic>

source

pub fn intrinsic(&self) -> Option<A::Intrinsic>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, SetReg>

source

pub fn size(&self) -> usize

source

pub fn dest_reg(&self) -> LowLevelILRegister<A::Register>

source

pub fn source_expr(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, SetRegSplit>

source

pub fn size(&self) -> usize

source

pub fn dest_reg_high(&self) -> LowLevelILRegister<A::Register>

source

pub fn dest_reg_low(&self) -> LowLevelILRegister<A::Register>

source

pub fn source_expr(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, SetFlag>

source

pub fn dest_flag(&self) -> A::Flag

source

pub fn source_expr(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, Load>

source

pub fn size(&self) -> usize

source

pub fn source_mem_expr(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, Store>

source

pub fn size(&self) -> usize

source

pub fn dest_mem_expr(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn source_expr(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<A, M, F> Operation<'_, A, M, F, Reg>

source

pub fn size(&self) -> usize

source

pub fn source_reg(&self) -> LowLevelILRegister<A::Register>

source§

impl<A, M, F> Operation<'_, A, M, F, RegSplit>

source

pub fn size(&self) -> usize

source

pub fn low_reg(&self) -> LowLevelILRegister<A::Register>

source

pub fn high_reg(&self) -> LowLevelILRegister<A::Register>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, RegStackPush>

source

pub fn size(&self) -> usize

source

pub fn dest_reg_stack(&self) -> A::RegisterStack

source

pub fn source_expr(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<A, M, F> Operation<'_, A, M, F, RegStackPop>

source

pub fn size(&self) -> usize

source

pub fn source_reg_stack(&self) -> A::RegisterStack

source§

impl<'func, A, M, F> Operation<'func, A, M, F, Jump>

source

pub fn target(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, JumpTo>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, Call>

source

pub fn target(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn stack_adjust(&self) -> Option<u64>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, Ret>

source

pub fn target(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, If>

source

pub fn condition(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn true_target(&self) -> LowLevelILInstruction<'func, A, M, F>

source

pub fn false_target(&self) -> LowLevelILInstruction<'func, A, M, F>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, Goto>

source

pub fn target(&self) -> LowLevelILInstruction<'func, A, M, F>

source§

impl<A, M> Operation<'_, A, M, NonSSA<LiftedNonSSA>, FlagGroup>

source

pub fn flag_group(&self) -> A::FlagGroup

source§

impl<A, M, F> Operation<'_, A, M, F, Trap>

source

pub fn vector(&self) -> u64

source§

impl<A, M, F> Operation<'_, A, M, F, Const>

source

pub fn size(&self) -> usize

source

pub fn value(&self) -> u64

source§

impl<A, M, F> Operation<'_, A, M, F, Extern>

source

pub fn size(&self) -> usize

source

pub fn value(&self) -> u64

source§

impl<'func, A, M, F> Operation<'func, A, M, F, BinaryOp>

source

pub fn size(&self) -> usize

source

pub fn left(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn right(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, BinaryOpCarry>

source

pub fn size(&self) -> usize

source

pub fn left(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn right(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn carry(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, DoublePrecDivOp>

source

pub fn size(&self) -> usize

source

pub fn high(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn low(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn right(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, UnaryOp>

source

pub fn size(&self) -> usize

source

pub fn operand(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, Condition>

source

pub fn size(&self) -> usize

source

pub fn left(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source

pub fn right(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

source§

impl<'func, A, M, F> Operation<'func, A, M, F, UnimplMem>

source

pub fn size(&self) -> usize

source

pub fn mem_expr(&self) -> LowLevelILExpression<'func, A, M, F, ValueExpr>

Trait Implementations§

source§

impl<A, M, F> Debug for Operation<'_, A, M, F, BinaryOp>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, BinaryOpCarry>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Call>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Condition>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Const>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, DoublePrecDivOp>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Extern>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Flag>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, FlagBit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, FlagCond>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, FlagPhi>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Goto>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, If>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Intrinsic>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Jump>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, JumpTo>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Load>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, MemPhi>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, NoArgs>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Pop>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Reg>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, RegPhi>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, RegSplit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, RegStackPop>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, RegStackPush>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Ret>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, SetFlag>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, SetReg>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, SetRegSplit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Store>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Syscall>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, Trap>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, UnaryOp>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M, F> Debug for Operation<'_, A, M, F, UnimplMem>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M> Debug for Operation<'_, A, M, NonSSA<LiftedNonSSA>, FlagGroup>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, M> Debug for Operation<'_, A, M, SSA, FlagGroup>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'func, A, M, F, O> Freeze for Operation<'func, A, M, F, O>

§

impl<'func, A, M, F, O> RefUnwindSafe for Operation<'func, A, M, F, O>

§

impl<'func, A, M, F, O> Send for Operation<'func, A, M, F, O>
where O: Send,

§

impl<'func, A, M, F, O> Sync for Operation<'func, A, M, F, O>
where O: Sync,

§

impl<'func, A, M, F, O> Unpin for Operation<'func, A, M, F, O>
where O: Unpin,

§

impl<'func, A, M, F, O> UnwindSafe for Operation<'func, A, M, F, O>

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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

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, 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.