代码之家  ›  专栏  ›  技术社区  ›  alond22

重新启动后进行WinDBG调试

  •  1
  • alond22  · 技术社区  · 6 年前

    初始拆卸:

    ntdll!DbgBreakPoint:
    7c90120e cc              int     3
    7c90120f c3              ret
    7c901210 8bff            mov     edi,edi
    

    当我一步一步走的时候,就会发生这种情况(即使main中有一个断点):

    0:000> t
    Unable to insert breakpoint 0 at 00411000, Win32 error 0n299
        "Only part of a ReadProcessMemory or WriteProcessMemory request was completed."
    bp0 at 00411000 failed
    WaitForEvent failed
    eax=00251eb4 ebx=7ffd6000 ecx=00000005 edx=00000020 esi=00251f48 edi=00251eb4
    eip=7c90120f esp=0012fb20 ebp=0012fc94 iopl=0         nv up ei pl nz na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000302
    ntdll!DbgBreakPoint+0x1:
    7c90120f c3              ret
    

    以及 eip = 7c90120f .

    当我重新启动时,会发生这样的情况:

    0:000> .restart /f
    CommandLine: C:\class\cdf\cdf_reader.exe C:\class\fuzzing\crash_docs\1536485595.1\crash_1.cdf
    Symbol search path is: C:\class\cdf
    Executable search path is: 
    ModLoad: 00400000 00407000   cdf_reader.exe
    Unable to insert breakpoint 0 at 00411000, Win32 error 0n299
        "Only part of a ReadProcessMemory or WriteProcessMemory request was completed."
    bp0 at 00411000 failed
    WaitForEvent failed
    eax=00401613 ebx=7ffdb000 ecx=020fa685 edx=000000c2 esi=0090f7aa edi=0090f6ee
    eip=7c8106f5 esp=0012fffc ebp=00000000 iopl=0         nv up ei pl nz na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000200
    7c8106f5 ??              ???
    

    No prior disassembly possible
    7c8106f5 ??              ???
    7c8106f6 ??              ???
    7c8106f7 ??              ???
    

    我起初以为问题出在符号文件路径上,但我发现它是正确的。

    有人能教我怎么解决这个问题吗?

    注意,使用OllyDBG和免疫调试器时,我没有遇到问题。

    1 回复  |  直到 6 年前
        1
  •  3
  •   blabb    6 年前

    你用工作区吗?似乎保存了一个伪断点

    ModLoad: 00400000 00407000   cdf_reader.exe
    

    Unable to insert breakpoint 0 at 00411000,
    

    超出模块限制

    windbg试图在部分或不存在的内存上设置断点,但失败了

    如果您正在使用工作区,请尝试删除或重新设计它们

    否则请尝试用清除所有断点 bc * 再试试。重新开始