Tag: Debugger
-
Writing a GNU/Linux x86_64 Debugger in Rust (Part 3): Implementing Breakpoints with DWARF, the Gimli Crate, and Traps
A continuation from the previous post, on writing a debugger in Rust for x86_64 GNU/Linux… Going back to the first part in this series of blog post, we implemented a base set of 7 commands (including quit and help) that showcased very trivial utilities available to a debugger. The great thing about those few commands…
-
Writing a GNU/Linux x86_64 Debugger in Rust (Part 2): A Rust-ic Refactoring
A continuation from the previous post, on writing a debugger in Rust for x86_64 GNU/Linux… So far, we have been working inside the main.rs file supplied to us when creating a Rust project with cargo new. We are already creeping up on 250 lines in this single file, and to add to this, not all…
-
Forays into Systems Programming: “Who Watches the Watchmen?”–Writing a GNU/Linux x86_64 Debugger with Rust and the Nix Crate
What does it mean to be robust? If a given piece of code cannot handle an edge case or correctly handle it’s memory or other resources, or resolves to terminate itself due to behavior deemed dangerous by the host, or by the it’s own decisions, then what may be said about that code other than…