Enum lief::macho::binding_info::BindingInfo
pub enum BindingInfo<'a> {
Dyld(Dyld<'a>),
Chained(Chained<'a>),
Generic(Generic<'a>),
}
Expand description
This enum exposes all the different types of binding operations that
we can find in a Mach-O binary. BindingInfo::Dyld
exposes the bindings info
wrapped in the LC_DYLD_INFO
command while BindingInfo::Chained
exposes the new
chained bindings implemented in the DYLD_CHAINED_FIXUPS
command.
Variants§
Dyld(Dyld<'a>)
Bindings defined in LC_DYLD_INFO
command
Chained(Chained<'a>)
Bindings defined in DYLD_CHAINED_FIXUPS
command
Generic(Generic<'a>)
Fallback item
Trait Implementations§
§impl AsGeneric for BindingInfo<'_>
impl AsGeneric for BindingInfo<'_>
fn library_ordinal(&self) -> i32
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BindingInfo<'a>
impl<'a> !Send for BindingInfo<'a>
impl<'a> !Sync for BindingInfo<'a>
impl<'a> Unpin for BindingInfo<'a>
impl<'a> UnwindSafe for BindingInfo<'a>
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