debugger
debugger copied to clipboard
LLDB fails attaching to a process when using remote debugging
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]'"
Steps To Reproduce: Please provide all steps required to reproduce the behavior:
- Open Binary Ninja's project
- On the remote machine run the program and the lldb-server
lldb-server g --attach (pidof crackme-01) 0.0.0.0:31337
- In Binary Ninja go to
Debugger>Connect to debug server... Followed the steps here - Once connected try attaching to the process by clicking
Debugger>Attach to process... - 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