Relative breakpoint (module + offset) does not work with LLDB adapter when the module is not the main module
@xusheng6 is already working on this.
Since Jan 9, 2026.
- Dominant language
- C++
- Stars
- 331
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
This happens at https://github.com/Vector35/debugger/blob/e99b62995421f94a440a2185a7a067ec5a18ef5c/core/adapters/lldbadapter.cpp#L987
LLDB expects breakpoint to be in the form of module + address_in_original_module. So for example, if module foobar is originally based at 0x140000000, and we want a breakpoint at offset 0x1234, we need to use 0x140001234 to set the breakpoint. For the main module, we compensate for this by doing uint64_t addr = address.offset + m_originalImageBase;. But this is incorrect for any modules other than the module that is opened in binja
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.
Assessment
This issue has not been assessed yet.