[][src]Struct elf_utilities::file::elf64::ELF64

#[repr(C)]pub struct ELF64 { /* fields omitted */ }

Implementations

impl ELF64[src]

pub fn new(elf_header: Ehdr64) -> Self[src]

pub fn first_shidx_by<P>(&self, predicate: P) -> Option<usize> where
    P: Fn(&Section64) -> bool
[src]

get section index if predicate returns true.

pub fn first_section_by<P>(&self, predicate: P) -> Option<&Section64> where
    P: Fn(&Section64) -> bool
[src]

get a section if predicate returns true.

pub fn first_mut_section_by<P>(
    &mut self,
    predicate: P
) -> Option<&mut Section64> where
    P: Fn(&Section64) -> bool
[src]

get a mutable section if predicate returns true.

pub fn set_segments(&mut self, segments: Vec<Segment64>)[src]

pub fn clone_sections(&self) -> Vec<Section64>[src]

pub fn iter_sections_as_mut(&mut self) -> IterMut<'_, Section64>[src]

pub fn condition(&mut self)[src]

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

pub fn section_number(&self) -> usize[src]

pub fn segment_number(&self) -> usize[src]

pub fn add_section(&mut self, sct: Section64)[src]

pub fn get_ehdr_as_mut(&mut self) -> &mut Ehdr64[src]

pub fn all_section_size(&self) -> u64[src]

pub fn add_segment(&mut self, seg: Segment64)[src]

Auto Trait Implementations

impl RefUnwindSafe for ELF64

impl Send for ELF64

impl Sync for ELF64

impl Unpin for ELF64

impl UnwindSafe for ELF64

Blanket Implementations

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

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

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

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.