没有合适的资源?快使用搜索试试~ 我知道了~
首页Memory Dump Analysis Anthology Volume 7
资源详情
资源评论
资源推荐

Memory Dump Analysis Anthology
Volume 7
Dmitry Vostokov
Software Diagnostics Institute
OpenTask

2
Published by OpenTask, Republic of Ireland
Copyright © 2014 by Dmitry Vostokov
Copyright © 2014 by Software Diagnostics Institute
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmitted, in any form or by any means, without the prior written permission of the
publisher.
You must not circulate this book in any other binding or cover, and you must impose the
same condition on any acquirer.
OpenTask books are available through booksellers and distributors worldwide. For
further information or comments send requests to press@opentask.com.
Product and company names mentioned in this book may be trademarks of their
owners.
A CIP catalog record for this book is available from the British Library.
ISBN-13: 978-1-908043-51-1 (Paperback)
ISBN-13: 978-1-908043-52-8 (Hardback)
First printing, 2014
Revision 2 (July 2015)

3
Summary of Contents
Preface ............................................................................................................................. 23
Acknowledgements.......................................................................................................... 25
PART 1: Professional Crash Dump Analysis and Debugging ............................................. 27
PART 2: Crash Dump Analysis Patterns ............................................................................ 65
PART 3: Core Dump Analysis Patterns (Mac OS X) ......................................................... 201
PART 4: Malware Analysis Patterns ............................................................................... 239
PART 5: A Bit of Science and Philosophy ........................................................................ 259
PART 6: Software Trace Analysis Patterns ..................................................................... 279
PART 7: Fun with Crash Dumps ...................................................................................... 355
PART 8: Software Narratology ....................................................................................... 383
PART 9: Software Diagnostics, Troubleshooting, and Debugging .................................. 399
PART 10: Art and Visualization ....................................................................................... 451
PART 11: Miscellaneous ................................................................................................. 497
Appendix ........................................................................................................................ 505
Index of WinDbg Commands ......................................................................................... 519
About the Author ........................................................................................................... 521
Notes .............................................................................................................................. 522
Cover Images.................................................................................................................. 523

4
0:007> !address
Mapping file section regions...
Mapping parts regions...
Mapping page regions...
Mapping appendix regions...
Mapping WinDbg commands regions...
BaseAddress EndAddress+1 RegionSize Protect
------------------------------------------------------------------------
0`00000000 0`0020B000 0`0020B000 PAGE_EXECUTE_READ
0:007> !address -summary
--- Usage Summary ---------------- RgnCount %ofTotal
crash dump analysis patterns 66 24.44%
log and trace analysis patterns 48 17.77%
core dump analysis patterns 18 6.66%
malware analysis patterns 10 3.70%
other patterns 7 2.59%
and more 120 44.84%
7: kd> !memusage
loading PFN database
loading (100% complete)
Compiling memory usage data (99% Complete).
Crash dump analysis patterns: 135
Trace and log analysis patterns: 75
Core dump analysis patterns: 38
Malware analysis patterns: 20
Software diagnostics and debugging: 90
Software narratology: 16
Philosophy: 20
Art: 45
Fun: 30
Transition: 36
Zero: 18
Unknown: 0
TOTAL: 523

5
Contents
Preface ............................................................................................................................. 23
Acknowledgements.......................................................................................................... 25
PART 1: Professional Crash Dump Analysis and Debugging ............................................. 27
WinDbg Shortcuts ....................................................................................................... 27
.ecxr ......................................................................................................................... 27
!heap -x -v ............................................................................................................... 29
!sw and !k ................................................................................................................ 31
Two WinDbg Scripts That Changed the World ............................................................ 32
Raw Stack Dump of All Threads (Kernel Space) .......................................................... 37
The Design of Memory Dump Analysis: 7 Steps of Highly Successful Analysts ........... 38
Postmortem Effects of -g ............................................................................................ 39
Event Owners .............................................................................................................. 42
Improbable Occurrence .............................................................................................. 48
Pattern Cooperation ................................................................................................... 49
Page Heap Implementation ........................................................................................ 54
More Common Mistakes in Memory Analysis ............................................................ 60
Memory Dump Analysis Best Practices ....................................................................... 63
PART 2: Crash Dump Analysis Patterns ............................................................................ 65
FPU Exception ............................................................................................................. 65
剩余522页未读,继续阅读



















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0