如何从faluting IP中找到故障偏移

时间:2016-11-16 12:18:28

标签: windows visual-c++ windbg crash-dumps

我有关于应用程序崩溃的以下信息,我想知道故障偏移,因为给定故障偏移,我们有一个工具可以确定导致崩溃的源代码行。 错误模块是COM dll

Exception code: C00000005 (Access Violation)

 - FALUTING_IP:MyModule!DllUnregisterServer+0x00010f0d 
 - ExceptionAddress:05d0f2ed 
 - FOLLOWUP_IP:MyModule!DllUnregisterServer+10f0d 
 - MyModule is loaded at start:05cf0000   end:05d4c000

1 个答案:

答案 0 :(得分:0)

您可以通过

计算DLL开头的相对偏移量
?  MyModule!DllUnregisterServer+0x00010f0d  - MyModule
// DLL Offset+ Method offset   +byte offset - DLL offset

结果将以十进制和十六进制给出:

Evaluate expression: 446065 = 0006ce71
相关问题