[][src]Struct genelf::elf::elf::Phdr

pub struct Phdr {
    pub p_type: u32,
    pub p_flags: u32,
    pub p_offset: u64,
    pub p_vaddr: u64,
    pub p_paddr: u64,
    pub p_filesz: u64,
    pub p_memsz: u64,
    pub p_align: u64,
    // some fields omitted
}

Fields

p_type: u32p_flags: u32p_offset: u64p_vaddr: u64p_paddr: u64p_filesz: u64p_memsz: u64p_align: u64

Methods

impl Phdr[src]

pub fn new(b: Vec<u8>) -> Phdr[src]

pub fn bin(&self) -> Vec<u8>[src]

Auto Trait Implementations

impl Sync for Phdr

impl Send for Phdr

impl Unpin for Phdr

impl RefUnwindSafe for Phdr

impl UnwindSafe for Phdr

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]