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

pub struct DynamicInfo {
Show 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 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: usizerelasz: usizerelaent: u64relacount: usizerel: usizerelsz: usizerelent: u64relcount: usizegnu_hash: Option<u64>hash: Option<u64>strtab: usizestrsz: usizesymtab: usizesyment: usizepltgot: Option<u64>pltrelsz: usizepltrel: u64jmprel: usizeverneed: u64verneednum: u64versym: u64init: u64fini: u64init_array: u64init_arraysz: usizefini_array: u64fini_arraysz: usizeneeded_count: usizeflags: u64flags_1: u64soname: usizetextrel: bool

Implementations

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 Debug for DynamicInfo[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for DynamicInfo[src]

fn default() -> DynamicInfo[src]

Returns the “default value” for a type. Read more

impl PartialEq<DynamicInfo> for DynamicInfo[src]

fn eq(&self, other: &DynamicInfo) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &DynamicInfo) -> bool[src]

This method tests for !=.

impl StructuralPartialEq for DynamicInfo[src]

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.