[][src]Struct goblin::elf::dynamic::dyn32::DynamicInfo

pub struct DynamicInfo {
    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 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,
}

Important dynamic linking info generated via a single pass through the _DYNAMIC array

Fields

rela: usizerelasz: usizerelaent: u32relacount: usizerel: usizerelsz: usizerelent: u32relcount: usizegnu_hash: Option<u32>hash: Option<u32>strtab: usizestrsz: usizesymtab: usizesyment: usizepltgot: Option<u32>pltrelsz: usizepltrel: u32jmprel: usizeverneed: u32verneednum: u32versym: u32init: u32fini: u32init_array: u32init_arraysz: usizefini_array: u32fini_arraysz: usizeneeded_count: usizeflags: u32flags_1: u32soname: usizetextrel: bool

Methods

impl DynamicInfo[src]

pub fn update(&mut self, phdrs: &[ProgramHeader], dynamic: &Dyn)[src]

pub fn new(dynamic: &[Dyn], phdrs: &[ProgramHeader]) -> DynamicInfo[src]

Trait Implementations

impl Default for DynamicInfo[src]

impl Debug for DynamicInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]