feat(libSceLibcInternal): declare 150 additional PS5 exports #9532
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9532"
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 xdCloudy on 2026-10-22T00:28:11Z.
What
Adds 150 pending
libSceLibcInternalimports from the PS5 3.20 export inventory. Each declaration callsNotImplemented_nid_no_patch; prototypes and behavior are unverified, so the declarations support import resolution only and make no ABI claim. The technical-debt file records every added mangled export name and NID.The updated independent exact-NID audit recomputed all selected NIDs and checked current upstream
mainplus available export additions from all 1,129 open PRs. It included literal 11-character NIDs,APS5_EXPORTsymbol names, and assembly/function exports; it found zero collisions for this batch. There were 629 uniquelibSceLibcInternalcandidates before this selection; the selected 150 are distinct from #9498, #9511, and #9528. One unavailable patch concerns an unrelated AGC shader-resource file. The live overlap scan reported no duplicate exports or concrete conflicts. Its comparison ofExport.cppand the debt file in #5021 was unavailable because that PR conflicts with its base; I manually reviewed the fetched diff: itsfminf/heap-trace edits and statvfs debt note are separate from this PR's declarations and debt section. No dependency is required.Tested
libSceLibcInternalcompiled and linked successfullylibSceLibcInternalcompiled and linked successfullypython -I tools/check_conventions.py --base upstream/main --head HEAD— passedgit diff --check— passedmainand open PR exportspython -I tools/pr_overlap.py --branch feat/ps5-libcinternal-150-round4 --repo boykopovar/AnyPS5 --jobs 8— no duplicate exports or concrete conflicts; #5021 required the manual review described aboveChecklist
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-10-22T00:31:36Z.
Review: APPROVED
I independently audited the 150
Pending4exports: indexes and mangled names are unique, all recomputed NIDs match the debt entries, and none duplicate exports in currentmainor #9498, #9511, or #9528. The wrappers use the required_nid_no_patchpath. Author-reported Windows/WSL builds and overlap checks are noted; hosted eligibility, conventions, intake, labels and report pass, while product/relinker jobs are skipped. I did not run a local build or tests.Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T01:32:08Z.
Relevant: GitHub could not compare #5021 because its branch conflicts with base. I’ll manually review the shared Export.cpp and libc technical-debt changes and update this PR if they need coordination. This warning does not by itself report a duplicate export.
Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:25:58Z.
Manual review complete for #5021’s shared paths. In Export.cpp, #5021 removes the existing sceLibcHeapGetTraceInfo_nid_postfix wrapper; this PR adds the sceLibcInternalPending4_* declarations in the export inventory block. I found no repeated export/NID between those changes. In the debt file, #5021 documents statvfs, while this PR adds pending import entries; these describe different functions. Both patches touch the file, so the debt additions may need a small placement reconciliation when applied together, but I found no duplicate declaration.
Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:34:23Z.
Correction to my prior note: after checking the exact debt-file hunks, #5021’s statvfs functional entry and this PR’s added-import section are separate insertion points. No placement reconciliation is needed for those entries. The export edits also touch separate declarations. #5021 is currently marked DIRTY against its base, so its own rebase is still needed before the combined landing can be confirmed.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T11:37:24Z.
I refreshed the checks on current head
02f560faa5: conventions and diff-check pass, and the branch merges cleanly with currentmain. The earlier independent NID/export audit and your Windows/WSL target builds remain useful evidence. The branch is 1 ahead / 11 behind currentmain(merge based6eafa54d); please refresh it and rerun the target build, NID audit, conventions and overlap scan before merge so the declared inventory is checked against the actual current base and open-PR set.Pull request closed