elrond 1.0.0

Standard conformant elf parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

use super::super::{ElfHeader, VarSize, BufferBorrow};

use super::{
    SymBinding, SymbolBinding,
    SymType, SymbolType,
    SymProt, SymbolProtection,
    find_null,
};

pub trait SymEntry<'a>: SymbolBinding + SymbolType + SymbolProtection + ElfHeader<'a> {

    fn get_name<'b>(&'b self) -> Option<&'b str>;

    fn st_value(&self) -> VarSize;
    fn st_size(&self) -> VarSize;
    fn st_shndx(&self) -> u16;
}