feat(libSceNpUniversalDataSystem): declare older exports #13606

Open
kyon-eth wants to merge 1 commit from upstream-pr/13606 into main
kyon-eth commented 2026-10-30 19:19:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kyon-eth on 2026-10-30T19:19:19Z.


What

Declare 30 older libSceNpUniversalDataSystem callable NIDs as throwing placeholders so imports have explicit diagnostics. Names, signatures and behavior are unverified; these declarations implement no data-system functionality. None of these NIDs appears in the later version-labelled inventory, so no cross-version identity or compatibility is claimed.

Tested

  • macOS x86-64: Clang syntax check of the new export source passed. No full product, guest, Linux, Windows, or game execution was performed.
  • Public-header audit and whitespace checks passed; the source export inventory detects all 30 additional NIDs.
  • Open-PR overlap scan checked 1,629 other PRs and found no overlap.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch)
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5089844187 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13606). Originally posted by [kyon-eth](https://github.com/kyon-eth) on 2026-10-30T19:19:19Z. --- ### What Declare 30 older `libSceNpUniversalDataSystem` callable NIDs as throwing placeholders so imports have explicit diagnostics. Names, signatures and behavior are unverified; these declarations implement no data-system functionality. None of these NIDs appears in the later version-labelled inventory, so no cross-version identity or compatibility is claimed. ### Tested - macOS x86-64: Clang syntax check of the new export source passed. No full product, guest, Linux, Windows, or game execution was performed. - Public-header audit and whitespace checks passed; the source export inventory detects all 30 additional NIDs. - Open-PR overlap scan checked 1,629 other PRs and found no overlap. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`) - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
adriadam10 commented 2026-10-31 08:28:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-31T08:28:14Z.

Review: CHANGES_REQUESTED


Thanks for the PR. Two points before this can merge:

  • docs/dev/debt/libSceNpUniversalDataSystem.md:40: the entry says these are "3.20 callable NIDs", but none of the 30 NIDs appears in the 3.20 inventory the other entries cite (it has 84 dlsym NIDs, all named, none of these). Please link the source that shows they are exports of this library (export table dump, import list of a title, etc.). Without it we can't tell real exports from wrong NIDs.
  • Same line: the new ### Older callable exports section isn't one of the debt file's headers. The entry belongs under ### Unknown function info, not at the end of the section.

Once the source is in the debt entry and the entry is moved, this is ready for the merge queue.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5721989904 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13606#pullrequestreview-5721989904). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-31T08:28:14Z. **Review:** CHANGES_REQUESTED --- Thanks for the PR. Two points before this can merge: - `docs/dev/debt/libSceNpUniversalDataSystem.md:40`: the entry says these are "3.20 callable NIDs", but none of the 30 NIDs appears in the [3.20 inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceNpUniversalDataSystem.c) the other entries cite (it has 84 dlsym NIDs, all named, none of these). Please link the source that shows they are exports of this library (export table dump, import list of a title, etc.). Without it we can't tell real exports from wrong NIDs. - Same line: the new `### Older callable exports` section isn't one of the debt file's headers. The entry belongs under `### Unknown function info`, not at the end of the section. Once the source is in the debt entry and the entry is moved, this is ready for the merge queue.
MarcZX10 commented 2026-11-25 20:27:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T20:27:31Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the declarations are explicitly documented as unverified throwing placeholders, and I found no concrete defect in the reviewed code.

What I ran

Reviewed head 377cc0cc5630159948dcedefb58372c3d0e8e5db using the prepared diff and repo_read.py reader. No commands or tests were run; the macOS syntax check and other checks in the description are author-reported.

Results

Check Result Note
Diff and changed code review passed All five changed files read
Tests not run Author-reported checks not independently verified

Findings

Blocking

None.

Non-blocking

None.

Not verified

Build and runtime behavior, console execution, the author-reported syntax/header/whitespace checks, and the export inventory source were not independently verified. files.json was unavailable, so the reviewed-file list could not be compared against its reviewed entries. No excluded-file list was available.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6064486941 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13606#pullrequestreview-6064486941). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T20:27:31Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the declarations are explicitly documented as unverified throwing placeholders, and I found no concrete defect in the reviewed code. ## What I ran Reviewed head `377cc0cc5630159948dcedefb58372c3d0e8e5db` using the prepared diff and `repo_read.py` reader. No commands or tests were run; the macOS syntax check and other checks in the description are author-reported. ## Results | Check | Result | Note | | --- | --- | --- | | Diff and changed code review | passed | All five changed files read | | Tests | not run | Author-reported checks not independently verified | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Build and runtime behavior, console execution, the author-reported syntax/header/whitespace checks, and the export inventory source were not independently verified. `files.json` was unavailable, so the reviewed-file list could not be compared against its `reviewed` entries. No excluded-file list was available. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 13:36:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T13:36:26Z.

Review: COMMENTED


Compiled the branch’s export source as a Linux object and checked that it defines all 30 added callable symbols. All 30 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6170836884 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13606#pullrequestreview-6170836884). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T13:36:26Z. **Review:** COMMENTED --- Compiled the branch’s export source as a Linux object and checked that it defines all 30 added callable symbols. All 30 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.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/13606:upstream-pr/13606'
git switch 'upstream-pr/13606'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/13606'
git switch 'upstream-pr/13606'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/13606'
git switch 'upstream-pr/13606'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/13606'
git switch 'main'
git merge --squash 'upstream-pr/13606'
git switch 'main'
git merge --ff-only 'upstream-pr/13606'
git switch 'main'
git merge 'upstream-pr/13606'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!13606
No description provided.