Skip to content

[Feature] Diff against arbitrary offset (vbindiff) #2190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
meganukebmp opened this issue Mar 30, 2025 · 0 comments
Open
1 task

[Feature] Diff against arbitrary offset (vbindiff) #2190

meganukebmp opened this issue Mar 30, 2025 · 0 comments

Comments

@meganukebmp
Copy link

What feature would you like to see?

I currently use a program called vbindiff https://github.com/madsen/vbindiff to do diffing between two files which may have arbitrary offsets in them. An example of this would be to visually attempt to match and align misaligned binary files, either due to different structure or insertions. The main feature of vbindiff is that you can move the hex view arbitrarily left, right up and down. This means that the first column might not always be 00. You can shift columns like this and they wrap around.

00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
press right arrow twice
0E 0F 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D

This plays into the second feature which is the ability to scroll only one of the views in relation to the other (offset comparing). You can move either side in an attempt to align it to the other.

How will this feature be useful to you and others?

I would love to see this feature appear in some form in Imhex as it has become my primary hex editor. This type of workflow might be specific, but clearly enough people care and use it, as indicated by the interest in vbindiff

Request Type

  • I can provide a PoC for this feature or am willing to work on it myself and submit a PR

Additional context?

No response

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

No branches or pull requests

1 participant