Vector35 / debugger

Binary Ninja debugger
Other
199 stars 13 forks source link

Breakpoint added before starting debugging does not work when using lldb to connect to a gdbserver #611

Open xusheng6 opened 1 week ago

xusheng6 commented 1 week ago

Repro steps:

  1. Download https://crackmes.one/crackme/66b5fa2c90c4c2830c821d0a to a Linux machine
  2. Run gdbserver 0.0.0.0:31337 -- ./crackme666adv
  3. Open the file in bina (on macOS)
  4. Put a breakpoint somewhere in main function
  5. Debugger - Connect to remote process
  6. Input the IP address and connect to it
  7. Run the target until it breaks at the entry point
  8. Resume the target and notice it runs on its own rather than breaking at the breakpoint
xusheng6 commented 1 week ago

Combined with https://github.com/Vector35/debugger/issues/610 I think it is very challenging to use lldb to connect to a gdbserver, we still need to have first-party GDB support as in #170 to make it even usable