Building a Debugger: Write a Native x64 Debugger From Scratch

Building a Debugger: Write a Native x64 Debugger From Scratch

Building a Debugger: Write a Native x64 Debugger From Scratch

Author: Sy Brand

Publisher finelybook 出版社:‏ ‎ No Starch Press

Edition 版本:‏ N/A

Publication Date 出版日期:‏ 2025-06-10

Language 语言: English

Print Length 页数: 744 pages

ISBN-10: 171850408X

ISBN-13: 9781718504080

Book Description


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.

About the Author

Sy Brand is Microsoft’s C++ Developer Advocate. With more than 10 years’ experience in developer tooling, they’ve worked on profilers, compilers, language runtimes, standard libraries, and, of course, debuggers. They’ve also contributed to the standards for C++, DWARF, and HSA.

They graduated from the University of St Andrews with a 1st class degree in computer science, where they specialized in compiler implementation.

Outside the world of technology, they are a published poet, maker of experimental films and music, activist, and parent to three cats and one entire human.

Amazon Page

下载地址

PDF, (conv), EPUB | 22 MB | 2025-04-09
下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Building a Debugger: Write a Native x64 Debugger From Scratch

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