Trait lief::generic::Section

pub trait Section {
    // Provided methods
    fn name(&self) -> String { ... }
    fn size(&self) -> u64 { ... }
    fn offset(&self) -> u64 { ... }
    fn virtual_address(&self) -> u64 { ... }
    fn content(&self) -> &[u8]  { ... }
}

Provided Methods§

fn name(&self) -> String

fn size(&self) -> u64

fn offset(&self) -> u64

fn virtual_address(&self) -> u64

fn content(&self) -> &[u8]

Trait Implementations§

§

impl Debug for &dyn Section

§

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

Formats the value using the given formatter. Read more

Implementors§

§

impl Section for lief::elf::Section<'_>

§

impl Section for lief::macho::Section<'_>

§

impl Section for lief::pe::Section<'_>