Trait xmas_elf::Extensions
[−]
[src]
pub trait Extensions<'a> { fn get_gnu_buildid(&self) -> Option<&'a [u8]>; fn get_gnu_debuglink(&self) -> Option<(&'a str, u32)>; }
A trait for things that are common ELF conventions but not part of the ELF specification.
Required Methods
fn get_gnu_buildid(&self) -> Option<&'a [u8]>
Parse and return the value of the .note.gnu.build-id section, if it exists and is well-formed.
fn get_gnu_debuglink(&self) -> Option<(&'a str, u32)>
Parse and return the value of the .gnu_debuglink section, if it exists and is well-formed.
Implementors
impl<'a> Extensions<'a> for ElfFile<'a>