diff options
| author | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 01:44:49 +0100 |
|---|---|---|
| committer | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 01:44:49 +0100 |
| commit | 51bb8734ab2cf6119a34df8284ebce7a93ee7a91 (patch) | |
| tree | ecd2051b8e6ff2ea6684cfdded75203589fc79a7 /runtime/src/pe_loader.cpp | |
| parent | 91b36cf86cb92a95836eed8af73abc0671a61e31 (diff) | |
hashdict.py: bad carve folders, missing blobs and bad --lookup values are one line
A missing or non-folder carve ended in a traceback from os.listdir. A
carved .bin that an index.json lists but that is gone from disk stopped
the whole build with FileNotFoundError, so a long harvest wrote no
dictionary at all. --lookup died on a value that isn't hex, after
printing the values before it, and on a missing or broken dictionary.
The carve folder is now checked first (exit 2, one line). A listed blob
that can't be read is skipped, counted and named in one warning, and
the dictionary is still written from everything else. --lookup checks
every value before it prints anything (a usage error, exit 2) and
names a dictionary it can't read.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions