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

@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

3rdit and others added 4 commits January 23, 2026 13:24
Replace ad-hoc hex parsing with BinaryView::ParseExpression to match
debugger conventions and support expressions like symbols and arithmetic.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@xusheng6 xusheng6 merged commit b72e83b into Vector35:dev Jan 26, 2026
1 check passed
@xusheng6
Copy link
Member

Thanks for the PR @3rdit . I merged it with some minor mods

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support manually rebasing the input binary view to match the debugger status Support not rebasing the input binary view

2 participants