feat(libSceLibcInternal): declare 150 PS5 3.20 pending exports #9498

Closed
xdCloudy wants to merge 0 commits from upstream-pr/9498 into main
xdCloudy commented 2026-10-21 23:27:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-21T23:27:42Z.


Update (2026-10-25)

The branch is based on current upstream main at f26434afa3. The literal-NID correction described in the comments remains in place. Historical build/check statements below refer to their recorded heads; current hosted checks should be used for this rebased head.

What

Adds 150 pending PS5 3.20 imports to libSceLibcInternal from the PS5-3.20_Libs export inventory. Each declaration calls NotImplemented_nid_no_patch; unknown prototypes and behavior are documented in the library's technical-debt file. These declarations support import resolution only and make no ABI or behavior claim.

An exact name/NID audit and tools/pr_overlap.py were refreshed against current upstream main (d6eafa54d0464258574fd2f71889754d05a5bc93) and the live open-PR set after rebase; all 150 pairs remain distinct with no duplicate exports. The checker could not compare #5021 and #9653 because those branches conflict with base. I manually reviewed the shared patches: #5021 removes a different export and adds separate path-statistics/test changes; #9653 adds a separate SDK stub-table debt note. A three-way merge of #9653 and this branch has no conflict in libSceLibcInternal technical debt. No function or NID overlaps, and no dependency is required.

Tested

  • Windows: libSceLibcInternal compiled and linked on the rebased head 544e593df7cb9445f0439e4f01f4da51116751bf
  • Ubuntu under WSL: libSceLibcInternal compiled and linked on the rebased head
  • python -I tools/check_conventions.py --base upstream/main --head HEAD — passed on the rebased head
  • git diff --check — passed
  • tools/pr_overlap.py — no duplicate names/NIDs; #5021 and #9653 received the manual comparison above
  • GitHub checks on the current review head: conventions, eligibility, intake, labels, and report passed. Linux, Windows, relinker, relinker-asan, register-context, and write-watch jobs were skipped; no hosted product build is claimed

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); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (the technical-debt entry is required documentation)
  • New third-party code is a submodule built from source (not applicable)
  • 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:4959729992 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9498). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-21T23:27:42Z. --- ### Update (2026-10-25) The branch is based on current upstream main at f26434afa36e58778a9ff4b948aea52dff19eb0c. The literal-NID correction described in the comments remains in place. Historical build/check statements below refer to their recorded heads; current hosted checks should be used for this rebased head. ### What Adds 150 pending PS5 3.20 imports to `libSceLibcInternal` from the [PS5-3.20_Libs export inventory](https://github.com/DNNDHH/PS5-3.20_Libs). Each declaration calls `NotImplemented_nid_no_patch`; unknown prototypes and behavior are documented in the library's technical-debt file. These declarations support import resolution only and make no ABI or behavior claim. An exact name/NID audit and `tools/pr_overlap.py` were refreshed against current upstream `main` (`d6eafa54d0464258574fd2f71889754d05a5bc93`) and the live open-PR set after rebase; all 150 pairs remain distinct with no duplicate exports. The checker could not compare #5021 and #9653 because those branches conflict with base. I manually reviewed the shared patches: #5021 removes a different export and adds separate path-statistics/test changes; #9653 adds a separate SDK stub-table debt note. A three-way merge of #9653 and this branch has no conflict in `libSceLibcInternal` technical debt. No function or NID overlaps, and no dependency is required. ### Tested - Windows: `libSceLibcInternal` compiled and linked on the rebased head `544e593df7cb9445f0439e4f01f4da51116751bf` - Ubuntu under WSL: `libSceLibcInternal` compiled and linked on the rebased head - `python -I tools/check_conventions.py --base upstream/main --head HEAD` — passed on the rebased head - `git diff --check` — passed - `tools/pr_overlap.py` — no duplicate names/NIDs; #5021 and #9653 received the manual comparison above - GitHub checks on the current review head: conventions, eligibility, intake, labels, and report passed. Linux, Windows, relinker, relinker-asan, register-context, and write-watch jobs were skipped; no hosted product build is claimed ### 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`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (the technical-debt entry is required documentation) - [x] New third-party code is a submodule built from source (not applicable) - [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
