pub struct GdbClient { /* private fields */ }
Implementations§
Source§impl GdbClient
impl GdbClient
pub fn new() -> Self
pub fn connect<A: ToSocketAddrs>(&mut self, addr: A) -> Result<(), Error>
pub fn disconnect(&mut self) -> Result<(), Error>
pub fn reconnect(&mut self) -> Result<(), Error>
pub fn is_connected(&self) -> bool
pub fn read_memory( &mut self, address: u64, size: usize, display_mode: DisplayMode, endianness: Endianness, ) -> Result<String, Error>
pub fn set_breakpoint(&mut self, address: u64) -> Result<u64, Error>
pub fn remove_breakpoint(&mut self, address: u64) -> Result<(), Error>
pub fn continue_execution(&mut self) -> Result<(), Error>
pub fn step(&mut self) -> Result<(), Error>
pub fn read_registers(&mut self) -> Result<String, Error>
pub fn write_memory(&mut self, address: u64, data: &[u8]) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for GdbClient
impl RefUnwindSafe for GdbClient
impl Send for GdbClient
impl Sync for GdbClient
impl Unpin for GdbClient
impl UnwindSafe for GdbClient
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