feat(libSceJsc): declare 379 callable exports #13135
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13135"
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-30T03:54:55Z.
What
Declare 379 additional
libSceJsccallable exports. The 356 named candidates hash to typed function NIDs in the public 3.20 catalogue; 23 additional NIDs have unidentified names. Per-image records show matching module and library identities in two version-labelled images, whose labels do not authenticate retail firmware provenance. These declarations throw; signatures and behavior are unverified. No game unblock is claimed. Seventeen newly added NIDs appear in both JSC and WebKit in the older image, and in JSC in the later image. The batch excludes NIDs already declared by the merged WebKit export PR #13117; platform-specific loader behavior for those shared exports needs separate analysis. The later image also contains five of these newly added NIDs in WebKit; current main has no WebKit declaration for them, and any future addition requires the same analysis.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 CnRJay on 2026-11-01T19:58:11Z.
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.1. No title reaches this. The description says "Unblocks: none" and "No game unblock is claimed", and there is no title ID with a log line showing a title on main importing any of the 379 libSceJsc exports. Without that, nothing shows these declarations are needed. Please add the title ID and the log line (for example the unresolved-import line on main for one of these NIDs), or say plainly that none of them is imported by a title yet.
2. Export kind and identity. 23 of the NIDs have no identified name, and the text says signatures and behaviour are unverified. The build and NID-patcher check on macOS show that our aliases were emitted, not what the source image exports. Please link per-symbol evidence (defined/exported status, symbol type, module and library identity) for each added NID, or drop the ones where function versus data is not established. Every definition is
int APS5_VABI name() { NotImplemented_nid_no_patch(__func__); }with no parameters, so a data export declared as a function would resolve to code where a title expects data.