feat(exports): export the calls PPSA01317 imports #4834
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4834"
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 GoodTimeclubs on 2026-10-12T23:12:36Z.
What
Gran Turismo 7 (PPSA01317) fails to load on unresolved imports, and on two needed libraries that AnyPS5 does not build. Both are listed in #4782. This PR covers what the first patch attached there adds, reworked to follow CONTRIBUTING: real behaviour where it can be derived, a throwing export where the signature is unknown, and no code comments.
sceAppContentDownloadDataFormat/download0, creating it if needed, assceAppContentTemporaryDataFormatdoes for/temp0. Null mount point →PARAMETER. Another mount point throws, as insceAppContentDownloadDataGetAvailableSpaceKb.sceNpAuthSetTimeoutREQUEST_NOT_FOUND, like the other request calls; otherwise OK. No request reaches the network the timeouts would bound. Signature from shadPS4 (PS4).sceNpWebApi2PushEventSetHandleTimeoutsceNpWebApi2GetMemoryPoolStats; otherwise OK. Push event handles are not tracked, and nothing waits on one offline. Signature followssceNpWebApiSetHandleTimeout(PS4, shadPS4).sceSslDisableVerifyOption,sceSslGetAlpnSelected,sceSslSetAlpn,sceSslSetMinSslVersionsceAudioOutDeviceIdOpen_specularAA,_quality8K)xNZM9Y5lf-M,lcZD9tJraAwAPS5_EXPORTasscePsmlUnknown01/02, throw. Built into both libScePsml and libScePsml_debug.d33dad00b). The eboot lists both inDT_NEEDEDbut imports nothing from them.Each assumption has an entry in the library's file under
docs/dev/debt/.This is based on patch 1 from #4782 by @dawid-swiecicki, credited with
Co-authored-by. Patch 2 from that issue is #4809.Tested
Docker container, Ubuntu 24.04, GCC 14.2, Release,
-DBUILD_TESTING=ON, lavapipe:guest_appcontent: formats an empty and a populated/download0(a file and a subdirectory); a null mount point returnsPARAMETERand leaves the files in place.guest_np_auth:sceNpAuthSetTimeouton sync and async requests returns OK and leaves the later results unchanged; an unknown request and a deleted request returnREQUEST_NOT_FOUND.guest_np_web_api2:sceNpWebApi2PushEventSetHandleTimeoutreturns OK on a live context and throws aftersceNpWebApi2Terminate.guest_psml,guest_np_auth_authorized_app_code,guest_np_auth_authorized_app_dialog: pass.nm -Don the patched libraries inbuild/core/libs/libsshows the 11 NIDs exported (CN7EbEV7MFU,PM3IZCw-7m0,KWkc6Q3tjXc,cx2dYFbzIAg,TL86glUrmUw,PwsHbErG+e8,QWSxBzf6lAg,4O7+bRkRUe8, andxNZM9Y5lf-M/lcZD9tJraAwin libScePsml and libScePsml_debug).libSceUsbStorage.prxandlibSceUsbStorageDialog.prxare built.ctestaftercmake --build build(994 tests): 992 pass. The other two,agc_driver_depth_compare_copyandguest_named_shm_concurrency, fail the same way onmainwithout this change. Both come from the container: Docker's seccomp profile blocksuserfaultfd, and the tests run as root.python3 tools/check_conventions.py --base origin/mainandpython3 tools/check_test_registration.py build: passed.sceSslCreateConnection(#4078), and it may stop at one of the throwing exports.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 github-actions[bot] on 2026-10-12T23:28:21Z.
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)docs/dev/debt/libSceAudioOut.mdL18Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T07:27:54Z.
Progress report (
90c6839→8a7e119)📉 System libraries: 87.7% (-0.17%, +3 implemented, +7 declared functions)
✅ 3 implemented
sceAppContentDownloadDataFormatsceNpAuthSetTimeoutsceNpWebApi2PushEventSetHandleTimeout🆕 7 declared as stubs
sceAudioOutDeviceIdOpenscePsmlUnknown01scePsmlUnknown02sceSslDisableVerifyOptionsceSslGetAlpnSelectedsceSslSetAlpnsceSslSetMinSslVersionImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T07:33:33Z.
Checked build and the affected ctest set (39 tests, green) on the PR merged onto main, and that the 11 NIDs match the exported names. Exports without a known signature throw, the implemented ones have a test and a debt entry; merging.