LLDB Adapter leaks breakpoints

Open Beginner friendly
#1,214 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp

Research direction

Start with the LLDB adapter's breakpoint API and trace the path used when setting and freeing a breakpoint at the same address. Reproduce the issue by setting one breakpoint twice, freeing it, and checking whether it still triggers; done means the old breakpoint no longer remains active, or the overwrite is rejected.

Written by the indexing model from the issue text.

Description

bug Effort: Trivial

Version and Platform (required):

  • Binary Ninja Version: 6.1.10613
  • OS: MacOS
  • OS Version: 27
  • CPU Architecture: M3 Pro
  • Local or Remote Debugging: Local

Bug Description:
If you set a breakpoint at an address twice, LLDB's original breakpoint never gets freed.

Steps To Reproduce:

  1. Open a binary and launch the debugger
  2. Set a breakpoint with the API twice on the same address
  3. Free the breakpoint
  4. Observe that it still breaks at the breakpoint.

Expected Behavior:
It should free a breakpoint before setting a new one at the same address, or it should refuse to overwrite the old breakpoint.

Dominant language
C++
Stars
342
Forks
34
Avg merge
7d 21h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Vector35/debugger

All issues in Vector35/debugger

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.