pub struct ElfDynamic {Show 19 fields
pub dyn_ptr: *const Dyn,
pub hashtab: usize,
pub symtab: usize,
pub strtab: usize,
pub bind_now: bool,
pub got: Option<*mut usize>,
pub init_fn: Option<extern "C" fn()>,
pub init_array_fn: Option<&'static [extern "C" fn()]>,
pub fini_fn: Option<extern "C" fn()>,
pub fini_array_fn: Option<&'static [extern "C" fn()]>,
pub pltrel: Option<&'static [ElfRela]>,
pub dynrel: Option<&'static [ElfRela]>,
pub rela_count: Option<NonZeroUsize>,
pub needed_libs: Vec<NonZeroUsize>,
pub version_idx: Option<NonZeroUsize>,
pub verneed: Option<(NonZeroUsize, NonZeroUsize)>,
pub verdef: Option<(NonZeroUsize, NonZeroUsize)>,
pub rpath_off: Option<NonZeroUsize>,
pub runpath_off: Option<NonZeroUsize>,
}Expand description
Information in the dynamic section after mapping to the real address
Fields§
§dyn_ptr: *const Dyn§hashtab: usize§symtab: usize§strtab: usize§bind_now: bool§got: Option<*mut usize>§init_fn: Option<extern "C" fn()>§init_array_fn: Option<&'static [extern "C" fn()]>§fini_fn: Option<extern "C" fn()>§fini_array_fn: Option<&'static [extern "C" fn()]>§pltrel: Option<&'static [ElfRela]>§dynrel: Option<&'static [ElfRela]>§rela_count: Option<NonZeroUsize>§needed_libs: Vec<NonZeroUsize>§version_idx: Option<NonZeroUsize>§verneed: Option<(NonZeroUsize, NonZeroUsize)>§verdef: Option<(NonZeroUsize, NonZeroUsize)>§rpath_off: Option<NonZeroUsize>§runpath_off: Option<NonZeroUsize>Auto Trait Implementations§
impl Freeze for ElfDynamic
impl RefUnwindSafe for ElfDynamic
impl !Send for ElfDynamic
impl !Sync for ElfDynamic
impl Unpin for ElfDynamic
impl UnwindSafe for ElfDynamic
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