debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Explore the possibility to do remote Windows debugging from Linux/macOS with LLDB

Open xusheng6 opened this issue 1 year ago • 6 comments

Following a recent discussion with a user https://github.com/Vector35/binaryninja-api/discussions/5833, I learned that the LLDB 18.1 actually supports Windows remote debugging (from macOS/Linux). This is a great improvement and may server as a solution to #70.

However, despite the setup seems to be working to some degree, there are also fatal blockers: https://github.com/llvm/llvm-project/issues/60063. We should see if we can submit a patch to fix the underlying issue and get remote Windows debugging support

xusheng6 avatar Sep 06 '24 05:09 xusheng6

I see nothing weird when using the debugger GUI. I switched between disassembly and other IL types, and tried bv.read and it looks normal. Screenshot_20240907_011726 Screenshot_20240907_012329

25pwn avatar Sep 06 '24 16:09 25pwn

I see nothing weird when using the debugger GUI. I switched between disassembly and other IL types, and tried bv.read and it looks normal. Screenshot_20240907_011726 Screenshot_20240907_012329

That is interesting, on my end I am seeing the byte of the breakpoint being reported as 0xcc. Could you please let me know how you are doing the debugging so that I can see if there are any important differences

xusheng6 avatar Sep 11 '24 20:09 xusheng6

Any progress on this?

25pwn avatar Jan 11 '25 20:01 25pwn

Any progress on this?

Unfortunately there has been no progress on this yet -- I have been working on other features recently

xusheng6 avatar Jan 13 '25 03:01 xusheng6

Any update?

loadlibraryninja avatar Sep 02 '25 17:09 loadlibraryninja

Any update?

Short answer, it does not work

It does work to some degree, but still far from usable

xusheng6 avatar Sep 03 '25 03:09 xusheng6