Practical Foundations of Windows Debugging, Disassembling, Reversing
Minimum price
Suggested price

Practical Foundations of Windows Debugging, Disassembling, Reversing

Training Course

About the Book

This training course is a combined and reformatted version of the two previous books Windows Debugging: Practical Foundations and x64 Windows Debugging: Practical Foundations. The new format makes it easy to switch between and compare x86 and x64 versions. The book also has a larger format similar to other training courses from Software Diagnostics Services, punctuation and code highlighting improvements, the output and screenshots from the latest WinDbg 10, and consistently uses WinDbg (X86) for 32-bit examples and WinDbg (X64) for 64-bit examples.

The book contains two separate sets of chapters and corresponding illustrations. They are named Chapter x86.NN and Chapter x64.NN respectively. There is some repetition of content due to the shared nature of x64 and x86 platforms. Both sets of chapters can be read independently. We included x86 chapters because many Windows applications are still 32-bit and executed in 32-bit compatibility mode on x64 Windows systems. This introductory training course can complement the more advanced course Accelerated Disassembly, Reconstruction and Reversing.

About the Author

Dmitry Vostokov
Dmitry Vostokov

Dmitry Vostokov is an internationally recognized expert, speaker, educator, scientist and author. He is the founder of pattern-oriented software diagnostics, forensics and prognostics discipline and Software Diagnostics Institute. Vostokov has also authored more than 50 books on software diagnostics, anomaly detection and analysis, software and memory forensics, root cause analysis and problem solving, memory dump analysis, debugging, software trace and log analysis, reverse engineering and malware analysis. He has more than 25 years of experience in software architecture, design, development and maintenance in a variety of industries including leadership, technical and people management roles. Dmitry also founded Syndromatix,, BriteTrace, DiaThings, Logtellect, OpenTask Iterative and Incremental Publishing and Software Diagnostics Technology and Services (former Memory Dump Analysis Services) and Software Prognostics. In his spare time, he presents various topics on Debugging TV and explores Software Narratology, its further development as Narratology of Things and Diagnostics of Things (DoT), and Software Pathology. His current areas of interest are theoretical software diagnostics and its mathematical and computer science foundations, application of artificial intelligence, machine learning and data mining to diagnostics and anomaly detection, software diagnostics engineering and diagnostics-driven development, diagnostics workflow and interaction. Recent interest areas also include cloud native computing, security, automation, functional programming, and applications of category theory to software development and big data.

Bundles that include this book

Suggested Price
Bundle Price
Suggested Price
Bundle Price

Table of Contents

Contents 5

Preface to the New Edition 15

Combined Preface from Previous Editions 17

About the Author 19

Chapter x86.1: Memory, Registers, and Simple Arithmetic 21

Chapter x86.2: Debug and Release Binaries 35

Chapter x86.3: Number Representations 50

Chapter x86.4: Pointers 57

Chapter x86.5: Bytes, Words, and Double Words 73

Chapter x86.6: Pointers to Memory 78

Chapter x86.7: Logical Instructions and EIP 100

Chapter x86.8: Reconstructing a Program with Pointers 108

Chapter x86.9: Memory and Stacks 116

Chapter x86.10: Frame Pointer and Local Variables 136

Chapter x86.11: Function Parameters 151

Chapter x86.12: More Instructions 165

Chapter x86.13: Function Pointer Parameters 176

Chapter x86.14: Summary of Code Disassembly Patterns 182

Chapter x64.1: Memory, Registers, and Simple Arithmetic 187

Chapter x64.2: Debug and Release Binaries 202

Chapter x64.3: Number Representations 217

Chapter x64.4: Pointers 224

Chapter x64.5: Bytes, Words, and Double Words 242

Chapter x64.6: Pointers to Memory 248

Chapter x64.7: Logical Instructions and EIP 271

Chapter x64.8: Reconstructing a Program with Pointers 279

Chapter x64.9: Memory and Stacks 288

Chapter x64.10: Local Variables 308

Chapter x64.11: Function Parameters 320

Chapter x64.12: More Instructions 330

Chapter x64.13: Function Pointer Parameters 341

Chapter x64.14: Summary of Code Disassembly Patterns 345

Other books by this author

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$10,479,622writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub