pub struct DynamicInfo {Show 34 fields
pub rela: usize,
pub relasz: usize,
pub relaent: u32,
pub relacount: usize,
pub rel: usize,
pub relsz: usize,
pub relent: u32,
pub relcount: usize,
pub gnu_hash: Option<u32>,
pub hash: Option<u32>,
pub strtab: usize,
pub strsz: usize,
pub symtab: usize,
pub syment: usize,
pub pltgot: Option<u32>,
pub pltrelsz: usize,
pub pltrel: u32,
pub jmprel: usize,
pub verdef: u32,
pub verdefnum: u32,
pub verneed: u32,
pub verneednum: u32,
pub versym: u32,
pub init: u32,
pub fini: u32,
pub init_array: u32,
pub init_arraysz: usize,
pub fini_array: u32,
pub fini_arraysz: usize,
pub needed_count: usize,
pub flags: u32,
pub flags_1: u32,
pub soname: usize,
pub textrel: bool,
}
Expand description
Important dynamic linking info generated via a single pass through the _DYNAMIC
array
Fields
rela: usize
relasz: usize
relaent: u32
relacount: usize
rel: usize
relsz: usize
relent: u32
relcount: usize
gnu_hash: Option<u32>
hash: Option<u32>
strtab: usize
strsz: usize
symtab: usize
syment: usize
pltgot: Option<u32>
pltrelsz: usize
pltrel: u32
jmprel: usize
verdef: u32
verdefnum: u32
verneed: u32
verneednum: u32
versym: u32
init: u32
fini: u32
init_array: u32
init_arraysz: usize
fini_array: u32
fini_arraysz: usize
needed_count: usize
flags: u32
flags_1: u32
soname: usize
textrel: bool
Implementations
sourceimpl DynamicInfo
impl DynamicInfo
pub fn update(&mut self, phdrs: &[ProgramHeader], dynamic: &Dyn)
pub fn new(dynamic: &[Dyn], phdrs: &[ProgramHeader]) -> DynamicInfo
Trait Implementations
sourceimpl Debug for DynamicInfo
impl Debug for DynamicInfo
sourceimpl Default for DynamicInfo
impl Default for DynamicInfo
sourcefn default() -> DynamicInfo
fn default() -> DynamicInfo
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DynamicInfo> for DynamicInfo
impl PartialEq<DynamicInfo> for DynamicInfo
sourcefn eq(&self, other: &DynamicInfo) -> bool
fn eq(&self, other: &DynamicInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DynamicInfo) -> bool
fn ne(&self, other: &DynamicInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for DynamicInfo
Auto Trait Implementations
impl RefUnwindSafe for DynamicInfo
impl Send for DynamicInfo
impl Sync for DynamicInfo
impl Unpin for DynamicInfo
impl UnwindSafe for DynamicInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more