WinDBG:无法在64b6ea43处插入断点1,Win32错误0n299



我正试图从Go语言调用Windows COM接口的方法。我怀疑我调用调用的方式有问题,想看看寄存器在调用过程中是如何变化的。

但我很难理解,因为我似乎无法在WinDBG中设置断点。命令"bu 64b6ea43"最终无法工作,并出现错误"仅完成ReadProcessMemory或WriteProcessMemory请求的一部分"。完整信息如下。

Microsoft (R) Windows Debugger Version 6.2.8400.0 X86
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: C:UsersccherngGobinerror.exe
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path.           *
* Use .symfix to have the debugger choose a symbol path.                   *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is: 
ModLoad: 00400000 00971000   image00400000
Unable to insert breakpoint 1 at 64b6ea43, Win32 error 0n299
"Only part of a ReadProcessMemory or WriteProcessMemory request was completed."
bp1 at 64b6ea43 failed
WaitForEvent failed
eax=00415a7b ebx=7ffdd000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000
eip=77b37098 esp=0006fff0 ebp=00000000 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000200
77b37098 89442404        mov     dword ptr [esp+4],eax ss:0023:0006fff4=00000000

对我来说,这是一个问题,因为ASLR。运行editbin/DDYNAMICBASE:NO NameOfDetectedExe.exe修复了它。

切换到Ollydbg,它起作用。了解到WinDbg糟糕透顶。

最新更新