Windows Defender quarantines relinker.exe and loadexec_arguments output that the BUILD.md exclusion does not cover #16960
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by NathanFahey23 on 2026-11-08T01:38:17Z.
What happens
On Windows, Defender's machine-learning detections quarantined
build-full/core/relinker/relinker.exeitself (Trojan:Win32/Bearfoos.A!ml), and the programsloadexec_argumentsbuilds in the user's%TEMP%(Trojan:Win32/Sabsik.FL.A!ml). Neither is incore/relinker/test-temp, the only folder docs/dev/BUILD.md says to exclude.Title, test or build step
ctest loadexec_arguments, and every relinker test once relinker.exe is gone (about 200 in the full suite); docs/dev/BUILD.md:47
AnyPS5 commit
main
8bf9729d56, nothing merged on top.System
Windows 11 Home 10.0.26300, i9-13900K, RTX 4080 (driver 32.0.16.2101), Windows Defender (default settings), WinLibs GCC 15.2.0 UCRT posix-seh r7, Release,
BUILD_TESTING=ON.Host report
Steps to reproduce
Run the full suite a few times in a row with Defender's default settings:
ctest --test-dir build-full --parallel 6 --timeout 300.loadexec_argumentsfailed in each of 3 runs. Its guest exits with 0xC0000409 after printingfirstbecause Defender removedpicker.second.bin.exe/app.exefrom%TEMP%\anyps5-loadexec-*\Документы 東京\native output\mid-test.build-full\core\relinker\relinker.exe. Every later relinker test (cli_help,windows_*,linux_*,macos_*,guest_*…) then failed to start it, for about 200 failures per run.Log
What was checked
loadexec_arguments(core/libs/prx/libSceSystemService/CMakeLists.txt:37) does not get theTMPDIR/TEMP/TMP→core/relinker/test-tempoverride that the relinker tests in core/relinker/CMakeLists.txt set, so itstempfile.mkdtemplands in the user's%TEMP%. Giving it the same override would bring its output under the documented exclusion.relinker.exeitself gets flagged.AI-assisted: yes.