Files
AnyPS5/core/libs/allocator
roboterspinne 2f7381f9ea test(allocator): check pe_import_first's malformed images in memory
On Windows with Defender at its defaults, opening the freshly written
optional-header-incomplete-import-entry image stalled for up to about
10 s and timed the test out. MoveImportFirst throws before it writes to
the image, and MoveImportFirstInFile writes the file only after
MoveImportFirst returns, so the malformed-image cases need no file
round trip. Check them on a copy of the bytes and keep the
missing-import case on disk for the unchanged-file path.
2026-10-31 17:36:51 +01:00
..