feat(icu): add recovered inventory placeholders #13274

Merged
Celegans12 merged 1 commit from upstream-pr/13274 into main 2026-11-02 17:29:39 +00:00
Celegans12 commented 2026-10-30 10:55:20 +00:00 (Migrated from github.com)

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 libSceIcu provider. Every addition immediately throws through NotImplemented_nid_no_patch; parameter lists, return types, callback ABIs and behavior remain unverified. The parameterless int declarations 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 with bfec40deb4c47a17d7603ee2bc79aa6862c0c56b. The separate ucfpos (7), uset (9) and uiter (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 logical libSceIcu in libSceIcu.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 upstream main at ebe0ffe04c7fb4b1e750caa699718554d820701e.

  • 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.
  • Direct C++20 compilation of RecoveredInventory.cpp with -Wall -Wextra -Werror: passed.
  • Native CMake/Ninja targets libSceIcu, nid_patcher, guest_icu_cstring_tests, guest_icu_converter_callbacks_tests, guest_icu_version_tests, guest_icu_space_tests and guest_icu_unescape_tests: built successfully on the final head.
  • CTest public_headers generator and existing guest_icu_cstring, guest_icu_converter_callbacks, guest_icu_version, guest_icu_space and guest_icu_unescape: 6/6 passed. These behavior tests cover existing ICU implementations and do not invoke the unknown additions.
  • Patched the actual native ICU DSO with the repository NID patcher and the guest-libc preservation export list. All 134 expected NIDs appear exactly once, and all 134 raw names disappear from its dynamic exports. nid_names.py finds exactly one source owner per new NID, all in RecoveredInventory.cpp.
  • Disassembly confirms all 134 new exports directly call NotImplemented_nid_no_patch.
  • Manual three-way file comparisons against the 17 related ICU peer heads, in both directions: 102 candidate merges and 102 controls. No new conflict is introduced. The existing debt-file conflicts in #12320 (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.
  • Final tools/pr_overlap.py --branch feat/icu-recovered-inventory-20261030 --repo boykopovar/AnyPS5: scanned all 1,443 open PRs against main at 3948413d701b093b32a194f5fe5525ea8d5f5079. 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.
  • Final patch SHA-256: 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

  • 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 (attach them to this PR)
  • New third-party code is a submodule built from source
  • 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:5083223363 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13274). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-30T10:55:20Z. --- ### What Adds 134 newly named PS5 13.60 inventory exports to the existing `libSceIcu` provider. Every addition immediately throws through `NotImplemented_nid_no_patch`; parameter lists, return types, callback ABIs and behavior remain unverified. The parameterless `int` declarations provide import-resolution placeholders and implement no Unicode behavior or title compatibility. The [library catalogue](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/226383a7fa4b1275d6cebf61eb1c1e7ca7b58bcb/LIBRARIES.md) and [per-library metadata](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/226383a7fa4b1275d6cebf61eb1c1e7ca7b58bcb/data/firmware-13.60/libsceicu-9790ee85e3.jsonl) are pinned to `226383a7fa4b1275d6cebf61eb1c1e7ca7b58bcb`. That update supplies 152 additional name/NID bindings compared with `bfec40deb4c47a17d7603ee2bc79aa6862c0c56b`. The separate `ucfpos` (7), `uset` (9) and `uiter` (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](https://github.com/boykopovar/ps5-nid-map/blob/cc1d586fddab576a520f226da6b2632b031e6d09/data/Modules/libSceIcu.inc), pinned to `cc1d586fddab576a520f226da6b2632b031e6d09`, assigns every included NID to logical `libSceIcu` in `libSceIcu.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 <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Linux x86-64, GCC 13.3.0. Validation head: `4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f`, based on upstream `main` at `ebe0ffe04c7fb4b1e750caa699718554d820701e`. - `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. - Direct C++20 compilation of `RecoveredInventory.cpp` with `-Wall -Wextra -Werror`: passed. - Native CMake/Ninja targets `libSceIcu`, `nid_patcher`, `guest_icu_cstring_tests`, `guest_icu_converter_callbacks_tests`, `guest_icu_version_tests`, `guest_icu_space_tests` and `guest_icu_unescape_tests`: built successfully on the final head. - CTest `public_headers` generator and existing `guest_icu_cstring`, `guest_icu_converter_callbacks`, `guest_icu_version`, `guest_icu_space` and `guest_icu_unescape`: 6/6 passed. These behavior tests cover existing ICU implementations and do not invoke the unknown additions. - Patched the actual native ICU DSO with the repository NID patcher and the guest-libc preservation export list. All 134 expected NIDs appear exactly once, and all 134 raw names disappear from its dynamic exports. `nid_names.py` finds exactly one source owner per new NID, all in `RecoveredInventory.cpp`. - Disassembly confirms all 134 new exports directly call `NotImplemented_nid_no_patch`. - Manual three-way file comparisons against the 17 related ICU peer heads, in both directions: 102 candidate merges and 102 controls. No new conflict is introduced. The existing debt-file conflicts in #12320 (`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. - Final `tools/pr_overlap.py --branch feat/icu-recovered-inventory-20261030 --repo boykopovar/AnyPS5`: scanned all 1,443 open PRs against `main` at `3948413d701b093b32a194f5fe5525ea8d5f5079`. 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. - Final patch SHA-256: `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 <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [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 (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no -->
