Building a Debugger by Sy Brand

Building a Debugger

Write a Native X64 Debugger From Scratch

Sy Brand

Build a debugger for x64 Linux in C++ while exploring operating systems and low-level programming.

See on Amazon
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.

About 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