pub struct Dwarf { /* private fields */ }Implementations§
Source§impl Dwarf
impl Dwarf
pub fn get_member_function_definition( &self, declaration: &Rc<Die>, ) -> Result<Option<Rc<Die>>, SdbError>
pub fn find_local_variable( &self, name: &str, pc: &FileAddress, ) -> Result<Option<Rc<Die>>, SdbError>
pub fn scopes_at_address( &self, address: &FileAddress, ) -> Result<Vec<Rc<Die>>, SdbError>
pub fn find_global_variable( &self, name: &str, ) -> Result<Option<Rc<Die>>, SdbError>
pub fn cfi(&self) -> Rc<RefCell<CallFrameInformation>>
pub fn new(parent: &Weak<Elf>) -> Result<Rc<Self>, SdbError>
pub fn elf_file(&self) -> Rc<Elf>
pub fn get_abbrev_table(&self, offset: usize) -> Rc<HashMap<u64, Rc<Abbrev>>>
pub fn compile_units(&self) -> &Vec<Rc<CompileUnit>>
pub fn compile_unit_containing_address( &self, address: &FileAddress, ) -> Result<Option<Rc<CompileUnit>>, SdbError>
pub fn function_containing_address( &self, address: &FileAddress, ) -> Result<Option<Rc<Die>>, SdbError>
pub fn find_functions(&self, name: &str) -> Result<Vec<Rc<Die>>, SdbError>
pub fn line_entry_at_address( &self, address: &FileAddress, ) -> Result<LineTableIter, SdbError>
pub fn inline_stack_at_address( &self, address: &FileAddress, ) -> Result<Vec<Rc<Die>>, SdbError>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Dwarf
impl !RefUnwindSafe for Dwarf
impl !Send for Dwarf
impl !Sync for Dwarf
impl Unpin for Dwarf
impl !UnwindSafe for Dwarf
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