[][src]Trait xmas_elf::symbol_table::Entry

pub trait Entry {
    fn name(&self) -> u32;
fn info(&self) -> u8;
fn other(&self) -> Visibility_;
fn shndx(&self) -> u16;
fn value(&self) -> u64;
fn size(&self) -> u64;
fn get_name<'a>(
        &'a self,
        elf_file: &ElfFile<'a>
    ) -> Result<&'a str, &'static str>; fn get_other(&self) -> Visibility { ... }
fn get_binding(&self) -> Result<Binding, &'static str> { ... }
fn get_type(&self) -> Result<Type, &'static str> { ... }
fn get_section_header<'a>(
        &'a self,
        elf_file: &ElfFile<'a>,
        self_index: usize
    ) -> Result<SectionHeader<'a>, &'static str> { ... } }

Required methods

fn name(&self) -> u32

fn info(&self) -> u8

fn other(&self) -> Visibility_

fn shndx(&self) -> u16

fn value(&self) -> u64

fn size(&self) -> u64

fn get_name<'a>(
    &'a self,
    elf_file: &ElfFile<'a>
) -> Result<&'a str, &'static str>

Loading content...

Provided methods

fn get_other(&self) -> Visibility

fn get_binding(&self) -> Result<Binding, &'static str>

fn get_type(&self) -> Result<Type, &'static str>

fn get_section_header<'a>(
    &'a self,
    elf_file: &ElfFile<'a>,
    self_index: usize
) -> Result<SectionHeader<'a>, &'static str>

Loading content...

Trait Implementations

impl Display for dyn Entry[src]

Implementors

impl Entry for DynEntry32[src]

fn get_other(&self) -> Visibility[src]

fn get_binding(&self) -> Result<Binding, &'static str>[src]

fn get_type(&self) -> Result<Type, &'static str>[src]

fn get_section_header<'a>(
    &'a self,
    elf_file: &ElfFile<'a>,
    self_index: usize
) -> Result<SectionHeader<'a>, &'static str>
[src]

impl Entry for DynEntry64[src]

fn get_other(&self) -> Visibility[src]

fn get_binding(&self) -> Result<Binding, &'static str>[src]

fn get_type(&self) -> Result<Type, &'static str>[src]

fn get_section_header<'a>(
    &'a self,
    elf_file: &ElfFile<'a>,
    self_index: usize
) -> Result<SectionHeader<'a>, &'static str>
[src]

impl Entry for Entry32[src]

fn get_other(&self) -> Visibility[src]

fn get_binding(&self) -> Result<Binding, &'static str>[src]

fn get_type(&self) -> Result<Type, &'static str>[src]

fn get_section_header<'a>(
    &'a self,
    elf_file: &ElfFile<'a>,
    self_index: usize
) -> Result<SectionHeader<'a>, &'static str>
[src]

impl Entry for Entry64[src]

fn get_other(&self) -> Visibility[src]

fn get_binding(&self) -> Result<Binding, &'static str>[src]

fn get_type(&self) -> Result<Type, &'static str>[src]

fn get_section_header<'a>(
    &'a self,
    elf_file: &ElfFile<'a>,
    self_index: usize
) -> Result<SectionHeader<'a>, &'static str>
[src]

Loading content...