pub struct Elf { /* private fields */ }
Implementations§
Source§impl Elf
impl Elf
pub async fn parse<T: ?Sized + AsRef<OsStr>>(path: &T) -> Result<Elf, ElfError>
pub fn plt(&self) -> &HashMap<String, u64>
pub fn got(&self) -> &HashMap<String, u64>
pub fn symbols(&self) -> &HashMap<String, Symbol>
pub fn dynamic_symbols(&self) -> &HashMap<String, Symbol>
pub fn header(&self) -> &FileHeader<AnyEndian>
pub fn data(&self) -> &[u8] ⓘ
Auto Trait Implementations§
impl Freeze for Elf
impl RefUnwindSafe for Elf
impl Send for Elf
impl Sync for Elf
impl Unpin for Elf
impl UnwindSafe for Elf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more