fix(relinker): require a file for guest module exclusions #17538
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17538"
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 dr-hoseyn on 2026-11-08T21:02:42Z.
What
Only regular files can satisfy --exclude-sce-module. Previously a subdirectory with the requested name hid a missing file and let conversion succeed. Keep matching actual files by exact filename.
Tested
Windows host, WinLibs GCC 15.2, Release relinker-only build. The regression returned exit 0 on main for a directory named missing.prx. It now checks exit 2 and the missing-file diagnostic for both Linux and Windows output. All seven selected CTests passed. The overlap tool checked 1,968 open PRs and found no overlap.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-08T22:00:57Z.
Review: COMMENTED
Windows run of head
9c00a98ff3, merged ontomain0bae53facdin one tree with eight other open PRs that touch different files (all nine merged cleanly). Setup: Windows 11, WinLibs GCC 15.2 r7 (x86_64-ucrt-posix-seh, the CI toolchain), Release,BUILD_TESTING=ON.guest_module_directorieswith--repeat until-fail:5: 5 / 5 pass.main'score/relinker/cli/src/NativeModules.cppand this PR's test: 5 / 5 runs fail.