Struct LowLevelILInstruction

Source
pub struct LowLevelILInstruction<'func, M, F>{
    pub index: LowLevelInstructionIndex,
    /* private fields */
}

Fields§

§index: LowLevelInstructionIndex

Implementations§

Source§

impl<'func, M, F> LowLevelILInstruction<'func, M, F>

Source

pub fn new( function: &'func LowLevelILFunction<M, F>, index: LowLevelInstructionIndex, ) -> Self

Source

pub fn address(&self) -> u64

Source

pub fn expr_idx(&self) -> LowLevelExpressionIndex

Source

pub fn into_raw(&self) -> BNLowLevelILInstruction

Source

pub fn basic_block( &self, ) -> Option<Ref<BasicBlock<LowLevelILBlock<'func, M, F>>>>

Returns the BasicBlock containing the given LowLevelILInstruction.

Source§

impl<'func, M> LowLevelILInstruction<'func, M, NonSSA>

Source

pub fn ssa_form( &self, ssa: &'func LowLevelILFunction<M, SSA>, ) -> LowLevelILInstruction<'func, M, SSA>

Source§

impl<'func, M> LowLevelILInstruction<'func, M, SSA>

Source

pub fn non_ssa_form( &self, non_ssa: &'func LowLevelILFunction<M, NonSSA>, ) -> LowLevelILInstruction<'func, M, NonSSA>

Trait Implementations§

Source§

impl<'func, M, F> Clone for LowLevelILInstruction<'func, M, F>

Source§

fn clone(&self) -> LowLevelILInstruction<'func, M, F>

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<M, F> Debug for LowLevelILInstruction<'_, M, F>

Source§

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

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

impl<'func, M> InstructionHandler<'func, M, NonSSA> for LowLevelILInstruction<'func, M, NonSSA>

Source§

fn kind(&self) -> LowLevelILInstructionKind<'func, M, NonSSA>

Source§

fn visit_tree<T>(&self, f: &mut T) -> VisitorAction

Visit the sub expressions of this instruction. Read more
Source§

impl<'func, M> InstructionHandler<'func, M, SSA> for LowLevelILInstruction<'func, M, SSA>

Source§

fn kind(&self) -> LowLevelILInstructionKind<'func, M, SSA>

Source§

fn visit_tree<T>(&self, f: &mut T) -> VisitorAction

Visit the sub expressions of this instruction. Read more
Source§

impl<'func, M, F> Copy for LowLevelILInstruction<'func, M, F>

Auto Trait Implementations§

§

impl<'func, M, F> Freeze for LowLevelILInstruction<'func, M, F>

§

impl<'func, M, F> RefUnwindSafe for LowLevelILInstruction<'func, M, F>

§

impl<'func, M, F> Send for LowLevelILInstruction<'func, M, F>

§

impl<'func, M, F> Sync for LowLevelILInstruction<'func, M, F>

§

impl<'func, M, F> Unpin for LowLevelILInstruction<'func, M, F>

§

impl<'func, M, F> UnwindSafe for LowLevelILInstruction<'func, M, F>

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.

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.