-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Show context around matches, like grep
. The context should be shown in hex, like the output of hexdump -C
.
Complicating factors:
grep
will "combine" overlapping context between matches- We currently output
filename:offset
for each match. This might not make sense when showing hex context, because it should be 0x10-aligned.
Perhaps we could output the "found" offsets in the right gutter, comma-separated:
foo.bin:0x0120: ff ff ff ff ff ff ff ff 11 ff ff ff ff ff 11 ff 0x128, 0x12E