MarcZX10 commented 2026-10-30 11:07:16 +00:00 (Migrated from github.com)

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 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4 against PR base 3948413d701b093b32a194f5fe5525ea8d5f5079. A merge preview onto current main 947ca6fe0ce323b2aec50c6ac31e9be69b5ceac8 was clean (tree 37f4f300694ce38bc3fbb63323b5cc763b6918ad). 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.

git diff --check 3948413d701b093b32a194f5fe5525ea8d5f5079...4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4
python3 tools/check_conventions.py --base 3948413d701b093b32a194f5fe5525ea8d5f5079 --head 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4 --title 'feat(icu): add recovered inventory placeholders' --body /tmp/13274-body.md
python3 core/libs/tests/test_public_headers.py --audit-only
python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base 3948413d701b093b32a194f5fe5525ea8d5f5079 --head 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4 --json
python3 tools/pr_overlap.py --branch refs/review/pr-13274 --jobs 16

Results

Check Result
Diff whitespace and conventions Passed.
Public-header audit at exact PR worktree Passed: 374 libraries and 14,795 exports checked.
ABI lexical audit Passed with no findings.
NID/source/map cross-check 134 unique declarations; all 134 names and computed NIDs matched the PR's pinned ICU metadata and module map.
Overlap scan No duplicate export finding. It could not compare shared files with #12320 and #12738 because those branches conflict with the scan base; the PR description reports separate manual candidate/control comparisons, which I did not reproduce.
Author-reported Linux validation GCC 13.3 build and targeted CTest: 6/6 passed. The tests cover existing ICU behavior and do not exercise the new unknown-ABI stubs.
Hosted CI Conventions, report, Windows, intake, and eligibility passed. Linux and specialized jobs were skipped; labels were pending at final check.
Current-main merge preview Clean.
Unedited local command output
All conventions checks passed.
374 libraries, 14795 exports: unique declarations and umbrella coverage verified

git diff --check produced 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5711364225 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13274#pullrequestreview-5711364225). Originally posted by [MarcZX10](https://github.com/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 `4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4` against PR base `3948413d701b093b32a194f5fe5525ea8d5f5079`. A merge preview onto current `main` `947ca6fe0ce323b2aec50c6ac31e9be69b5ceac8` was clean (tree `37f4f300694ce38bc3fbb63323b5cc763b6918ad`). 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. ```sh git diff --check 3948413d701b093b32a194f5fe5525ea8d5f5079...4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4 python3 tools/check_conventions.py --base 3948413d701b093b32a194f5fe5525ea8d5f5079 --head 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4 --title 'feat(icu): add recovered inventory placeholders' --body /tmp/13274-body.md python3 core/libs/tests/test_public_headers.py --audit-only python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base 3948413d701b093b32a194f5fe5525ea8d5f5079 --head 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4 --json python3 tools/pr_overlap.py --branch refs/review/pr-13274 --jobs 16 ``` ## Results | Check | Result | |---|---| | Diff whitespace and conventions | Passed. | | Public-header audit at exact PR worktree | Passed: 374 libraries and 14,795 exports checked. | | ABI lexical audit | Passed with no findings. | | NID/source/map cross-check | 134 unique declarations; all 134 names and computed NIDs matched the PR's pinned ICU metadata and module map. | | Overlap scan | No duplicate export finding. It could not compare shared files with #12320 and #12738 because those branches conflict with the scan base; the PR description reports separate manual candidate/control comparisons, which I did not reproduce. | | Author-reported Linux validation | GCC 13.3 build and targeted CTest: 6/6 passed. The tests cover existing ICU behavior and do not exercise the new unknown-ABI stubs. | | Hosted CI | Conventions, report, Windows, intake, and eligibility passed. Linux and specialized jobs were skipped; labels were pending at final check. | | Current-main merge preview | Clean. | <details><summary>Unedited local command output</summary> ```text All conventions checks passed. 374 libraries, 14795 exports: unique declarations and umbrella coverage verified ``` `git diff --check` produced no output. ABI audit summary: `status: passed`, `findings: 0`. </details> ## 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 - [Recovered inventory definitions](https://github.com/boykopovar/AnyPS5/blob/4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4/core/libs/prx/libSceIcu/RecoveredInventory.cpp) and [public declarations](https://github.com/boykopovar/AnyPS5/blob/4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4/core/libs/prx/libSceIcu/RecoveredInventory.hpp). - [Pinned firmware 13.60 ICU metadata](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/226383a7fa4b1275d6cebf61eb1c1e7ca7b58bcb/data/firmware-13.60/libsceicu-9790ee85e3.jsonl) and [pinned physical-module NID map](https://github.com/boykopovar/ps5-nid-map/blob/cc1d586fddab576a520f226da6b2632b031e6d09/data/Modules/libSceIcu.inc). ## 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.
MarcZX10 commented 2026-10-30 11:37:49 +00:00 (Migrated from github.com)

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 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f against PR base 3948413d701b093b32a194f5fe5525ea8d5f5079; the stack checker previewed it cleanly on current main e471817c68d4e1b1e44b0ce369ed88bafe4ae8ed. Local environment: Debian 12 x86_64, Python 3.11.2, GCC 12.2.0. I did not build locally.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13274
git diff --check e471817c68d4e1b1e44b0ce369ed88bafe4ae8ed...4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f
python3 tools/check_conventions.py --base e471817c68d4e1b1e44b0ce369ed88bafe4ae8ed --head 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f --title 'feat(icu): add recovered inventory placeholders' --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13274-4a5b2aa4f419/pr-body.md
python3 tools/pr_abi_audit.py --base e471817c68d4e1b1e44b0ce369ed88bafe4ae8ed --head 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f --json
python3 tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13274-4a5b2aa4f419/head-4a5b2aa4f419-e2f0ef2f --json core/libs/prx/libSceIcu/CMakeLists.txt core/libs/prx/libSceIcu/RecoveredInventory.cpp core/libs/prx/libSceIcu/RecoveredInventory.hpp core/libs/prx/libSceIcu/libSceIcu.hpp docs/dev/debt/libSceIcu.md
python3 tools/pr_overlap.py --branch refs/pr/13274 --repo boykopovar/AnyPS5 --jobs 8
gh pr checks 13274 --repo boykopovar/AnyPS5 --watch=false

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

Check Result
Diff and conventions Passed; conventions also passed in hosted CI
ABI audit Passed: 134 symbols, one declaration and definition each, no findings
Pinned inventory and module map All 134 names/NIDs present; no mismatch or module-map omission
Test-quality heuristic No findings; no tests were added for the placeholder exports
Merge preview Clean against current main
Overlap scan No shared added symbol names found with #12320 or #12738; those PRs have base conflicts that prevent full automatic file comparison
Hosted checks Intake, eligibility, labels, report, conventions, and Windows passed; Linux and specialized jobs skipped
Author-reported checks Linux build/headers audit and the listed ICU CTests passed on the stated head; not rerun locally
Observed output
All conventions checks passed.
{'status': 'passed', 'symbol_count': 134, 'findings': []}
{
  "findings": [],
  "negative_control_candidates": [],
  "limits": [
    "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
    "A test that passes against base is not by itself proof that the PR test is inadequate.",
    "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
  ]
}
new exports=134; physical-map omissions=0
conventions pass 19s
labels pass 8s
report pass 53s
windows pass 4m32s
intake pass 6s
eligibility pass 9s
linux skipping
register-context skipping
relinker skipping
relinker-asan skipping
write-watch skipping

