feat(libSceLibcInternal): declare 149 PS5 3.20 round four exports #11749

Merged
oneandonlydean merged 5 commits from upstream-pr/11749 into main 2026-10-31 21:17:19 +00:00
oneandonlydean commented 2026-10-27 06:54:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-27T06:54:02Z.


What

Based on #9532 by @xdCloudy (closed by the author on 25 Oct).

Declares 149 libSceLibcInternal exports from the PS5 3.20 export inventory as import-resolution stubs. Each stub takes no parameters and throws through NotImplemented_nid_no_patch, and its debt entry says that signature and behavior are unverified. 1 of the original 150 are dropped because main now defines their NIDs (NIDs: NEemVJeMwd0).

xdCloudy's commits are kept. On top of them this PR merges current main and removes the exports main already has, together with their debt entries. Existing debt entries are left as they are; the imports are appended after them.

Tested

  • Linux, Intel i9-14900KF, NVIDIA GeForce RTX 4090: built libSceLibcInternal and the 18 guest tests that link it (guest_init_once, guest_statvfs, guest_fstatvfs, guest_fstatvfs_conversion, guest_fdopendir, guest_posix_spawn, guest_err, guest_getopt, guest_inet_address, guest_file_timestamps, guest_filesystem, guest_user_context, guest_user_context_exit, guest_path_*) on the head merged with main 31a50b73d6: 18 of 18 passed.
  • Every kept NID was checked against main by name and by NID with tools/nid_names.py, and against the open PRs that touch this library.
  • tools/check_conventions.py and core/libs/tests/test_public_headers.py --audit-only ran on the head; the stubs end in _nid_no_patch, which the audit exempts.
  • Not tested: Windows and macOS (left to CI). The stubs only resolve imports; no title was run.

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 (none added)
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none added)
  • 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:5029875395 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11749). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-27T06:54:02Z. --- ### What Based on #9532 by @xdCloudy (closed by the author on 25 Oct). Declares 149 libSceLibcInternal exports from the PS5 3.20 export inventory as import-resolution stubs. Each stub takes no parameters and throws through `NotImplemented_nid_no_patch`, and its debt entry says that signature and behavior are unverified. 1 of the original 150 are dropped because `main` now defines their NIDs (NIDs: `NEemVJeMwd0`). xdCloudy's commits are kept. On top of them this PR merges current `main` and removes the exports `main` already has, together with their debt entries. Existing debt entries are left as they are; the imports are appended after them. ### Tested - Linux, Intel i9-14900KF, NVIDIA GeForce RTX 4090: built `libSceLibcInternal` and the 18 guest tests that link it (`guest_init_once`, `guest_statvfs`, `guest_fstatvfs`, `guest_fstatvfs_conversion`, `guest_fdopendir`, `guest_posix_spawn`, `guest_err`, `guest_getopt`, `guest_inet_address`, `guest_file_timestamps`, `guest_filesystem`, `guest_user_context`, `guest_user_context_exit`, `guest_path_*`) on the head merged with `main` 31a50b73d6: 18 of 18 passed. - Every kept NID was checked against `main` by name and by NID with `tools/nid_names.py`, and against the open PRs that touch this library. - `tools/check_conventions.py` and `core/libs/tests/test_public_headers.py --audit-only` ran on the head; the stubs end in `_nid_no_patch`, which the audit exempts. - Not tested: Windows and macOS (left to CI). The stubs only resolve imports; no title was run. ### 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 file (none added) - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none added) - [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
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!11749
No description provided.