> Skip to content
  • Published: 8 July 2025
  • ISBN: 9781718504080
  • Imprint: No Starch
  • Format: Paperback
  • Pages: 744
  • RRP: $140.00

Building a Debugger

Write a Native x64 Debugger From Scratch

  • Sy Brand



Master the inner workings of your x64 Linux system and expand your OS expertise by writing your very own debugger using C++.

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++. 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.
  • Published: 8 July 2025
  • ISBN: 9781718504080
  • Imprint: No Starch
  • Format: Paperback
  • Pages: 744
  • RRP: $140.00
penguin pop image
penguin pop image