fix(relinker): match AppContent utility import to provider #13486
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13486"
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 kyon-eth on 2026-10-30T16:47:17Z.
What
Match imports qualified as
libSceAppContentUtilto their declaredlibSceAppContent.prxdependency when an exact or normally normalized dependency is absent. This mapping is one-way; a physical-provider import is not redirected to the logical name, and ambiguous matches fail.Both version-labelled inventories contain this pairing and their imported NIDs match the declared provider. These labels do not authenticate firmware provenance. No game unblock is claimed.
This branch builds on #13143, #13472, #13473, #13475, #13477 and #13482 and includes their commits. It must be rebased after those prerequisites land.
Tested
import_module_tests, including the guest image reader, exact and normalized dependency precedence, reverse-direction rejection and ambiguity rejection.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 MarcZX10 on 2026-11-19T13:45:33Z.
Review: COMMENTED
Reviewed — no blocking findings
The targeted AppContent dependency mapping looks consistent, but the pull request includes many additional changes that I did not review, so a formal approval is not justified.
What I ran
Reviewed head
0bde10d243b63a08556f9ceda6912cf5fef2b824. Read the prepared description, commits, manifest, and diff, plus the changed import mapping header, its guest image reader caller, and its tests throughrepo_read.py. No tests or builds were run.Results
Findings
Blocking
None in the code inspected.
Non-blocking
None.
Sources
The reviewed implementation and tests are in
core/relinker/domain/include/domain/ImportModule.hppandcore/relinker/relinker/tests/ImportModuleTests.cppat the reviewed head.Not verified
The manifest lists a very large set of changed files; this review read only
core/relinker/domain/include/domain/ImportModule.hpp,core/relinker/relinker/src/guest/GuestImageReader.cpp, andcore/relinker/relinker/tests/ImportModuleTests.cppfrom the repository. Other changed files, including the workflow, build, library, shader, and tooling changes, were not inspected. No tests, builds, platform checks, or console behavior were verified.To get this to a good state
Nothing is required for the targeted mapping. Review the remaining changed files before making a formal decision.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T17:03:30Z.
Review: COMMENTED
The exact
import_moduleCTest passed in a Linux relinker-only build. The AppContent cases check its utility import, provider ambiguity, and normalized dependency priority. This head conflicts with current main inImportModule.hppandImportModuleTests.cpp. Preserve the existing GNM and SSL mappings and their regression cases when rebasing the stack.AI-assisted: yes.
Pull request closed