Skip to content

Show context #11

@JonathonReinhart

Description

@JonathonReinhart

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions