upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorKanameS <nk23a4@gmail.com>2026-11-22 14:13:26 +0700
committerKanameS <nk23a4@gmail.com>2026-11-22 14:13:26 +0700
commit9f95b08df95b6f15c30e844c00fda0c7378d734b (patch)
tree700b9f712c295d4aed6d0c8ab9e06bd3d9a2a4b0 /runtime/src/pe_loader.cpp
parentc63773d51235d72250d48699f29830ac9ddafd60 (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