pub struct Elf { /* private fields */ }Implementations§
Source§impl Elf
impl Elf
pub fn data_pointer_as_file_offset(self: &Rc<Self>, ptr: &Bytes) -> FileOffset
pub fn file_offset_as_data_pointer(self: &Rc<Self>, offset: FileOffset) -> Bytes
pub fn get_section_start_address( self: &Rc<Self>, name: &str, ) -> Option<FileAddress>
pub fn build_symbol_maps(self: &Rc<Self>)
pub fn get_symbol_at_virt_address( self: &Rc<Self>, address: VirtualAddress, ) -> Option<Rc<SdbElf64Sym>>
pub fn get_symbol_containing_virt_address( self: &Rc<Self>, address: VirtualAddress, ) -> Option<Rc<SdbElf64Sym>>
pub fn new(path: &Path) -> Result<Rc<Self>, SdbError>
pub fn path(&self) -> &Path
pub fn get_header(&self) -> &SdbElf64Ehdr
pub fn get_section_name(&self, index: usize) -> &str
pub fn get_section(&self, name: &str) -> Option<Rc<SdbElf64Shdr>>
pub fn get_section_contents(&self, name: &str) -> Bytes
pub fn get_string(&self, index: usize) -> &str
pub fn load_bias(&self) -> VirtualAddress
pub fn notify_loaded(&self, address: VirtualAddress)
pub fn get_section_containing_file_addr( &self, address: &FileAddress, ) -> Option<Rc<SdbElf64Shdr>>
pub fn get_section_containing_virt_addr( &self, address: VirtualAddress, ) -> Option<Rc<SdbElf64Shdr>>
pub fn get_symbols_by_name(&self, name: &str) -> Vec<Rc<SdbElf64Sym>>
pub fn get_symbol_at_file_address( &self, address: FileAddress, ) -> Option<Rc<SdbElf64Sym>>
pub fn get_symbol_containing_file_address( &self, address: FileAddress, ) -> Option<Rc<SdbElf64Sym>>
pub fn get_dwarf(&self) -> Rc<Dwarf>
Trait Implementations§
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