
Building a Debugger
Write a Native X64 Debugger From Scratch
Build a debugger for x64 Linux in C++ while exploring operating systems and low-level programming.
- Themes
- Debugger implementation, x64 Linux internals, Low-level programming
Debugger Internals
Come here for
- Building an x64 Linux debugger in C++
- Learning to attach to processes and work with registers
Expect
- Breakpoint setting, code stepping, and variable manipulation
- Disassembly output and multithreading support
Where it sits
How strongly BookFrontier reads the book as belonging to each subject.
Nearest books
Matched by our semantic model. Ordered by what its readers also loved.
Pro .NET Memory ManagementKonrad Kokosa, Christophe Nasarre44% subject match
x64 Assembly Language Step-by-StepJeff Duntemann66% subject matchShares Linux Systems
Practical Binary AnalysisDennis Andriesse59% subject match
Assembly Language Step-by-StepJeff Duntemann56% subject matchShares Linux Systems
Understanding the Linux KernelDaniel Bovet, Marco Cesati52% subject matchShares Linux Systems
Cross-Platform Development in C++Syd Logan50% subject matchShares C++ Programming
Practical Malware AnalysisMichael Sikorski, Andrew Honig50% subject match
Linux for DevelopersWilliam Rothwell50% subject matchShares Linux Systems
For younger readers: The CS Detective
Start with three books, and this one can be the first.
Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.
Sign upAbout this book
Master the inner workings of your x64 Linux system and expand your OS expertise by writing your very own debugger using C++.
If debuggers seem like magic to you, there is no better way to demystify them than to write your own. This book will show you exactly how to do it, walking you through the entire process of building a debugger for x64 Linux systems using C++.
Continue reading
As go from an empty filesystem folder to a fully fledged debugger capable of setting breakpoints, stepping through code, manipulating variables, and more, you’ll learn how to:
- Attach to a process
- Read and write to registers
- Set hardware and software breakpoints
- Output disassembly
- Support multithreading and other tasks
As you add features to your debugger, you’ll also pick up a wealth of knowledge about operating systems, compilers, software testing, and low-level programming that you can use in your day-to-day development.
Publisher details
Publisher categories
- Linux Systems
- C++ Programming
- Testing & QA
- Authors
- Sy Brand
- Publisher
- No Starch Press
- Published
- June 10, 2025
- Format
- Print & ebook
- Reading lane
- Linux Systems