diff options
| author | KanameS <nk23a4@gmail.com> | 2026-11-22 14:13:26 +0700 |
|---|---|---|
| committer | KanameS <nk23a4@gmail.com> | 2026-11-22 14:13:26 +0700 |
| commit | 9f95b08df95b6f15c30e844c00fda0c7378d734b (patch) | |
| tree | 700b9f712c295d4aed6d0c8ab9e06bd3d9a2a4b0 /runtime/src/pe_loader.cpp | |
| parent | c63773d51235d72250d48699f29830ac9ddafd60 (diff) | |
hashdict: a string longer than 201 characters is not cut into fragments
The harvest pattern ended a match after 201 characters and the next match
started in the middle of the same run, so a truncated prefix and a fragment
were added as names and the path component across the cut was lost. The
whole run is matched now and split into its parts as before; a run or a
part longer than 201 characters is not added as a name, which keeps the
longest entry the dictionary could ever hold. Parts are found one at a time,
so a very long run does not build a list of all of them.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions