Vector35 / debugger

Binary Ninja debugger
Other
217 stars 15 forks source link

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

Open xusheng6 opened 2 months ago

xusheng6 commented 2 months ago

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

25pwn commented 2 months ago

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

xusheng6 commented 2 months ago

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