#[repr(u8)]pub enum InlineDuringAnalysis {
DoNotInlineCall = 0,
InlinePreservingTargetInstructionAddresses = 1,
InlineUsingCallAddress = 2,
}Variants§
DoNotInlineCall = 0
The called function should not be inlined.
InlinePreservingTargetInstructionAddresses = 1
The called function should be inlined, with the inlined instructions preserving their original addresses. This was the only behavior available up through Binary Ninja 5.2.
InlineUsingCallAddress = 2
The called function should be inlined, with the inlined instructions using the call site address as their address. This ensures that when the function is inlined into a caller multiple times, each occurrence can have different adjustments applied to it. The trade-off is that the instructions inlined at a given call site have the same address, which in turn prevents applying adjustments that depend on instruction address to only a subset of those instructions.
Trait Implementations§
Source§impl Clone for BNInlineDuringAnalysis
impl Clone for BNInlineDuringAnalysis
Source§fn clone(&self) -> BNInlineDuringAnalysis
fn clone(&self) -> BNInlineDuringAnalysis
Returns a duplicate 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 Debug for BNInlineDuringAnalysis
impl Debug for BNInlineDuringAnalysis
Source§impl Hash for BNInlineDuringAnalysis
impl Hash for BNInlineDuringAnalysis
Source§impl PartialEq for BNInlineDuringAnalysis
impl PartialEq for BNInlineDuringAnalysis
impl Copy for BNInlineDuringAnalysis
impl Eq for BNInlineDuringAnalysis
impl StructuralPartialEq for BNInlineDuringAnalysis
Auto Trait Implementations§
impl Freeze for BNInlineDuringAnalysis
impl RefUnwindSafe for BNInlineDuringAnalysis
impl Send for BNInlineDuringAnalysis
impl Sync for BNInlineDuringAnalysis
impl Unpin for BNInlineDuringAnalysis
impl UnwindSafe for BNInlineDuringAnalysis
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