Accelerated Linux Disassembly, Reconstruction and Reversing, Second Edition
Accelerated Linux Disassembly, Reconstruction and Reversing, Second Edition
Training Course Transcript and GDB Practice Exercises with Memory Cell Diagrams
About the Book
The book contains the full transcript of Software Diagnostics Services training. Learn disassembly, execution history reconstruction, and binary reversing techniques for better software diagnostics, troubleshooting, debugging, memory forensics, vulnerability and malware analysis on x64 (x86_64) and A64 (ARM64, AArch64) Linux platforms. The course uses a unique and innovative pattern language approach to speed up the learning curve. The training consists of practical step-by-step, hands-on exercises using GDB and Linux core memory dumps. Covered more than 25 ADDR patterns originally introduced for the x64 Windows platform, and many concepts are illustrated with Memory Cell Diagrams. The prerequisites for this training are working knowledge of C and C++ programming languages. Operating system internals and assembly language concepts are explained when necessary. The primary audience for this training is software technical support and escalation engineers who analyze memory dumps from complex software environments and need to go deeper in their analysis of abnormal software structure and behavior. The course is also useful for software engineers, quality assurance and software maintenance engineers who debug software running on diverse cloud and endpoint computer environments, SRE and DevSecOps, security and vulnerability researchers, malware and memory forensics analysts who have never used GDB for analysis of computer memory. The book also features ADDR pattern descriptions summarized after each exercise. The second edition includes a review of relevant assembly language fundamentals and relevant differences between GCC and Clang.
Table of Contents
About the Author 5
Presentation Slides and Transcript 7
x64 Disassembly 29
A64 Disassembly 41
Practice Exercises 55
Exercise R0 (x64, GDB) 60
Exercise R0 (A64, GDB) 62
Exercise R1 (x64, GDB) 65
Exercise R1 (A64, GDB) 84
Exercise R2 (x64, GDB) 107
Exercise R2 (A64, GDB) 116
Exercise R3 (x64, GDB) 134
Exercise R3 (A64, GDB) 141
Exercise R4 (x64, GDB) 156
Exercise R4 (A64, GDB) 161
Exercise R5 (x64, GDB) 173
Exercise R5 (A64, GDB) 180
Exercise R6 (x64, GDB) 190
Exercise R6 (A64, GDB) 208
Memory Cell Diagrams 241
MCD-R1-x64 243
MCD-R1-ARM64 245
MCD-R2-x64 246
MCD-R2-ARM64 249
MCD-R3-x64 252
MCD-R3-ARM64 254
MCD-R5-x64 258
MCD-R5-ARM64 260
MCD-R6-x64 263
MCD-R6-ARM64 265
Source Code 267
notepad.c 269
extra-symbols.c 272
data-types.c 273
separate.c 275
cpu.c 276
cpp.cpp 277
Execution Residue 280
Fiber Bundle 282
Other books by this author
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
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) and EPUB (for phones, tablets and 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