pub struct Debugger {
pub machine: Machine,
pub prev_regs: RegisterState,
/* private fields */
}Fields§
§machine: Machine§prev_regs: RegisterStateImplementations§
Source§impl Debugger
impl Debugger
pub fn default() -> Self
pub fn is_ip_at_breakpoint(&self) -> bool
pub fn step_into(&mut self, cnt: usize)
pub fn step_over(&mut self)
pub fn disasm_n_instructions_to_text(&mut self, n: usize) -> String
pub fn dump_memory( &self, filename: &str, base: u32, len: u32, ) -> Result<usize, IoError>
pub fn exec_command(&mut self, cmd: &str)
Sourcepub fn load_executable(&mut self, name: &str)
pub fn load_executable(&mut self, name: &str)
loads a .com or .exe file
Auto Trait Implementations§
impl Freeze for Debugger
impl RefUnwindSafe for Debugger
impl Send for Debugger
impl Sync for Debugger
impl Unpin for Debugger
impl UnsafeUnpin for Debugger
impl UnwindSafe for Debugger
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more