Building a Debugger: Write a Native X64 Debugger from Scratch
暫譯: 建立一個除錯器:從零開始編寫原生 X64 除錯器
Brand, Sy
- 出版商: No Starch Press
- 出版日期: 2025-06-10
- 售價: $2,300
- 貴賓價: 9.5 折 $2,185
- 語言: 英文
- 頁數: 744
- 裝訂: Quality Paper - also called trade paper
- ISBN: 171850408X
- ISBN-13: 9781718504080
-
相關分類:
Scratch
海外代購書籍(需單獨結帳)
相關主題
商品描述
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:
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.
- 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.
商品描述(中文翻譯)
掌握您的 x64 Linux 系統的內部運作,並通過使用 C++ 編寫您自己的除錯器來擴展您的作業系統專業知識。
如果除錯器對您來說似乎像魔法一樣,沒有比編寫自己的除錯器更好的方法來揭開它們的神秘面紗。本書將精確地向您展示如何做到這一點,帶您走過使用 C++ 為 x64 Linux 系統構建除錯器的整個過程。當您從一個空的檔案系統資料夾開始,最終構建出一個能夠設置斷點、逐步執行代碼、操作變數等功能的完整除錯器時,您將學會如何:- 附加到一個進程
- 讀取和寫入寄存器
- 設置硬體和軟體斷點
- 輸出反組譯
- 支持多線程和其他任務
當您為除錯器添加功能時,您還將獲得大量有關作業系統、編譯器、軟體測試和低階程式設計的知識,這些知識可以在您的日常開發中使用。
作者簡介
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.
作者簡介(中文翻譯)
Sy Brand 是微軟的 C++ 開發者倡導者。擁有超過 10 年的開發工具經驗,他們曾參與性能分析器、編譯器、語言執行環境、標準庫,當然還有除錯工具的開發。他們也對 C++、DWARF 和 HSA 的標準做出了貢獻。
他們畢業於聖安德魯斯大學,獲得計算機科學一級榮譽學位,專攻編譯器實現。
在科技領域之外,他們是一位已出版的詩人、實驗電影和音樂的創作者、活動家,以及三隻貓和一位完整人類的父母。