MarcZX10 commented 2026-10-21 23:31:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T23:31:01Z.

Review: APPROVED


Reviewed the generated stubs and debt entries. Each of the 150 aliases has a throwing NotImplemented_nid_no_patch body and is listed as unverified, so the PR makes no unsupported ABI or behavior claim. I independently parsed the export pairs: all 150 names and helper NIDs are unique, and every helper-safe NID matches tools/nid_names.py output for its export name. The author reports Windows and Ubuntu library builds plus convention and diff checks; the hosted conventions, intake, eligibility, labels and report checks pass. Product build jobs are skipped, and no hosted product build is claimed.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5607491269 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9498#pullrequestreview-5607491269). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-21T23:31:01Z. **Review:** APPROVED --- Reviewed the generated stubs and debt entries. Each of the 150 aliases has a throwing `NotImplemented_nid_no_patch` body and is listed as unverified, so the PR makes no unsupported ABI or behavior claim. I independently parsed the export pairs: all 150 names and helper NIDs are unique, and every helper-safe NID matches `tools/nid_names.py` output for its export name. The author reports Windows and Ubuntu library builds plus convention and diff checks; the hosted conventions, intake, eligibility, labels and report checks pass. Product build jobs are skipped, and no hosted product build is claimed.
xdCloudy commented 2026-10-22 01:33:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T01:33:24Z.


Relevant: GitHub could not compare #5021 because its branch conflicts with base. I’ll manually review the shared libc Export.cpp and technical-debt changes and update this PR if coordination is needed; this warning does not itself report a duplicate export.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330518336 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9498#issuecomment-6330518336). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T01:33:24Z. --- Relevant: GitHub could not compare #5021 because its branch conflicts with base. I’ll manually review the shared libc Export.cpp and technical-debt changes and update this PR if coordination is needed; this warning does not itself report a duplicate export.
MarcZX10 commented 2026-10-22 02:09:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:09:07Z.

Review: APPROVED


Rechecked the exact head and the manual #5021 shared-file audit now recorded in the PR body. Its Export.cpp change removes a different export and the debt hunk is separate; the 150 new export names/NIDs remain unique and absent from current main, all wrappers throw, and no ABI/behavior claim is made. The author reports Windows and Ubuntu library builds; eligibility, conventions, intake, labels and report checks pass, while product/relinker jobs are skipped. I did not run a local build.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5608469741 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9498#pullrequestreview-5608469741). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T02:09:07Z. **Review:** APPROVED --- Rechecked the exact head and the manual #5021 shared-file audit now recorded in the PR body. Its `Export.cpp` change removes a different export and the debt hunk is separate; the 150 new export names/NIDs remain unique and absent from current main, all wrappers throw, and no ABI/behavior claim is made. The author reports Windows and Ubuntu library builds; eligibility, conventions, intake, labels and report checks pass, while product/relinker jobs are skipped. I did not run a local build.
xdCloudy commented 2026-10-22 02:26:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:26:06Z.


Manual review complete for #5021’s shared paths. #5021 removes the existing sceLibcHeapGetTraceInfo_nid_postfix wrapper from Export.cpp; this PR adds pending-export declarations in its inventory block. I found no repeated export/NID. In the debt file, #5021 documents statvfs; this PR adds pending-import entries for different functions. Both touch the debt file, so placement may need reconciliation when applied together, but I found no duplicate declaration.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331189738 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9498#issuecomment-6331189738). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T02:26:06Z. --- Manual review complete for #5021’s shared paths. #5021 removes the existing sceLibcHeapGetTraceInfo_nid_postfix wrapper from Export.cpp; this PR adds pending-export declarations in its inventory block. I found no repeated export/NID. In the debt file, #5021 documents statvfs; this PR adds pending-import entries for different functions. Both touch the debt file, so placement may need reconciliation when applied together, but I found no duplicate declaration.
xdCloudy commented 2026-10-22 02:34:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:34:23Z.


