refactor(prx): name the LibcInternal round 6 stubs the NID database resolves #15678
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15678"
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 ItsJustChrisE on 2026-11-04T03:40:13Z.
What
Names 82 of the 145
sceLibcInternalUnknown6_*exports inlibSceLibcInternal/InventoryExports6.cppthattools/nid_names.pyresolves through its pinned aerolib database (statusrename-ready), as #14884, #15673 and the libSceJsc rename did for other libraries. As everywhere else in libSceLibcInternal, each name carries the_nid_postfixsuffix so that it cannot clash with the host C and C++ runtimes (malloc_stats, thestd::locale facets). The NID is computed from the name without the suffix. The renamed functions are declared once, in the newinclude/InventoryExports6.hpp, whichlibSceLibcInternal.hppincludes. The debt entries for these exports already list them under these names and are unchanged.Every body still throws through
NotImplemented_nid_no_patch, and the library exports the same NIDs as onmain. A title that reaches one now fails with the function's name instead of the placeholder's.The other 63 resolvable placeholders stay as they are, to keep this from conflicting with open pull requests. Those PRs implement or edit them, or edit the lines next to them: #13778, #14158, #14660, #14664, #14796, #14834, #14836, #14903, #15584 and #15588.
Tested
Ubuntu 26.04 on WSL2, GCC 15.2.0, Release,
main1c8c0efc8c. No title or homebrew run.compute_nid(name) == nidfor all 82.nm -Don the patchedlibSceLibcInternal.prxofmainand this branch, ignoring the removed_nid_no_patchhelper names: identical NID sets (1016).ctest -R 'public_headers|patched_librar|libcinternal|libc_internal': 70 of 70 passed.tools/check_conventions.py --base origin/main: passed.tools/pr_overlap.py --branch: 1839 open pull requests probed, no shared lines or exports. #13486, #13778 and #13782 already conflict withmain, so the tool could not compare them. Test-merging each of them intomainand into this branch gives the same conflicting files, so this branch adds no conflict for them.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)🤖 Generated with Claude Code