pub struct LowLevelILInstruction<'func, M, F>where
M: FunctionMutability,
F: FunctionForm,{
pub index: LowLevelInstructionIndex,
/* private fields */
}
Fields§
§index: LowLevelInstructionIndex
Implementations§
source§impl<'func, M, F> LowLevelILInstruction<'func, M, F>where
M: FunctionMutability,
F: FunctionForm,
impl<'func, M, F> LowLevelILInstruction<'func, M, F>where
M: FunctionMutability,
F: FunctionForm,
pub fn new( function: &'func LowLevelILFunction<M, F>, index: LowLevelInstructionIndex, ) -> Self
pub fn address(&self) -> u64
pub fn expr_idx(&self) -> LowLevelExpressionIndex
pub fn into_raw(&self) -> BNLowLevelILInstruction
sourcepub fn basic_block(
&self,
) -> Option<Ref<BasicBlock<LowLevelILBlock<'func, M, F>>>>
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>where
M: FunctionMutability,
impl<'func, M> LowLevelILInstruction<'func, M, NonSSA>where
M: FunctionMutability,
pub fn ssa_form( &self, ssa: &'func LowLevelILFunction<M, SSA>, ) -> LowLevelILInstruction<'func, M, SSA>
source§impl<'func, M> LowLevelILInstruction<'func, M, SSA>where
M: FunctionMutability,
impl<'func, M> LowLevelILInstruction<'func, M, SSA>where
M: FunctionMutability,
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>
impl<'func, M, F> Clone for LowLevelILInstruction<'func, M, F>
source§fn clone(&self) -> LowLevelILInstruction<'func, M, F>
fn clone(&self) -> LowLevelILInstruction<'func, M, F>
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<M, F> Debug for LowLevelILInstruction<'_, M, F>where
M: FunctionMutability,
F: FunctionForm,
impl<M, F> Debug for LowLevelILInstruction<'_, M, F>where
M: FunctionMutability,
F: FunctionForm,
source§impl<'func, M> InstructionHandler<'func, M, NonSSA> for LowLevelILInstruction<'func, M, NonSSA>where
M: FunctionMutability,
impl<'func, M> InstructionHandler<'func, M, NonSSA> for LowLevelILInstruction<'func, M, NonSSA>where
M: FunctionMutability,
fn kind(&self) -> LowLevelILInstructionKind<'func, M, NonSSA>
source§fn visit_tree<T>(&self, f: &mut T) -> VisitorAction
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>where
M: FunctionMutability,
impl<'func, M> InstructionHandler<'func, M, SSA> for LowLevelILInstruction<'func, M, SSA>where
M: FunctionMutability,
fn kind(&self) -> LowLevelILInstructionKind<'func, M, SSA>
source§fn visit_tree<T>(&self, f: &mut T) -> VisitorAction
fn visit_tree<T>(&self, f: &mut T) -> VisitorAction
Visit the sub expressions of this instruction. Read more
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>where
M: RefUnwindSafe,
F: RefUnwindSafe,
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>where
M: RefUnwindSafe,
F: RefUnwindSafe,
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