1 2 3 4 5 6 7 8 9 10 11 12 13 14
/// An ELF symbol. pub struct Symbol(pub(crate) dw_sys::GElf_Sym); impl Symbol { /// Returns the value of the symbol. pub fn value(&self) -> u64 { self.0.st_value } /// Returns the size of the symbol. pub fn size(&self) -> u64 { self.0.st_size } }