WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.

Home Page:https://imhex.werwolv.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Search panel's misleading information on search new pattern

mehlian opened this issue · comments

Operating System

Windows

What's the issue you encountered?

When you search for items in 'Hex editor' view using 'search panel' (ctrl+f) misleading 'No more results' information may appear.

How can the issue be reproduced?

  1. open any file with unique bytes patterns
  2. open 'search panel' using ctrl+f and search for hex values that are stored in the middle of the file and press enter to highlight/select that pattern
  3. while 'search panel' is still open change searching hex values to those that appear before those in the middle of file (first we searching for hex that is only in the middle of file, then we search for hex that is only at start of file)
  4. 'search panel' informs us that there are 'No more results' but instead it should found new pattern.

ImHex Version

1.33.0

ImHex Build Type

  • Nightly or built from sources

Installation type

Portable

Additional context?

This issue occurs because on value change in 'search panel' we do not search from beginning of the file but where we last stopped.