Reading Notebook: 22-Apr-09
Comments in italics are mine and express my own views, thoughts and opinions
Developer’s Guide to Debugging by M. Wloka, et al.:
function arguments from stack (pp. 163 - 165) - kv, kP or kp WinDbg; also .frame and dv commands
p sizeof (int) in GDB (p. 163) - equivalent to ?? sizeof (int) in WinDbg
x/s in GDB (p. 164) - da command in WinDbg; du for UNICODE
info reg in GDB (p. 164) - r command in WinDbg
safe register association with arguments at the beginning of a function (p. 164) - See my Optimized Code pattern: http://www.dumpanalysis.org/blog/index.php/2006/12/15/crash-dump-analysis-patterns-part-5/
The notion of an argument anchor to search for other arguments on a raw stack (p. 164) - very useful technique I used many times
user-defined data types (p. 165) - in the absence of symbols for dt command it is indeed tedious to find field correspondence between headers and binaries
approximate source code line (pp. 165 - 166) - ln command and, of course, disassembling u, ub and uf WinDbg commands. Beware of OMAP optimization though: http://www.dumpanalysis.org/blog/index.php/2007/04/20/crash-dump-analysis-patterns-part-5b/
stepping through assembly code set step 1, nexti in GDB (pp. 166 - 167) - l-t to switch to assembly mode from source mode and then t or ta (trace to address) WinDbg commands
Advanced Windows Debugging by M. Hewardt and D. Pravat:
Concurrent Programming on Windows by J. Duffy:
Software Factories by J. Greenfield, et. al.:
Software Engineering Foundations: A Software Science Perspective, by Y. Wang:
Didn’t have time today - resume reading tomorrow
- Dmitry Vostokov @ SoftwareGeneralist.com -
_1125.png)
Coming Soon:
Debugging Notebook: Essential Concepts, WinDbg Commands and Tools
Crash Dump Analysis for System Administrators and Support Engineers
New Magazines:
Debugged! MZ/PE: MagaZine for/from Practicing Engineers
New Books:
Memory Dump Analysis Anthology, Volume 3
First Fault Software Problem Solving: A Guide for Engineers, Managers and Users
x64 Windows Debugging: Practical Foundations
Also available:
Windows Debugging: Practical Foundations
DLL List Landscape: The Art from Computer Memory Space
Dumps, Bugs and Debugging Forensics: The Adventures of Dr. Debugalov
WinDbg: A Reference Poster and Learning Cards
Memory Dump Analysis Anthology, Volume 2
Memory Dump Analysis Anthology, Volume 1
New Children's Book: