Struct goblin::mach::load_command::DylibReference
source · #[repr(C)]pub struct DylibReference {
pub isym: [u8; 24],
pub flags: u64,
}
Expand description
The entries in the reference symbol table are used when loading the module (both by the static and dynamic link editors) and if the module is unloaded or replaced. Therefore all external symbols (defined and undefined) are listed in the module’s reference table. The flags describe the type of reference that is being made. The constants for the flags are defined in <mach-o/nlist.h> as they are also used for symbol table entries.
Fields§
§isym: [u8; 24]
24 bits bit-field index into the symbol table
flags: u64
flags to indicate the type of reference
Trait Implementations§
source§impl Clone for DylibReference
impl Clone for DylibReference
source§fn clone(&self) -> DylibReference
fn clone(&self) -> DylibReference
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 Debug for DylibReference
impl Debug for DylibReference
source§impl<'a> IntoCtx<Endian> for &'a DylibReference
impl<'a> IntoCtx<Endian> for &'a DylibReference
source§impl<'a> TryFromCtx<'a, Endian> for DylibReferencewhere
DylibReference: 'a,
impl<'a> TryFromCtx<'a, Endian> for DylibReferencewhere DylibReference: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a DylibReference
impl<'a> TryIntoCtx<Endian> for &'a DylibReference
source§impl TryIntoCtx<Endian> for DylibReference
impl TryIntoCtx<Endian> for DylibReference
impl Copy for DylibReference
Auto Trait Implementations§
impl RefUnwindSafe for DylibReference
impl Send for DylibReference
impl Sync for DylibReference
impl Unpin for DylibReference
impl UnwindSafe for DylibReference
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