debugger icon indicating copy to clipboard operation
debugger copied to clipboard

LLDB fails attaching to a process when using remote debugging

Open Xoffio opened this issue 3 months ago • 0 comments

Version and Platform (required):

Client:

  • Binary Ninja Version: 5.1.8104-stable
  • OS: Windows
  • OS Version: 11
  • CPU Architecture: x86-64
  • Local or Remote Debugging: remote debugging

Remote:

  • LLDB Version: 19.1.7
  • OS: Rocky Linux
  • OS Version: 8.10
  • CPU Architecture: x86-64

Bug Description: When doing remote debugging and trying to attach to process on a remote I get the next error

LLDB Failed to attach to target with "invalid host:port specification: '[192.168.8.10]'"

Image

Steps To Reproduce: Please provide all steps required to reproduce the behavior:

  1. Open Binary Ninja's project
  2. On the remote machine run the program and the lldb-server
lldb-server g --attach (pidof crackme-01) 0.0.0.0:31337
  1. In Binary Ninja go to Debugger > Connect to debug server... Followed the steps here
  2. Once connected try attaching to the process by clicking Debugger > Attach to process...
  3. See error

Expected Behavior: This should work and the debugger should attach to the process

Additional Information:

Doing "remote process" does work

 lldb-server g --attach <PID> 0.0.0.0:31337

Xoffio avatar Sep 19 '25 01:09 Xoffio