feat(icu): add recovered inventory placeholders #13274
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13274"
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 Celegans12 on 2026-10-30T10:55:20Z.
What
Adds 134 newly named PS5 13.60 inventory exports to the existing
libSceIcuprovider. Every addition immediately throws throughNotImplemented_nid_no_patch; parameter lists, return types, callback ABIs and behavior remain unverified. The parameterlessintdeclarations provide import-resolution placeholders and implement no Unicode behavior or title compatibility.The library catalogue and per-library metadata are pinned to
226383a7fa4b1275d6cebf61eb1c1e7ca7b58bcb. That update supplies 152 additional name/NID bindings compared withbfec40deb4c47a17d7603ee2bc79aa6862c0c56b. The separateucfpos(7),uset(9) anduiter(2) bindings are reserved by existing work in #11118, #11122, #11132 and #11136 and are excluded. This PR adds the remaining 134 bindings in one library topic.All 134 names independently hash to their recorded NIDs. The physical-module map, pinned to
cc1d586fddab576a520f226da6b2632b031e6d09, assigns every included NID to logicallibSceIcuinlibSceIcu.sprx. Existing ICU implementations and literal-NID exports are preserved. The additions have one declaration each in a new header reachable through the existing public umbrella, and their unknown contracts are recorded in ICU technical debt.Tested
Linux x86-64, GCC 13.3.0. Validation head:
4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f, based on upstreammainatebe0ffe04c7fb4b1e750caa699718554d820701e.python3 tools/check_conventions.py --base origin/main: passed with no findings after committing the final 134-export scope.git diff --check origin/main...HEAD: passed.python3 core/libs/tests/test_public_headers.py --compiler g++: public declaration/umbrella audit passed for 374 libraries and 14,795 exports; every standalone header compilation group passed.RecoveredInventory.cppwith-Wall -Wextra -Werror: passed.libSceIcu,nid_patcher,guest_icu_cstring_tests,guest_icu_converter_callbacks_tests,guest_icu_version_tests,guest_icu_space_testsandguest_icu_unescape_tests: built successfully on the final head.public_headersgenerator and existingguest_icu_cstring,guest_icu_converter_callbacks,guest_icu_version,guest_icu_spaceandguest_icu_unescape: 6/6 passed. These behavior tests cover existing ICU implementations and do not invoke the unknown additions.nid_names.pyfinds exactly one source owner per new NID, all inRecoveredInventory.cpp.NotImplemented_nid_no_patch.b394b9b7ed1c88ec59c89d1a825a05a0c1e4abd6) and #12738 (26780f3701db3f8f336216d2b6d00c580835ad76) remain identical to the controls, and the new inventory entry stays outside those conflict blocks. Candidate and peer additions share no new export NID keys.tools/pr_overlap.py --branch feat/icu-recovered-inventory-20261030 --repo boykopovar/AnyPS5: scanned all 1,443 open PRs againstmainat3948413d701b093b32a194f5fe5525ea8d5f5079. No export or new-file collision was found, and every completed shared-file comparison was clean. The two base-conflicted peers are covered by the manual controls above; their three shared files are byte-identical between the validation base and this scan base. Fetching disabled recursive submodule fetches only; the overlap comparison logic was unchanged.b443df018fc0e2fb7edb20f47bfd49aa64cb91a7590f2e4ccc365032409a8461.No test was added merely to check symbol presence. No runtime behavior test invokes the unknown new exports. The full suite, Windows, GPU, PS5 hardware, title/homebrew and Ghost of Yōtei validation were not performed.
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)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T11:07:16Z.
Review: APPROVED
Reviewed — looks good
The 134 ICU inventory placeholders have unique, verified NID/name bindings and are clearly documented as unresolved ABI stubs at head
4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4.What I ran
Reviewed head
4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4against PR base3948413d701b093b32a194f5fe5525ea8d5f5079. A merge preview onto currentmain947ca6fe0ce323b2aec50c6ac31e9be69b5ceac8was clean (tree37f4f300694ce38bc3fbb63323b5cc763b6918ad). Environment: Debian 12 x86-64, Python 3.11.2, Git 2.39.5, GCC 12.2.0. I did not build or compile locally; author-reported build/test results are identified separately.Results
Unedited local command output
git diff --checkproduced no output. ABI audit summary:status: passed,findings: 0.Findings
Blocking
None found in the reviewed change.
Non-blocking
These exports intentionally throw
NotImplemented_nid_no_patch; the PR does not claim their signatures or behavior are known. The PR description and ICU debt entry preserve that limitation. The automated overlap scan could not compare three shared files with #12320 and #12738 because of those branches' base conflicts; I did not independently reproduce the author's manual three-way controls.Sources
Not verified
I did not independently build the library, run the author's CTest commands, test on Windows/Linux hosted runners, test a PS5 or title, or reproduce the author's full pairwise controls for #12320 and #12738. The added exports' ABI signatures and runtime behavior remain unknown by design.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T11:37:49Z.
Review: APPROVED
Reviewed — looks good
The 134 additions are consistently implemented as documented import-resolution placeholders; the exact-head symbol, source-inventory, and merge checks found no blocking issue.
What I ran
Reviewed head
4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4fagainst PR base3948413d701b093b32a194f5fe5525ea8d5f5079; the stack checker previewed it cleanly on currentmaine471817c68d4e1b1e44b0ce369ed88bafe4ae8ed. Local environment: Debian 12 x86_64, Python 3.11.2, GCC 12.2.0. I did not build locally.The isolated precheck checkout lacked the workspace-only ABI and test-quality helpers, so those two checks were rerun directly from the workspace. I also matched the 134 added names and computed NIDs against the PR’s pinned ICU metadata and physical-module map.
Results
mainObserved output
Negative control
Findings
Blocking
None found.
Non-blocking
The parameterless
intsignatures and runtime behavior remain unverified by design, as the PR body and ICU debt entry state. The shared CMake, umbrella-header, and debt files touched by #12320 and #12738 should be checked again if either peer PR lands first; no duplicate export names were found in the comparisons available here.Sources
Not verified
No local native build or CTest run; no PS5 console/title behavior; actual parameter lists, return types, calling convention details, and firmware availability beyond the cited inventory. The two stale-base peer PRs still need a fresh overlap check after their bases are resolved.
Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:59:36Z.
Review: COMMENTED
Correction (2026-11-01): this review demanded a title for a PR where no title can supply one. CONTRIBUTING allows
Unblocks: none. The technical points below are unaffected.No title reaches this code. Unblocks is none, the Tested section says no title, homebrew or Ghost of Yotei validation was performed, and the 134 additions are parameterless
intplaceholders that throw viaNotImplemented_nid_no_patch. Please add a title ID with a log line showing it importing one of these libSceIcu NIDs on main, or narrow the PR to the NIDs that a title actually imports.Also, the name/NID bindings are sourced from an external repository (xdCloudy/PS5-13.60-Function-Stub-Library) at a pinned commit. Is there per-symbol evidence in this repository (or attached here) that each of the 134 is a function export rather than data? A throwing function placed where a title expects data would fail differently from an unresolved import.