Building a Debugger: Write a Native x64 Debugger From Scratch / Создание отладчика: Напишите собственный 64-разрядный отладчик с нуля
Год издания: 2025
Автор: Brand Sy / Бренд Сай
Издательство: No Starch Press, Inc.
ISBN: 978-1-7185-0409-7
Язык: Английский
Формат: PDF/EPUB
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 747
Описание: 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.
Изучите внутреннюю работу вашей системы Linux x64 и расширьте свои знания в области операционной системы, написав свой собственный отладчик с использованием C++.
Если отладчики кажутся вам волшебными, нет лучшего способа развеять их мистификацию, чем написать свой собственный. Эта книга точно покажет вам, как это сделать, и проведет по всему процессу создания отладчика для систем Linux x64 с использованием C++. Перейдя от пустой папки файловой системы к полноценному отладчику, способному устанавливать точки останова, выполнять пошаговое выполнение кода, манипулировать переменными и многое другое, вы узнаете, как:
Подключиться к процессу
Чтение и запись в регистры
Установка аппаратных и программных точек останова
Дизассемблирование вывода
Поддержка многопоточности и других задач
По мере добавления функций в свой отладчик вы также будете получать обширные знания об операционных системах, компиляторах, тестировании программного обеспечения и низкоуровневом программировании, которые сможете использовать в повседневной разработке.
Внимание, торрент перезалит, просьба перекачать раздачу!
Причина: Замена файлов.
Примеры страниц (скриншоты)
Оглавление
1. Acknowledgments
2. Introduction
3. List of Abbreviations
4. Chapter 1: Project Setup
5. Chapter 2: Compilation and Computer Architecture
6. Chapter 3: Attaching to a Process
7. Chapter 4: Pipes, procfs, and Automated Testing
8. Chapter 5: Registers
9. Chapter 6: Testing Registers with x64 Assembly
10. Chapter 7: Software Breakpoints
11. Chapter 8: Memory and Disassembly
12. Chapter 9: Hardware Breakpoints and Watchpoints
13. Chapter 10: Signals and Syscalls
14. Chapter 11: Object Files
15. Chapter 12: Debug Information
16. Chapter 13: Line Tables
17. Chapter 14: Source-Level Breakpoints and Stepping
18. Chapter 15: Call Frame Information
19. Chapter 16: Stack Unwinding
20. Chapter 17: Shared Libraries
21. Chapter 18: Multithreading
22. Chapter 19: DWARF Expressions
23. Chapter 20: Variables and Types
24. Chapter 21: Expression Evaluation
25. Chapter 22: Advanced Topics
26. Appendix: Check Your Knowledge Answers
27. Glossary
28. Index