Negative control

Assertion Change to code under test Result
The new exports preserve or implement ICU behavior Not claimed by this PR; each placeholder throws Not applicable

Findings

Blocking

None found.

Non-blocking

The parameterless int signatures 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5711663164 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13274#pullrequestreview-5711663164). Originally posted by [MarcZX10](https://github.com/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 `4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f` against PR base `3948413d701b093b32a194f5fe5525ea8d5f5079`; the stack checker previewed it cleanly on current `main` `e471817c68d4e1b1e44b0ce369ed88bafe4ae8ed`. Local environment: Debian 12 x86_64, Python 3.11.2, GCC 12.2.0. I did not build locally. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13274 git diff --check e471817c68d4e1b1e44b0ce369ed88bafe4ae8ed...4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f python3 tools/check_conventions.py --base e471817c68d4e1b1e44b0ce369ed88bafe4ae8ed --head 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f --title 'feat(icu): add recovered inventory placeholders' --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13274-4a5b2aa4f419/pr-body.md python3 tools/pr_abi_audit.py --base e471817c68d4e1b1e44b0ce369ed88bafe4ae8ed --head 4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f --json python3 tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-13274-4a5b2aa4f419/head-4a5b2aa4f419-e2f0ef2f --json core/libs/prx/libSceIcu/CMakeLists.txt core/libs/prx/libSceIcu/RecoveredInventory.cpp core/libs/prx/libSceIcu/RecoveredInventory.hpp core/libs/prx/libSceIcu/libSceIcu.hpp docs/dev/debt/libSceIcu.md python3 tools/pr_overlap.py --branch refs/pr/13274 --repo boykopovar/AnyPS5 --jobs 8 gh pr checks 13274 --repo boykopovar/AnyPS5 --watch=false ``` 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 | Check | Result | |---|---| | Diff and conventions | Passed; conventions also passed in hosted CI | | ABI audit | Passed: 134 symbols, one declaration and definition each, no findings | | Pinned inventory and module map | All 134 names/NIDs present; no mismatch or module-map omission | | Test-quality heuristic | No findings; no tests were added for the placeholder exports | | Merge preview | Clean against current `main` | | Overlap scan | No shared added symbol names found with #12320 or #12738; those PRs have base conflicts that prevent full automatic file comparison | | Hosted checks | Intake, eligibility, labels, report, conventions, and Windows passed; Linux and specialized jobs skipped | | Author-reported checks | Linux build/headers audit and the listed ICU CTests passed on the stated head; not rerun locally | <details><summary>Observed output</summary> ```text All conventions checks passed. {'status': 'passed', 'symbol_count': 134, 'findings': []} { "findings": [], "negative_control_candidates": [], "limits": [ "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.", "A test that passes against base is not by itself proof that the PR test is inadequate.", "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error." ] } new exports=134; physical-map omissions=0 conventions pass 19s labels pass 8s report pass 53s windows pass 4m32s intake pass 6s eligibility pass 9s linux skipping register-context skipping relinker skipping relinker-asan skipping write-watch skipping ``` </details> ## Negative control | Assertion | Change to code under test | Result | |---|---|---| | The new exports preserve or implement ICU behavior | Not claimed by this PR; each placeholder throws | Not applicable | ## Findings ### Blocking None found. ### Non-blocking The parameterless `int` signatures 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 - [Recovered ICU placeholders at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/4a5b2aa4f4199898a40f71fa9a8dbe6af0f22d4f/core/libs/prx/libSceIcu/RecoveredInventory.cpp) - [Pinned PS5 13.60 ICU export inventory](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/226383a7fa4b1275d6cebf61eb1c1e7ca7b58bcb/data/firmware-13.60/libsceicu-9790ee85e3.jsonl) - [Pinned PS5 physical-module map](https://github.com/boykopovar/ps5-nid-map/blob/cc1d586fddab576a520f226da6b2632b031e6d09/data/Modules/libSceIcu.inc) ## 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.
CnRJay commented 2026-11-01 19:59:36 +00:00 (Migrated from github.com)

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 int placeholders that throw via NotImplemented_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.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729955850 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13274#pullrequestreview-5729955850). Originally posted by [CnRJay](https://github.com/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 `int` placeholders that throw via `NotImplemented_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.
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!13274
No description provided.