[−][src]Struct object::elf::ProgramHeader64
Program segment header.
Fields
p_type: U32<E>
Segment type. One of the PT_*
constants.
p_flags: U32<E>
Segment flags. A combination of the PF_*
constants.
p_offset: U64<E>
Segment file offset.
p_vaddr: U64<E>
Segment virtual address.
p_paddr: U64<E>
Segment physical address.
p_filesz: U64<E>
Segment size in the file.
p_memsz: U64<E>
Segment size in memory.
p_align: U64<E>
Segment alignment.
Trait Implementations
impl<E: Clone + Endian> Clone for ProgramHeader64<E>
[src]
fn clone(&self) -> ProgramHeader64<E>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<E: Copy + Endian> Copy for ProgramHeader64<E>
[src]
impl<E: Debug + Endian> Debug for ProgramHeader64<E>
[src]
impl<E: Endian> Pod for ProgramHeader64<E>
[src]
impl<Endian: Endian> ProgramHeader for ProgramHeader64<Endian>
[src]
type Word = u64
type Endian = Endian
type Elf = FileHeader64<Endian>
fn p_type(&self, endian: Self::Endian) -> u32
[src]
fn p_flags(&self, endian: Self::Endian) -> u32
[src]
fn p_offset(&self, endian: Self::Endian) -> Self::Word
[src]
fn p_vaddr(&self, endian: Self::Endian) -> Self::Word
[src]
fn p_paddr(&self, endian: Self::Endian) -> Self::Word
[src]
fn p_filesz(&self, endian: Self::Endian) -> Self::Word
[src]
fn p_memsz(&self, endian: Self::Endian) -> Self::Word
[src]
fn p_align(&self, endian: Self::Endian) -> Self::Word
[src]
fn file_range(&self, endian: Self::Endian) -> (u64, u64)
[src]
fn data<'data>(
&self,
endian: Self::Endian,
data: Bytes<'data>
) -> Result<Bytes<'data>, ()>
[src]
&self,
endian: Self::Endian,
data: Bytes<'data>
) -> Result<Bytes<'data>, ()>
fn notes<'data>(
&self,
endian: Self::Endian,
data: Bytes<'data>
) -> Result<Option<ElfNoteIterator<'data, Self::Elf>>>
[src]
&self,
endian: Self::Endian,
data: Bytes<'data>
) -> Result<Option<ElfNoteIterator<'data, Self::Elf>>>
Auto Trait Implementations
impl<E> Send for ProgramHeader64<E> where
E: Send,
E: Send,
impl<E> Sync for ProgramHeader64<E> where
E: Sync,
E: Sync,
impl<E> Unpin for ProgramHeader64<E> where
E: Unpin,
E: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,