Correction to my prior note: #5021’s statvfs functional entry and this PR’s additional-import entries occupy separate debt sections; no placement reconciliation is needed. Its removal of the heap-trace wrapper is also separate from this PR’s added declarations. #5021 remains DIRTY against its base, so final combined landing confirmation depends on that PR being rebased.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331291609 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9498#issuecomment-6331291609). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T02:34:23Z. --- Correction to my prior note: #5021’s statvfs functional entry and this PR’s additional-import entries occupy separate debt sections; no placement reconciliation is needed. Its removal of the heap-trace wrapper is also separate from this PR’s added declarations. #5021 remains DIRTY against its base, so final combined landing confirmation depends on that PR being rebased.
MarcZX10 commented 2026-10-22 04:26:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:26:11Z.

Review: CHANGES_REQUESTED


The pending export stubs and debt entries remain appropriately limited to import resolution: the PR documents unknown signatures/behavior and all wrappers throw. I also confirm the manual #5021 audit distinguishes the removed heap-trace export from these additions and its statvfs debt entry from the pending-import section. However, both the NID/overlap audit and reported Windows/WSL builds are based on a6dcea9279; current upstream main is ab347d144d. Please rebase, rerun the exact name/NID uniqueness and overlap checks against current main/open PRs, and rerun conventions and the library compile. Hosted product/relinker jobs are skipped; I did not run a local build.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609253912 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9498#pullrequestreview-5609253912). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:26:11Z. **Review:** CHANGES_REQUESTED --- The pending export stubs and debt entries remain appropriately limited to import resolution: the PR documents unknown signatures/behavior and all wrappers throw. I also confirm the manual #5021 audit distinguishes the removed heap-trace export from these additions and its statvfs debt entry from the pending-import section. However, both the NID/overlap audit and reported Windows/WSL builds are based on a6dcea9279; current upstream main is ab347d144d88fae054d9770cf0db8d3565735c02. Please rebase, rerun the exact name/NID uniqueness and overlap checks against current main/open PRs, and rerun conventions and the library compile. Hosted product/relinker jobs are skipped; I did not run a local build.
xdCloudy commented 2026-10-22 06:36:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T06:36:18Z.


Resolved the stale-base request. This branch is now rebased onto current main (d6eafa54d0464258574fd2f71889754d05a5bc93). I reran the live exact name/NID and overlap audit; all 150 declarations remain unique. The checker could not compare #5021/#9653, so I manually reviewed them: #5021 changes a different export and separate path-statistics/tests, while #9653 adds a separate SDK stub-table debt note. A three-way merge check found no conflict in libSceLibcInternal debt documentation. Windows and WSL target builds, conventions, and diff checks pass on the rebased head. Hosted conventions, eligibility, intake, labels, and report pass; product/platform jobs are skipped. I updated the PR body with the refreshed evidence.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6334440105 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9498#issuecomment-6334440105). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T06:36:18Z. --- Resolved the stale-base request. This branch is now rebased onto current `main` (`d6eafa54d0464258574fd2f71889754d05a5bc93`). I reran the live exact name/NID and overlap audit; all 150 declarations remain unique. The checker could not compare #5021/#9653, so I manually reviewed them: #5021 changes a different export and separate path-statistics/tests, while #9653 adds a separate SDK stub-table debt note. A three-way merge check found no conflict in `libSceLibcInternal` debt documentation. Windows and WSL target builds, conventions, and diff checks pass on the rebased head. Hosted conventions, eligibility, intake, labels, and report pass; product/platform jobs are skipped. I updated the PR body with the refreshed evidence.

Pull request closed

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!9498
No description provided.