I'm in the latest SaltMode9.

Am I correct in saying that this only happens if you do a search for data beforehand?
This happens without even doing that.
I'll look into it.
@HIDE810 could you please give more information? Which build does this happen on, does it happen in the latest one, how to reproduce this behavior...?
Personally I can't reproduce it in the latest staging build, regular GodMode9 (although SafeMode doesn't affect this behavior in the slightest...). On the first "search for data", the keyboard always shows the hex string "00".
Are you sure this is a bug? Because if you do a search for a string, and then search for data it'll keep the previously searched string in the buffer and allow you to change it.
@Wolfvak OK.Please check this.
https://youtu.be/sWuCqgbWqbQ
It doesn't matter which file you choose. This happens randomly.
I use the latest SaltMode9.
https://d0k3.secretalgorithm.com/SaltMode9/latest.zip
I tested on
The results will be the same regardless.
Wow, that video is extremely helpful. Thanks!
Will look into it, too.
Ok, small update: I found where the first bug happens and managed to fix it (use this and try it yourself - it's a regular GM9 build but good enough for verification ).
However, the second bug still happens and I think it'll be better to simply rewrite bits of how the hex viewer & search are handled.
That might take a while, but I'll keep this issue open until a proper fix is commited, although you can consider it solved for the next release.
@Wolfvak I tried some files on it. It works fine!
And one question:
What is found_size? It's displayed when I select "search for data".
That might take a while, but I'll keep this issue open until a proper fix is commited, although you can consider it solved for the next release.
I'm looking forward to the fix.
Um... oops. found_size is a variable related to the search function, and I added a tactical printf to make sure it was the expected value. It won't be there in the final fix.
Oh, I see. Thank you for your work.
Ok, fixed. If any other errors pop up, make sure to upload a video like this one, it helps out a ton!
Most helpful comment
@Wolfvak OK.Please check this.
https://youtu.be/sWuCqgbWqbQ
It doesn't matter which file you choose. This happens randomly.
I use the latest SaltMode9.
https://d0k3.secretalgorithm.com/SaltMode9/latest.zip
I tested on
The results will be the same regardless.