forked from mirrors/kingfisher
- Optimized memory usage via string interning and extensive data sharing - Replaced quadratic match filtering with a per-rule span map, fixing missed secrets in extremely large files and improving scan performance - Support scanning extremely large files by chunking input into 1 GiB segments with small overlaps, avoiding vectorscan buffer limits while preserving match offsets - Always use chunked vectorscan, eliminating the slow regex fallback for blobs over 4 GiB - Skip Base64 scanning for blobs over 64 MB to avoid a second pass over massive files - Increased max-file-size default to 64 MB (up from 25 MB) |
||
|---|---|---|
| .. | ||
| commands | ||
| global.rs | ||
| mod.rs | ||