Struct goblin::mach::load_command::Dylib
source · #[repr(C)]pub struct Dylib {
pub name: LcStr,
pub timestamp: u32,
pub current_version: u32,
pub compatibility_version: u32,
}
Expand description
A dynamically linked shared library (fipub constype == MH_DYLIB in the mach header) contains a dylib_command (cmd == LC_ID_DYLIB) to identify the library. An object that uses a dynamically linked shared library also contains a dylib_command (cmd == LC_LOAD_DYLIB, LC_LOAD_WEAK_DYLIB, or LC_REEXPORT_DYLIB) for each library it uses.
Fields§
§name: LcStr
library’s path name
timestamp: u32
library’s build time stamp
current_version: u32
library’s current version number
compatibility_version: u32
library’s compatibility vers number
Trait Implementations§
source§impl<'a> TryIntoCtx<Endian> for &'a Dylib
impl<'a> TryIntoCtx<Endian> for &'a Dylib
source§impl TryIntoCtx<Endian> for Dylib
impl TryIntoCtx<Endian> for Dylib
impl Copy for Dylib
Auto Trait Implementations§
impl RefUnwindSafe for Dylib
impl Send for Dylib
impl Sync for Dylib
impl Unpin for Dylib
impl UnwindSafe for Dylib
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