WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
44.8k stars 1.95k forks source link

[Feature] Go to next different byte in hex view. #1444

Open omicronns opened 11 months ago

omicronns commented 11 months ago

What feature would you like to see?

When byte is selected in hex view, a shortcut to go to next different byte would be available.

How will this feature be useful to you and others?

When analyzing large firmware files, it's common for it to have a large blocks of same value eg. FF. Sometimes it's quite time consuming to navigate to next block of meaningful data. Currently I use entropy view to go close to some block of data and then scroll manually. There are some problems with this approach:

Request Type

Additional context?

No response

paxcut commented 11 months ago

If all you need is to find the position of the next byte not equal to some value (call it x) then the following pattern

while($[$]==x) $+=1;

should work. Just place the cursor at the starting point and set x to the value and run the pattern. The cursor should move to the value after the first non x has been found.

github-actions[bot] commented 1 week ago

This issue is marked stale as it has been open for 11 months without activity. Please try the latest ImHex version. (Avaiable here: https://imhex.download/ for release and https://imhex.download/#nightly for development version) If the issue persists on the latest version, please make a comment on this issue again

Without response, this issue will be closed in one month.