Reputation: 181
I'd like to build a client for dbgsrv.exe
. 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.
Upvotes: 7
Views: 2456
Reputation: 490808
There's at least one summary of debugger internals and the serial protocol on the net.
Upvotes: 0
Reputation: 65555
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
Upvotes: 3