Skip to content

Implement differing byte search #2228

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
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

agarmash
Copy link

@agarmash agarmash commented May 5, 2025

This PR implements a neat little feature I missed - the ability to jump to the next/previous differing byte, skipping the chunk of repeating bytes. Very useful when you analyze a raw flash dump and want to skip the large sections of 0x00s/0xFFs.

Some implementation details worth validating:

  • I wasn't sure what is the correct place to put the new menu entries into. The possible candidates were File -> Go to address... and Edit -> Follow selection. I chose the former, although the latter may be a better fit since it already states that the action is related to the selection. Overall, it may be a good moment to refine these menu entries in general.
  • I didn't add any tests since I'm not sure what is the project's policy for those. Please let me know if I need to add some!
  • I added the machine-generated translations for the new menu entries which may be considered a questionable thing. Please let me know if you're unhappy with those, I'll drop the commit.

Also, thanks for such a nice tool, I use it a lot and was glad to build a new feature for it!

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.

1 participant