feat(libSceNpCommon): declare 707 callable exports #13120
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13120"
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-30T02:36:25Z.
What
Declare 707 additional
libSceNpCommoncallable exports present in the 13.60-labelled inventory. Of these, 292 match typed function NIDs in the public 3.20 catalogue; 415 do not and their presence in retail 3.20 is unverified. The linked per-image ELF records show those 415 in a separate 3.20-labelled image and the later image, with matching module and library identities; neither image label is authenticated. These are import-resolution declarations that throw; signatures and behavior are unverified, and no game unblock is claimed. Data exports are outside this change.The linked metadata is a summary of the observed identities, not independent verification. This change excludes 82 exports implemented by #13130, #13270, #13277, #13281, #13345, #13408 and #13431, of which #13281, #13345 and #13431 have now merged; the remaining four are intended to land before this inventory PR.
Tested
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 adriadam10 on 2026-10-30T04:48:20Z.
Review: CHANGES_REQUESTED
Thanks, the declarations check out (every body throws through
NotImplemented_nid_no_patch, header, source and debt rows agree, and the 368/421 wording asked for above is in the current head). One blocker:core/libs/prx/libSceNpCommon/InventoryExports.cpp:1063-1243and:2631(plusinclude/InventoryExports.hppand the debt rows) declare 21 exports that #13130 implements:sce::np::Cond(Wait,dtor,Signal,Destroy,SignalTo,SignalAll,C1,C2,D2,IsInit) andsce::np::Mutex(Init,Lock,ctor,dtor,Unlock,TryLock,C1,C2,D0,D1,D2). Whichever of the two merges second defines the same symbols twice and fails to link. Please drop those 21 from the source, header anddocs/dev/debt/libSceNpCommon.md(the count becomes 768, update the 368/421 split accordingly) and list #13130 underDepends onif you prefer to land after it.Everything else can stay as is.
Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T20:00:51Z.
Review: COMMENTED
Correction (2026-11-01): this review demanded a title for a PR where no title can supply one. CONTRIBUTING allows
Unblocks: none. The technical points below are unaffected.No title ID and no log line here. The description says "no game unblock is claimed" and
Unblocks: none, so nothing shows a title onmainreaching any of these 707libSceNpCommonNIDs. Declaring names that throw does not change what a title does today: an unresolved import and aNotImplemented_nid_no_patchthrow both stop it.InventoryExports.hppandInventoryExports.cppadd roughly 3,500 lines of generated declarations in one file. The PR also depends on four unmerged PRs (#13130, #13270, #13277, #13408) for the exclusion list, so it cannot be reviewed or merged on its own, and any of them landing in a different shape means this has to be regenerated.int APS5_VABI name()with no parameters, the whole set has to be redeclared as each one is implemented. The debt entry should say so.What I would want: the title ID that imports one of these, and the log line from
mainshowing it reaching the unresolved import.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T14:00:15Z.
Review: COMMENTED
Reviewed — comments
The export declarations follow the documented throwing-stub pattern, but the supplied evidence does not let me verify the full inventory or its build and overlap claims.
What I ran
Reviewed head
59d18135b796e3874cc91c1ac5a2f08ea7fa25ceusingrepo_read.pyto inspect the prepared description, commit list, diff, manifest, and repository files. No build or tests were run; the description reports an author-run macOS x86-64 check. No merge preview was run.Results
Findings
Blocking
None verified.
Non-blocking
Not verified
The diff changes five files:
core/libs/prx/libSceNpCommon/CMakeLists.txt,core/libs/prx/libSceNpCommon/InventoryExports.cpp,core/libs/prx/libSceNpCommon/include/InventoryExports.hpp,core/libs/prx/libSceNpCommon/libSceNpCommon.hpp, anddocs/dev/debt/libSceNpCommon.md. I read the full C++ implementation and header, the complete debt document, and excerpts of the diff and manifest; I did not read every changed line in the diff or independently verify every NID, declaration, catalogue or overlap claim.files.jsonwas not available through the reader, so excluded files were not verified. Linux, Windows, console, game, and combined prerequisite integration behavior were not verified.To get this to a good state
Nothing is required. Optional: run combined integration validation against the current prerequisite heads and report its result.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T13:22:43Z.
Review: COMMENTED
Compiled the branch’s export source as a Linux object and checked that it defines all 707 callable symbols from the diff. All 9 explicit NID aliases resolve to their declared function symbols in the object. Move the debt addition into a change fragment under
docs/dev/debt/changes/and let the debt fold update the roll-up.AI-assisted: yes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.