diff options
| author | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 01:50:48 +0100 |
|---|---|---|
| committer | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 01:50:48 +0100 |
| commit | d771bd88e2b9e4afaccecc4c050bf34447edeacb (patch) | |
| tree | c962edf469a72f883f9e83360c592b54d1b9e313 /runtime/src/pe_loader.cpp | |
| parent | 91b36cf86cb92a95836eed8af73abc0671a61e31 (diff) | |
classify_carve.py: a missing argument or a bad carve root is one line
main() read sys.argv[1] directly: no argument was an IndexError, a
missing root a FileNotFoundError from os.listdir and a file a
NotADirectoryError, all as tracebacks. A second argument was silently
ignored and the run went ahead. Now a wrong argument count prints the
usage line, and a missing or non-folder root names the path; both exit
2 before types.json is written.
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