Skip to content

v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 19:05
· 2 commits to main since this release
3207933

stringer 1.2.0

Byte-range filters for scoped scans + JSON fixes

What’s new

  • -r, --range SPEC (repeatable): limit hits to specific file byte ranges.
    • start:end, start+len, start:, :end (decimal or hex 0x...).
    • Ranges are unioned (string is kept if its [off, off+bytes) overlaps any range).
  • Works across ASCII and UTF-16LE emit paths, for both text and JSON output.
  • -r combines with -f using AND semantics:
    • string must be in-range and match at least one -f pattern.

Examples

# Only strings in .rdata (file offset 0x4000, size 0x2000)
stringer -r 0x4000+0x2000 a.exe

# Find 'token' or 'password' only in that region
stringer -r 0x4000+0x2000 -f token -f password a.exe

# Two disjoint regions
stringer -r 700:800 -r 13000:14000 -f linux -f gnu test/samples/a.out