pub struct Target { /* private fields */ }Implementations§
Source§impl Target
impl Target
pub fn notify_thread_lifecycle_event(self: &Rc<Self>, reason: &StopReason)
pub fn create_address_breakpoint( self: &Rc<Self>, address: VirtualAddress, is_hardware: bool, is_internal: bool, ) -> Result<Weak<RefCell<dyn StoppointTrait>>, SdbError>
pub fn create_function_breakpoint( self: &Rc<Self>, function_name: &str, is_hardware: bool, is_internal: bool, ) -> Result<Weak<RefCell<dyn StoppointTrait>>, SdbError>
pub fn create_line_breakpoint( self: &Rc<Self>, file: &Path, line: usize, is_hardware: bool, is_internal: bool, ) -> Result<Weak<RefCell<dyn StoppointTrait>>, SdbError>
pub fn resolve_dynamic_linker_rendezvous( self: &Rc<Self>, ) -> Result<(), SdbError>
pub fn inferior_malloc(&self, size: usize) -> Result<VirtualAddress, SdbError>
pub fn evaluate_expression( &self, expr: &str, otid: Option<Pid>, ) -> Result<Option<EvaluateExpressionResult>, SdbError>
pub fn get_expression_result(&self, index: usize) -> Result<TypedData, SdbError>
pub fn resolve_indirect_name( &self, name: &str, pc: &FileAddress, ) -> Result<ResolveIndirectNameResult, SdbError>
pub fn find_variable( &self, name: &str, pc: &FileAddress, ) -> Result<Option<Rc<Die>>, SdbError>
pub fn read_location_data( &self, loc: &DwarfExpressionResult, size: usize, otid: Option<Pid>, ) -> Result<Vec<u8>, SdbError>
pub fn threads(&self) -> &RefCell<HashMap<Pid, SdbThread>>
pub fn get_stack(&self, otid: Option<Pid>) -> Rc<RefCell<Stack>>
pub fn launch( path: &Path, stdout_replacement: Option<i32>, ) -> Result<Rc<Self>, SdbError>
pub fn attach(pid: Pid) -> Result<Rc<Self>, SdbError>
pub fn get_process(&self) -> Rc<Process>
pub fn get_main_elf(&self) -> Weak<Elf>
pub fn notify_stop(&self, reason: &StopReason) -> Result<(), SdbError>
pub fn get_pc_file_address(&self, otid: Option<Pid>) -> FileAddress
pub fn step_in(&self, otid: Option<Pid>) -> Result<StopReason, SdbError>
pub fn step_out(&self, otid: Option<Pid>) -> Result<StopReason, SdbError>
pub fn step_over(&self, otid: Option<Pid>) -> Result<StopReason, SdbError>
pub fn line_entry_at_pc( &self, otid: Option<Pid>, ) -> Result<LineTableIter, SdbError>
pub fn find_functions( &self, name: &str, ) -> Result<FindFunctionsResult, SdbError>
pub fn breakpoints(&self) -> &RefCell<StoppointCollection>
pub fn function_name_at_address( &self, address: VirtualAddress, ) -> Result<String, SdbError>
pub fn read_dynamic_linker_rendezvous( &self, ) -> Result<Option<r_debug>, SdbError>
pub fn get_elves(&self) -> &RefCell<ElfCollection>
pub fn get_line_entries_by_line( &self, path: &Path, line: usize, ) -> Result<Vec<LineTableIter>, SdbError>
Auto Trait Implementations§
impl !Freeze for Target
impl !RefUnwindSafe for Target
impl !Send for Target
impl !Sync for Target
impl Unpin for Target
impl !UnwindSafe for Target
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