Breakpoint added before starting debugging does not work when using lldb to connect to a gdbserver
Open
Nobody has claimed this yet.
breakpoint
bug
Impact: Medium
LLDB Adapter
remote debugging
- Dominant language
- C++
- Stars
- 331
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
Repro steps:
- Download https://crackmes.one/crackme/66b5fa2c90c4c2830c821d0a to a Linux machine
- Run
gdbserver 0.0.0.0:31337 -- ./crackme666adv - Open the file in bina (on macOS)
- Put a breakpoint somewhere in
mainfunction - Debugger - Connect to remote process
- Input the IP address and connect to it
- Run the target until it breaks at the entry point
- Resume the target and notice it runs on its own rather than breaking at the breakpoint
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by running the listed crackme under gdbserver and connecting from Binary Ninja on macOS. Start with the remote-process connection and breakpoint handling around the main function; done means a breakpoint set before connecting stops execution after the target resumes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools, reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100