[wishlist] hex-grep utility to search for the string or pattern in the hex file
Bug #640598 reported by
Alexander Belchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IntelHex |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
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
-F - pattern is the substring to look for, not the regular expression.
--hex - pattern is the chain of hex bytes to look for, e.g. python hex-grep --hex "2A FF 3C" foo.hex
For matches found we can just print name of the file and offset. Maybe provide a little context as hex dump.
description: | updated |
description: | updated |
To post a comment you must log in.