Skip to content

LLDB Adapter leaks breakpoints #1214

Description

@UvuvDev

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions