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:
authorjakeefr <jakeefr@users.noreply.github.com>2026-11-22 10:05:21 +0000
committerjakeefr <jakeefr@users.noreply.github.com>2026-11-22 10:05:21 +0000
commit82575ab46e38537502e6caad2d7897f04a755a00 (patch)
tree87f5b5c9b6c6bfa622f28b60f02537b5a117e56b /runtime/src/pe_loader.cpp
parentc0ac5fd6518b3ba9fa66765b8b07099990dadd74 (diff)
save_keys: harvest a long identifier whole instead of cutting it after 81 characters
IDENT had its length bound inside the pattern ({1,80}), so a longer run of identifier characters was cut after 81 and the search went on in what was left: one 89-character name became an 81-character prefix and a tail that nobody wrote, and the real name was never hashed against the save keys. The pattern now takes the whole run, and a run past 255 characters (an encoded blob, not a name) is left out whole. hashdict.py already reads names this way. tests/test_save_keys.py: four tests, all fail on the old code. Synthetic inputs only.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions