摘要: 在我们的每一个进程中都有很多HEAP,一些是系统默认的heap,一些是我们创建的Heap,比如说C Runtime Heap。 每一个Heap包括若干个Heap Segment。每一个Heap Segment又包括若干个Heap Block。我们每一次调用new操作,系统就会返回一个Heap Block。 我们可以通过WinDBG来看看这里面的关系。 阅读全文
posted @ 2011-01-28 10:50 relianceslee 阅读(2441) 评论(0) 推荐(1)
摘要: A very good article in MSDN BlogsHeap Corruption: A Case StudyWhat a Heap is (a)What a Heap is (b)Windows Heap Overrun MonitoringWindows Error Codes 阅读全文
posted @ 2011-01-27 16:15 relianceslee 阅读(275) 评论(0) 推荐(0)
摘要: 1. 在命令提示符键入 ~ * kb 要列出所有进程中线程。2. 标识进行函数调用的线程 Kernel32! UnhandledExceptionFilter。它看起来类似于以下内容: .exr first DWORD from step 3.cxr second DWORD from step 4 阅读全文
posted @ 2011-01-26 13:52 relianceslee 阅读(800) 评论(0) 推荐(0)
摘要: Full-Page Heap Full-page heap should be enabled for individual processes, or under limited parameters for large processes, because of its high memory requirements. It cannot be enabled system-wide, because it is difficult to evaluate the required page file size. Using a page file that is to 阅读全文
posted @ 2011-01-26 13:41 relianceslee 阅读(866) 评论(0) 推荐(0)