[][src]Trait elf_utilities::file::ELF

pub trait ELF {
    type Header: ELFHeader;
    type Section: Section;
    type Segment: Segment;
    fn new(header: Self::Header) -> Self;
fn header(&self) -> Self::Header;
fn sections_as_mut(&mut self) -> &mut Vec<Self::Section>;
fn update_sections(&mut self, sections: Vec<Self::Section>);
fn update_segments(&mut self, segments: Vec<Self::Segment>); }

Associated Types

Loading content...

Required methods

fn new(header: Self::Header) -> Self

fn header(&self) -> Self::Header

fn sections_as_mut(&mut self) -> &mut Vec<Self::Section>

fn update_sections(&mut self, sections: Vec<Self::Section>)

fn update_segments(&mut self, segments: Vec<Self::Segment>)

Loading content...

Implementors

impl ELF for ELF32[src]

type Header = Ehdr32

type Section = Section32

type Segment = Segment32

impl ELF for ELF64[src]

type Header = Ehdr64

type Section = Section64

type Segment = Segment64

Loading content...