pub struct DynamicInfo {Show 34 fields
pub rela: usize,
pub relasz: usize,
pub relaent: u64,
pub relacount: usize,
pub rel: usize,
pub relsz: usize,
pub relent: u64,
pub relcount: usize,
pub gnu_hash: Option<u64>,
pub hash: Option<u64>,
pub strtab: usize,
pub strsz: usize,
pub symtab: usize,
pub syment: usize,
pub pltgot: Option<u64>,
pub pltrelsz: usize,
pub pltrel: u64,
pub jmprel: usize,
pub verdef: u64,
pub verdefnum: u64,
pub verneed: u64,
pub verneednum: u64,
pub versym: u64,
pub init: u64,
pub fini: u64,
pub init_array: u64,
pub init_arraysz: usize,
pub fini_array: u64,
pub fini_arraysz: usize,
pub needed_count: usize,
pub flags: u64,
pub flags_1: u64,
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: u64
§relacount: usize
§rel: usize
§relsz: usize
§relent: u64
§relcount: usize
§gnu_hash: Option<u64>
§hash: Option<u64>
§strtab: usize
§strsz: usize
§symtab: usize
§syment: usize
§pltgot: Option<u64>
§pltrelsz: usize
§pltrel: u64
§jmprel: usize
§verdef: u64
§verdefnum: u64
§verneed: u64
§verneednum: u64
§versym: u64
§init: u64
§fini: u64
§init_array: u64
§init_arraysz: usize
§fini_array: u64
§fini_arraysz: usize
§needed_count: usize
§flags: u64
§flags_1: u64
§soname: usize
§textrel: bool
Implementations§
Source§impl DynamicInfo
impl DynamicInfo
pub fn update(&mut self, phdrs: &[ProgramHeader], dynamic: &Dyn)
pub fn new(dynamic: &[Dyn], phdrs: &[ProgramHeader]) -> DynamicInfo
Trait Implementations§
Source§impl Debug for DynamicInfo
impl Debug for DynamicInfo
Source§impl Default for DynamicInfo
impl Default for DynamicInfo
Source§fn default() -> DynamicInfo
fn default() -> DynamicInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for DynamicInfo
impl PartialEq for DynamicInfo
impl StructuralPartialEq for DynamicInfo
Auto Trait Implementations§
impl Freeze for DynamicInfo
impl RefUnwindSafe for DynamicInfo
impl Send for DynamicInfo
impl Sync for DynamicInfo
impl Unpin for DynamicInfo
impl UnwindSafe for DynamicInfo
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