Skip to content

Conversation

@3rdit
Copy link
Contributor

@3rdit 3rdit commented Jan 21, 2026

This PR adds the ability to disable automatic rebasing when debugging and allow (optional) manual rebasing instead.

A new setting debugger.autoRebase (default: true) controls whether the debugger automatically rebases the input binary view when the module is loaded. The user can manually rebase via "Rebase to Remote Base" in the debugger menu or context menu.

This PR will close #821, will close #214, and will close Vector35/binaryninja-api#4799 (as it is the last mentioned unclosed issue)

@xusheng6
Copy link
Member

Hi @3rdit , thanks for the PR! I had a quick look at the PR, and it looks great. However, I prefer that during manual rebasing, a base address can be provided by the user. An important motivation for this PR is that when the auto-detected base address is wrong, the user would still be able to provide the correct value after inspecting the target. Bonus point if we provide a default value that is likely the one the debugger thinks is the right base, but that is totally optional

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

Labels

None yet

Projects

None yet

2 participants