Comment 0 for bug 640598

Revision history for this message
Alexander Belchenko (bialix) wrote :

Sometimes it could be useful to search in the hex file content for the string or the pattern, i.e.

python hex-grep [OPTIONS] PATTERN HEX_FILE...

Possible options:

-i = ignore the case
-s = pattern is the substring to look for, not the regular expression.

For matches found we can just print name of the file and offset. Maybe provide a little context as hex dump.