Skip to content

fix(relinker): match AppContent utility import to provider - #13486

Draft
kyon-eth wants to merge 23 commits into
boykopovar:mainfrom
kyon-eth:fix/appcontent-module-alias
Draft

kyon-eth wants to merge 23 commits into
boykopovar:mainfrom
kyon-eth:fix/appcontent-module-alias

Conversation

@kyon-eth

Copy link
Copy Markdown
Contributor

What

Match imports qualified as libSceAppContentUtil to their declared libSceAppContent.prx dependency 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

Checklist

# Conflicts:
#	core/relinker/domain/include/domain/ImportModule.hpp
# Conflicts:
#	core/relinker/domain/include/domain/ImportModule.hpp
# Conflicts:
#	core/relinker/domain/include/domain/ImportModule.hpp
# Conflicts:
#	core/relinker/domain/include/domain/ImportModule.hpp
#	core/relinker/relinker/tests/ImportModuleTests.cpp
# Conflicts:
#	core/relinker/domain/include/domain/ImportModule.hpp
#	core/relinker/relinker/tests/ImportModuleTests.cpp
# Conflicts:
#	core/relinker/domain/include/domain/ImportModule.hpp
#	core/relinker/relinker/tests/ImportModuleTests.cpp
# Conflicts:
#	core/relinker/relinker/tests/ImportModuleTests.cpp
# Conflicts:
#	core/relinker/relinker/tests/ImportModuleTests.cpp
…alias

# Conflicts:
#	core/relinker/domain/include/domain/ImportModule.hpp
#	core/relinker/relinker/tests/ImportModuleTests.cpp
…alias

# Conflicts:
#	core/relinker/domain/include/domain/ImportModule.hpp
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6149 core/relinker/CMakeLists.txt
PR 7173 core/relinker/CMakeLists.txt
PR 7531 core/relinker/CMakeLists.txt
PR 10792 core/relinker/CMakeLists.txt
PR 10861 core/relinker/CMakeLists.txt
PR 11628 core/relinker/CMakeLists.txt
PR 11661 core/relinker/CMakeLists.txt
PR 11689 core/relinker/CMakeLists.txt
PR 11698 core/relinker/CMakeLists.txt
PR 12678 core/relinker/CMakeLists.txt
PR 13716 core/relinker/CMakeLists.txt
PR 15245 core/relinker/CMakeLists.txt
PR 15642 core/relinker/CMakeLists.txt
PR 17557 core/relinker/CMakeLists.txt
PR 17558 core/relinker/CMakeLists.txt
PR 18373 core/relinker/CMakeLists.txt
PR 18449 core/relinker/CMakeLists.txt
PR 19567 core/relinker/CMakeLists.txt
PR 20900 core/relinker/CMakeLists.txt
PR 20917 core/relinker/CMakeLists.txt
PR 21728 core/relinker/CMakeLists.txt
PR 21877 core/relinker/CMakeLists.txt
PR 22466 core/relinker/CMakeLists.txt
PR 23465 core/relinker/CMakeLists.txt
PR 23636 core/relinker/CMakeLists.txt
PR 23663 core/relinker/CMakeLists.txt
PR 23747 core/relinker/CMakeLists.txt
PR 23781 core/relinker/CMakeLists.txt
PR 23836 core/relinker/CMakeLists.txt
PR 23842 core/relinker/CMakeLists.txt
PR 24062 core/relinker/CMakeLists.txt
PR 24472 core/relinker/CMakeLists.txt
PR 24915 core/relinker/CMakeLists.txt
PR 25483 core/relinker/CMakeLists.txt
PR 25672 core/relinker/CMakeLists.txt
PR 26232 core/relinker/CMakeLists.txt
PR 26633 core/relinker/CMakeLists.txt
PR 26765 core/relinker/domain/include/domain/ImportModule.hpp
core/relinker/relinker/tests/ImportModuleTests.cpp

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 through repo_read.py. No tests or builds were run.

Results

Check Result Note
Targeted import mapping review passed Direction and precedence covered
Test/build execution not run No commands executed
Full pull request review not run Many changed files not inspected

Findings

Blocking

None in the code inspected.

Non-blocking

None.

Sources

The reviewed implementation and tests are in core/relinker/domain/include/domain/ImportModule.hpp and core/relinker/relinker/tests/ImportModuleTests.cpp at 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, and core/relinker/relinker/tests/ImportModuleTests.cpp from 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build needs rebase Conflicts with main, rebase needed relinker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants