![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Debug
happylong123hehe
这个作者很懒,什么都没留下…
展开
-
Windbg之"查看内存"命令
查看局部变量dv /i /V查看thisdv thisdt thisdt @@C++(this->m_value)// 都行 查看静态对象1) x // 得到对象地址.2) dt type 对象地址.原创 2011-11-23 08:40:45 · 1116 阅读 · 0 评论 -
关于 _resetstkoflw
当从 stack overflow exception(c00000fd) 恢复的时候需要调用 _resetstkoflw. 如果发生了 stack overflow (c00000fd) 异常, 而这个函数没有被调用, 那么就没有 guard page (PAGE_GUARD) 了; 下一次 stack overflow 时, 进程不会产生 stack overflow原创 2012-12-26 19:51:55 · 712 阅读 · 0 评论 -
空指针带来的AV异常.
故名思意, 如果一个指针是NULL, (NullPtr == NULL), 则 NullPtr->Method() 会产生异常. 但是根据被调用函数不同, 分为 NullPtr->Member_Method() 和 NullPtr->Virtual_Method() // // 例子 // class AA {原创 2012-12-26 19:56:49 · 1859 阅读 · 0 评论 -
LoadLibrary 失败 0x000001e7 Attempt to access invalid address
现象:LoadLibrary 偶尔会失败,返回值 NULL, @err,hr 0x000001e7 Attempt to access invalid address. 原因在于DLL,当DLL link 的时候指定了 /FIXED Property Pages\Linker\Advanced | Fixed Base Address : Image must be loade原创 2012-12-26 19:16:11 · 1249 阅读 · 0 评论