stefankueng / grepWin

A powerful and fast search tool using regular expressions
https://tools.stefankueng.com/grepWin.html
GNU General Public License v3.0
1.74k stars 180 forks source link

searching binary files doesn't always find text #435

Closed bsabiston closed 9 months ago

bsabiston commented 9 months ago

I'm using GrepWin to find text within Unreal .usasset files. I noticed that it sometimes misses files that have the text in them. All these files have the same binary format, as far as I know. Not sure why it would miss some and not others...

stefankueng commented 9 months ago

Sorry, but 'sometimes' and 'as far as I know' doesn't help at all. I can't really do anything with such an issue. I would need the file(s) in question and the search regex and all the options set for the search. If you can reproduce the problem, feel free to reopen the issue.

bsabiston commented 9 months ago

Sorry I know that isn’t helpful but unfortunately I am not allowed to share the file. Just didn’t know if you cared to know the problem exists. If I run across a repo I can share, I will. It was no regex just a straight search for a text string in a binary file.

Coldblackice commented 5 months ago

Sorry I know that isn’t helpful but unfortunately I am not allowed to share the file. Just didn’t know if you cared to know the problem exists. If I run across a repo I can share, I will. It was no regex just a straight search for a text string in a binary file.

Why not hex-chop the executable down to the specific slice of what's not being found? And stripping out any personal/proprietary info in the process.

An example is pretty necessary for any sort of fixing/troubleshooting.

bsabiston commented 5 months ago

I said I knew it wasn't helpful. I don't remember what the file was, six months later.