feat(libSceSysmodule): scope PS4-only module IDs to PS4 processes #18141
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18141"
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 pushkarreddyy on 2026-11-10T15:37:16Z.
What
Grand Theft Auto V (CUSA00419 v01.57, bring-up discussion #18084 blocker 6) asserts with
int 0x41at eboot address0x1b45414after 4.8 seconds:In
core/libs/prx/libSceSysmodule/ModuleTable.hpp,kPublicModuleIdsholds the 141 module IDs accepted in payload processes on a PS5. However, PS4 processes running under backwards compatibility also callsceSysmoduleLoadModulewith IDs that were public on PS4 but omitted from PS5:0x0097(libSceNpParty),0x00a2(libSceInvitationDialog), and0x00b2(libSceNpProfileDialog).0x0097,0x00a2, and0x00b2to PS4 processes viasceKernelIsPs4Process()incore/libs/prx/libSceSysmodule/Export.cpp.kPublicModuleIdsincore/libs/prx/libSceSysmodule/ModuleTable.hppstrictly at the 141 PS5 baseline elements.docs/dev/debt/libSceSysmodule.md.core/libs/tests/GuestSysmodule.cppto test rejection of PS4 IDs in standard PS5 processes and acceptance when running as a PS4 child process.Tested
python tools/check_conventions.py --base origin/main(passed: 0 findings).guest_sysmoduleunit tests covering full-range ID sets across PS5 and PS4 processes.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 PrivacyOnion on 2026-11-10T20:27:15Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
48ff76ed16:tools/check_conventions.pypassed;git diff --checkclean.guest_sysmodule_testsbuilt cleanly.guest_sysmodule,guest_sysmodule_maps_scan):core/libs/prx/libSceSysmodule/ModuleTable.hppreverted tomainand the new tests kept, the suite fails: Restoring the change makes it pass again.Looks Good To Me
Pull request closed