fix(relinker): warn when SELF modules are skipped #4501
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4501"
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 devavijitsingh on 2026-10-12T13:40:17Z.
What
Keep the existing behavior of skipping SELF/fSELF guest modules, but print a warning naming each skipped file and advising users to unwrap it. Cover both SELF magics and excluded modules in the regression test, and correct the user-facing documentation.
Closes #4488
Tested
Windows:
git diff --check origin/main...HEAD— passed. The documented relinker build/test commands (cmake -S . -B build-relinker -G Ninja -DCMAKE_BUILD_TYPE=Release -DANYPS5_RELINKER_ONLY=ON -DBUILD_TESTING=ON;cmake --build build-relinker --parallel;ctest --test-dir build-relinker --output-on-failure) — not run: CMake Tools could not configure the project, and CMake/compiler executables are unavailable here. CI is pending.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by devavijitsingh on 2026-10-12T17:02:19Z.
The overlap is just the compatibility-docs edit; this PR doesn’t depend on #4562. They cover separate entries, and I can resolve any doc conflict if needed. CI is now passing on Linux, macOS, and Windows.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T14:10:46Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/relinker/cli/src/NativeModules.cppL5, L40, L47, L60docs/user/USAGE.mdL7Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T14:15:34Z.
Checked: relinker build and the 124 relinker-scope tests pass on the PR merged onto main;
guest_module_directoriesfails without the change and passes with it; SELF magics (4F 15 3D 1D,54 14 F5 EE) are correct; USAGE.md now matches the behaviour. #4623 makes the same change in the same lines, so this one goes first. Merging once the full Build is green.