refactor(prx): name the AbstractStorage, Ipmi and TEEClient stubs the NID database resolves #14884
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14884"
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-01T22:24:13Z.
What
Names 151
*Unknown_*exports thattools/nid_names.pyresolves through its pinned aerolib database (statusrename-ready), as #12457 did for libSceXml, libSceNKWebKit, libSceJsc and libSceFreeTypeOl: 110 in libSceAbstractStorage, 40 in libSceIpmi, 1 in libSceTEEClient (AMDTEE_DLM_StartTADebug).Every body still throws through
NotImplemented_nid_no_patch, and each 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 28 placeholders in these libraries resolve to no name and stay as they are.#14827 left these three libraries out because #14212 edits their debt files. #14212 is a draft that conflicts with
main, and the overlap check finds it shares only those debt files with this branch.Tested
Ubuntu 26.04 on WSL2, GCC 15.2.0, Release,
main0580e5c951. No title or homebrew run.compute_nid(name) == nidfor all 151.nm -Don the patched.prxfiles ofmainand this branch, ignoring the removed_nid_no_patchhelper names: identical NID sets (131, 97, 15).ctest -R 'public_headers|patched_librar': 66 of 66 passed.tools/check_conventions.py --base origin/main: passed.tools/pr_overlap.py --branch: 1861 open pull requests probed. Only #14212 shares files: the debt files of these three libraries. No shared code or exports.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
Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-02T12:06:52Z.
Review: APPROVED
Looks right. I checked the renames mechanically:
APS5_EXPORT("<nid>", …Unknown_…)NIDs from the diff, and the 151 symbol names newly defined in the threeExport.cppfiles.tools/nid_names.py --from-fileon the new names gives exactly the removed set, with no NID missing and none extra. So every library exports the same NIDs, now under real names.NotImplemented_nid_no_patch(__func__).Tested on Windows 11, WinLibs GCC 15.2.0, Release, with head
50b7248a26merged ontomain:libSceAbstractStorage,libSceIpmiandlibSceTEEClientbuild, andpublic_headersandcheck_conventions.py --base upstream/mainpass. I didn't comparenm -Doutput on this platform; the NID-set check above covers the same question from the source.