WinDbg remote debugger protocol
I'd like to build a client for dbgsrv.exe
开发者_Go百科. I'd like to know if there's a spec on the protocol that it uses and if there are any (open source?) libraries that are able to communicate with it for a remote debugging session.
Edit: See https://www.blackhat.com/presentations/bh-usa-07/Stewart/Presentation/bh-usa-07-stewart.pdf for a presentation that seems to describe the protocol.
Also browsing through the source code of ReactOS, seems to have a some of the implementation of the protocol. Also Microsoft Research's Singularity OS may have a debugger available in source. I know most of the OS is managed, however it will I suspect have the source code for its remote debugger communication.
Microsoft MDBG is a managed debugger with source . This may have the answer
There's at least one summary of debugger internals and the serial protocol on the net.
精彩评论