随笔分类 -  系统诊断与程序调试

系统诊断与程序调试
如何调试由于heap corruption导致的程序崩溃的简单示例
摘要:很多情况下,很多程序的崩溃都是与heap corruption有关。一旦找到程序的崩溃是由heap corruption导致后,我们就需要启用debug page heap.这样可以在heap corruption的时候最大可能的获取更多关于heap的相关信息。 阅读全文

posted @ 2009-12-16 17:31 飞天舞者 阅读(2338) 评论(0) 推荐(0) 编辑

[软件调试学习笔记]防止栈缓冲区溢出的基于Cookie的安全检查机制
摘要:本文介绍了stack buffer overrun的基本原理及编译器对于stack buffer overrun的检测和处理机制。 阅读全文

posted @ 2009-04-19 19:18 飞天舞者 阅读(2655) 评论(0) 推荐(0) 编辑

[软件调试学习笔记]WinDbg演示IA-32 CPU下的Windows 分页机制下的地址转换过程
摘要:本文演示了如何通过WinDbg展示windows paging中的virtual address 向physical address转换过程。 阅读全文

posted @ 2009-04-12 18:02 飞天舞者 阅读(1625) 评论(1) 推荐(0) 编辑

Debug入门之旅-StackoverFlow exception的调试
摘要:Debug入门之旅-StackoverFlow exception的调试 阅读全文

posted @ 2009-02-23 10:13 飞天舞者 阅读(522) 评论(0) 推荐(0) 编辑

IIS7入门之旅:(3)CGI application和FastCGI application的区别
摘要:IIS7入门之旅:(3)CGI application和FastCGI application的区别 阅读全文

posted @ 2009-01-09 10:50 飞天舞者 阅读(869) 评论(0) 推荐(0) 编辑

IIS7入门之旅:(2)如何实现和加载自定义的Basic Authentication模块
摘要:IIS7入门之旅:(2)如何加载自定义的Basic Authentication模式 阅读全文

posted @ 2009-01-08 17:00 飞天舞者 阅读(2236) 评论(0) 推荐(0) 编辑

IIS中常见的几种验证模式如Anonymous,Bisic,Digest,Windows Authentication验证过程剖析
摘要:IIS中常见的几种验证模式如Anonymous,Bisic,Digest,Windows Authentication验证过程剖析 阅读全文

posted @ 2009-01-08 16:06 飞天舞者 阅读(3928) 评论(4) 推荐(0) 编辑

如何在IIS中捕获指定的Exception
摘要:如何在IIS中捕获指定的Exception,例如System.OutOfMemoryException等 阅读全文

posted @ 2009-01-04 14:34 飞天舞者 阅读(393) 评论(0) 推荐(0) 编辑

推荐:CLR 完全介绍-一篇讲解CLR内存回收机制以及常见的调试技巧的文章
摘要:推荐:CLR 完全介绍-一篇讲解CLR内存回收机制以及常见的调试技巧的文章 阅读全文

posted @ 2008-12-26 14:35 飞天舞者 阅读(336) 评论(0) 推荐(0) 编辑

托管代码调试入门之旅(一)
摘要:托管代码调试入门之旅(一):SOS extension常见命令介绍:EEStack ,EEHeap,SyncBlk等介绍 阅读全文

posted @ 2008-12-22 15:48 飞天舞者 阅读(1319) 评论(1) 推荐(0) 编辑

unabel to generate a temporay class(result=1).error CS2001:Sourfe file 'C:\Windows\TEMP\z2fxm7h3.0.cs' could not be found错误解决方法
摘要:情形描述: 1. asp.net server(Machine A, apppool运行在domaincountofMachineB下) --> web service (Machine B,apppool运行在domaincountofMachinB下) 2. domainacountofMachineB设置了MachineB上的SPN, 假设帐号domainacountofMachineA已经... 阅读全文

posted @ 2008-12-18 14:48 飞天舞者 阅读(1144) 评论(0) 推荐(0) 编辑

利用windbg调试class type,value type以及MethodTable等强化C#的基本概念
摘要:本文通过windbg调试一个简单的程序,来清除说明.Net framework中class type,value type的内存分配方式的不同,以及object内部的重要组成MethodTable的作用 阅读全文

posted @ 2008-11-25 16:33 飞天舞者 阅读(872) 评论(0) 推荐(0) 编辑

如何处理源dump文件的mscordacwks.dll文件与调试机上的版本不一致问题而无法使用extension cmd的问题
摘要:如何处理源dump文件的mscordacwks.dll文件与调试机上的版本不一致问题而无法使用extension cmd的问题 阅读全文

posted @ 2008-11-21 10:20 飞天舞者 阅读(1914) 评论(2) 推荐(0) 编辑

如何debug出unmanaged程序中的deadlock?
摘要:在多线程程序开发中,经常会不可预期的出现程序hang。本文介绍了通过windbg找出因为deadlock而造成程序的hang的过程 阅读全文

posted @ 2008-11-18 15:24 飞天舞者 阅读(1151) 评论(0) 推荐(0) 编辑

释放指向stack上的空间会产生什么样的后果?
摘要:利用delete|free释放指向stack上的空间 阅读全文

posted @ 2008-11-14 15:57 飞天舞者 阅读(249) 评论(0) 推荐(0) 编辑

windbg入门之旅:(2)一个简单的integer divide-by-zero exception分析案例
摘要:windbg入门之旅:(2)一个简单的integer divide-by-zero exception分析案例 阅读全文

posted @ 2008-11-13 17:38 飞天舞者 阅读(2623) 评论(2) 推荐(0) 编辑

windbg入门之旅:(1)常见的windbg命令
摘要:本文介绍了常用的windbg调试命令 阅读全文

posted @ 2008-11-13 15:33 飞天舞者 阅读(2757) 评论(0) 推荐(0) 编辑

如何利用adplus来dump某个process的memory
摘要:在dump某个process的memory image 的时候,存在两种model,一个是crash, 一个是hang...... 阅读全文

posted @ 2008-07-31 16:50 飞天舞者 阅读(1865) 评论(0) 推荐(0) 编辑

推荐一篇讲解各种debug技术的文章,相当不错!
摘要:讲述debug的各种工具和技巧的文章,相当不错 ! http://blog.csdn.net/agan4014/archive/2008/03/20/2199790.aspx 阅读全文

posted @ 2008-06-12 15:39 飞天舞者 阅读(465) 评论(0) 推荐(0) 编辑

Debugging tool概述
摘要:ADPlus, WinDbg, first-chance exception second-chance exception 阅读全文

posted @ 2008-06-12 14:33 飞天舞者 阅读(764) 评论(0) 推荐(0) 编辑

导航

For more information about me, feel free email to me winston.he@hotmail.com