feat(libSceLibcInternal): construct and destroy _Locinfo and copy _Locimp as base objects #14660

Merged
miguelcoxcaballero merged 4 commits from upstream-pr/14660 into main 2026-11-12 03:10:11 +00:00
miguelcoxcaballero commented 2026-11-01 16:57:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by miguelcoxcaballero on 2026-11-01T16:57:57Z.


The three old stub C symbol names are retired intentionally. Each replacement keeps its original NID; the ABI audit's export-removed warnings refer to the old C symbols, not removed guest exports.

What

Implements three libSceLibcInternal exports that threw NotImplemented:

  • pN02FS5SPgg (_ZNSt8_LocinfoC2EPKc)
  • YXVCU6PdgZk (_ZNSt8_LocinfoD2Ev)
  • dsJKehuajH4 (_ZNSt6locale7_LocimpC2ERKS0_)

They are the base-object (C2/D2) constructor, destructor and copy constructor of classes without virtual bases. The Itanium C++ ABI only separates the complete-object and base-object variants by the virtual bases, so for these classes they do the same work. Each export runs the existing libc export of the C1/D1 name (_ZNSt8_LocinfoC1EPKc, _ZNSt8_LocinfoD1Ev, _ZNSt6locale7_LocimpC1ERKS0_) and keeps its limits: only the C locale is accepted, and the copy shares the source facets. The three stubs, their declarations, two table rows and one stub entry are removed, and a debt entry records what is unverified: the console's libSceLibcInternal.sprx was not read and no title was seen calling them.

Tested

Ubuntu 24.04, GCC, Release, BUILD_TESTING=ON, full build:

  • tools/check_conventions.py --base origin/main passes.
  • New guest_libc_internal_locale_objects: the C2 constructor clears exactly the 64-byte _Locinfo, D2 leaves it untouched, an unknown locale name and null objects throw; the _Locimp copy gets the same vtable as the libc C1 copy, one reference, the source name, categories and transparency, and its own vector holding the source facets, with the source unchanged; null objects throw. It passes, together with guest_locale, guest_libc_internal_aligned_new, guest_libc_internal_mtx, guest_init_once and guest_libc_threads.
  • The patched libSceLibcInternal.prx exports each of the three NIDs once.

Not tested on Windows, macOS or a PS5, nor with any title.

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 (none added)
  • Generic behaviour, not specific to one title
  • Depends on: none (neighbouring lines of the same files as my three other libSceLibcInternal base-object PRs; the four branches merge together cleanly and build)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5109532039 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14660). Originally posted by [miguelcoxcaballero](https://github.com/miguelcoxcaballero) on 2026-11-01T16:57:57Z. --- The three old stub C symbol names are retired intentionally. Each replacement keeps its original NID; the ABI audit's `export-removed` warnings refer to the old C symbols, not removed guest exports. ### What Implements three `libSceLibcInternal` exports that threw `NotImplemented`: - `pN02FS5SPgg` (`_ZNSt8_LocinfoC2EPKc`) - `YXVCU6PdgZk` (`_ZNSt8_LocinfoD2Ev`) - `dsJKehuajH4` (`_ZNSt6locale7_LocimpC2ERKS0_`) They are the base-object (`C2`/`D2`) constructor, destructor and copy constructor of classes without virtual bases. The [Itanium C++ ABI](https://itanium-cxx-abi.github.io/cxx-abi/abi.html#definitions) only separates the complete-object and base-object variants by the virtual bases, so for these classes they do the same work. Each export runs the existing `libc` export of the `C1`/`D1` name (`_ZNSt8_LocinfoC1EPKc`, `_ZNSt8_LocinfoD1Ev`, `_ZNSt6locale7_LocimpC1ERKS0_`) and keeps its limits: only the `C` locale is accepted, and the copy shares the source facets. The three stubs, their declarations, two table rows and one stub entry are removed, and a debt entry records what is unverified: the console's `libSceLibcInternal.sprx` was not read and no title was seen calling them. ### Tested Ubuntu 24.04, GCC, Release, `BUILD_TESTING=ON`, full build: - `tools/check_conventions.py --base origin/main` passes. - New `guest_libc_internal_locale_objects`: the `C2` constructor clears exactly the 64-byte `_Locinfo`, `D2` leaves it untouched, an unknown locale name and null objects throw; the `_Locimp` copy gets the same vtable as the `libc` `C1` copy, one reference, the source name, categories and transparency, and its own vector holding the source facets, with the source unchanged; null objects throw. It passes, together with `guest_locale`, `guest_libc_internal_aligned_new`, `guest_libc_internal_mtx`, `guest_init_once` and `guest_libc_threads`. - The patched `libSceLibcInternal.prx` exports each of the three NIDs once. Not tested on Windows, macOS or a PS5, nor with any title. ### 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](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 (none added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none (neighbouring lines of the same files as my three other `libSceLibcInternal` base-object PRs; the four branches merge together cleanly and build) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
CnRJay commented 2026-11-01 19:48:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:48:48Z.

Review: COMMENTED


Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (Unblocks: none is allowed), and it contained no code review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729920224 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14660#pullrequestreview-5729920224). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-11-01T19:48:48Z. **Review:** COMMENTED --- Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (`Unblocks: none` is allowed), and it contained no code review.
MarcZX10 commented 2026-11-01 21:21:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T21:21:07Z.

Review: COMMENTED


Reviewed — no blocking findings

Three inventory stubs become base-object exports for _Locinfo and _Locimp. Each NID matches the base-object name it implements (C2, D2 and Locimp C2) under the repo's NID tool, and the code calls the complete-object C1/D1 exports that libc defines. For classes without virtual bases, the Itanium ABI makes those the same work, as the debt entry says. The new guest test passed in the hosted Windows CTest run at this head (2595 of 2595 cases, including guest_libc_internal_locale_objects). The ABI audit reports three removed stub names, each keeping its NID. Approval waits for the macOS relinker jobs, which were queued at review time.

What I ran

  • Head a297ba4c37ca880d7f35ee790df5e17d541eb541; base f2d874c1fdccf781c0fa5d86619bb5dd8894b958. 8 files, +150/-21: LocaleObjects.cpp (new), CMakeLists.txt, InventoryExports.cpp (two stubs removed), InventoryExports6.cpp (one stub removed), include/Api.hpp, include/InventoryExports.hpp, tests/GuestLibcInternalLocaleObjects.cpp (new) and docs/dev/debt/libSceLibcInternal.md.
  • NIDs with tools/nid_names.py: _ZNSt8_LocinfoC2EPKc = pN02FS5SPgg, _ZNSt8_LocinfoD2Ev = YXVCU6PdgZk, _ZNSt6locale7_LocimpC2ERKS0_ = dsJKehuajH4. These are the NIDs of the three new exports, and of the three stubs they replace.
  • Callees: LocaleSupport.cpp defines _ZNSt8_LocinfoC1EPKc (line 780), _ZNSt8_LocinfoD1Ev (line 785) and _ZNSt6locale7_LocimpC1ERKS0_ (line 876). The new exports call those names.
  • Manual ABI audit: passed_with_warnings, 539 symbols; three export-removed findings for the replaced stubs (libSceLibcInternalInventory_080, libSceLibcInternalInventory_141, sceLibcInternalUnknown6_048), each with its NID kept.
  • Test assertions read: the C2 constructor clears only the 64-byte object, the D2 destructor leaves storage alone, an unsupported locale name and null arguments are rejected, the copy keeps facets, categories and name, shares the source facets, and rejects null.
  • Precheck: diff check, conventions and PR template, and the live stack check passed; the ABI audit row failed on a missing helper (replaced by the manual run).
  • Hosted: the windows CTest run passed 2595 of 2595 cases, including guest_libc_internal_locale_objects (Test #2288).
  • No MarcZX10 review at this head.

Results

Check Result Note
Diff check passed
Conventions and PR template passed precheck and hosted conventions passed
Mergeability and dependencies passed depends on none; the live stack check passed
NIDs of the three exports passed pN02FS5SPgg, YXVCU6PdgZk, dsJKehuajH4 match the C2, D2 and Locimp C2 names
Callees defined in libc passed C1, D1 and Locimp C1 defined in LocaleSupport.cpp
Test assertions passed read; they follow the copy and null rules in the code
Removed stubs and NIDs passed same NIDs; ABI audit warnings expected
New guest test (hosted) passed guest_libc_internal_locale_objects passed in the windows CTest run
Console behaviour not verified the debt entry says the console library was not read
Build and runtime tests (Linux) not run no local build
Negative controls not run no local build
Hosted CI not complete windows passed; macOS relinker jobs queued; linux, register-context and write-watch skipped
Commands and unedited precheck output

Commands:

  • Precheck: python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14660 --output-dir <scratch>/precheck/14660p (report.md in that directory).
  • Head fetched by URL (objects only): git fetch https://github.com/boykopovar/AnyPS5.git pull/14660/head.
  • Manual ABI run: python3 tools/pr_abi_audit.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head a297ba4c37ca880d7f35ee790df5e17d541eb541 --json.
  • NID check: tools/nid_names.py compute_nid on the six names above.
  • Hosted checks: gh api repos/boykopovar/AnyPS5/commits/a297ba4c37ca880d7f35ee790df5e17d541eb541/check-runs; Windows CTest: 100% tests passed, 0 tests failed out of 2595.

Precheck table (unedited):

Check Status Command / reason
build_and_compile not_applicable The precheck deliberately does not configure, build, or compile AnyPS5.
diff_check passed git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...a297ba4c37ca880d7f35ee790df5e17d541eb541
conventions_and_pr_template passed /marc/DeusMachina_0x1914/.venv/bin/python3 tools/check_conventions.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head a297ba4c37ca880d7f35ee790df5e17d541eb541 --title feat(libSceLibcInternal): construct and destroy _Locinfo and copy _Locimp as base objects --body /dev/shm/reviewer-run/precheck/14660p/pr-body.md
changed_export_abi_audit failed /marc/DeusMachina_0x1914/.venv/bin/python3 tools/pr_abi_audit.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head a297ba4c37ca880d7f35ee790df5e17d541eb541 --json
python_syntax not_applicable No changed Python implementation files.
related_python_unit_tests not_applicable No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.
python_test_registration not_applicable No changed test_*.py files.
live_dependency_and_mergeability_check passed /marc/DeusMachina_0x1914/.venv/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 14660 --repo boykopovar/AnyPS5 --output-dir /dev/shm/reviewer-run/precheck/14660p/stack
build_dependent_cpp_tests not_applicable Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build.
test_quality_heuristics failed /marc/DeusMachina_0x1914/.venv/bin/python3 /dev/shm/reviewer-run/precheck/14660p/head-a297ba4c37ca-1f5c1206/tools/pr_test_quality.py --root /dev/shm/reviewer-run/precheck/14660p/head-a297ba4c37ca-1f5c1206 --json core/libs/prx/libSceLibcInternal/CMakeLists.txt core/libs/prx/libSceLibcInternal/InventoryExports.cpp core/libs/prx/libSceLibcInternal/InventoryExports6.cpp core/libs/prx/libSceLibcInternal/LocaleObjects.cpp core/libs/prx/libSceLibcInternal/include/Api.hpp core/libs/prx/libSceLibcInternal/include/InventoryExports.hpp core/libs/tests/GuestLibcInternalLocaleObjects.cpp docs/dev/debt/libSceLibcInternal.md
negative_controls not_applicable No changed Python test module in tools/ can be run as a no-build base-source control.

Negative control

Not run here. The test needs a build of the Linux host.

Findings

Blocking

None.

Non-blocking

  • The debt entry's sentence "so they run the libc exports of those names" is ambiguous: the NIDs are the C2, D2 and Locimp C2 names, while the code runs the C1, D1 and Locimp C1 exports. Please name both in the entry, as the other entries in this file do.
  • The ABI audit's three export-removed warnings are expected, since each NID is kept. Please say in the PR body that the stub names are retired on purpose.

Sources

Not verified

  • The console's libSceLibcInternal was not read, as the debt entry says.
  • The macOS relinker jobs had not finished at review time.

To get this to a good state

  • Nothing blocking. Approval waits for the macOS relinker jobs on this head. The two optional notes above are for the debt wording and the PR body.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5730328042 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14660#pullrequestreview-5730328042). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T21:21:07Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Three inventory stubs become base-object exports for `_Locinfo` and `_Locimp`. Each NID matches the base-object name it implements (`C2`, `D2` and `Locimp C2`) under the repo's NID tool, and the code calls the complete-object `C1`/`D1` exports that libc defines. For classes without virtual bases, the Itanium ABI makes those the same work, as the debt entry says. The new guest test passed in the hosted Windows CTest run at this head (2595 of 2595 cases, including `guest_libc_internal_locale_objects`). The ABI audit reports three removed stub names, each keeping its NID. Approval waits for the macOS relinker jobs, which were queued at review time. ## What I ran - Head `a297ba4c37ca880d7f35ee790df5e17d541eb541`; base `f2d874c1fdccf781c0fa5d86619bb5dd8894b958`. 8 files, +150/-21: `LocaleObjects.cpp` (new), `CMakeLists.txt`, `InventoryExports.cpp` (two stubs removed), `InventoryExports6.cpp` (one stub removed), `include/Api.hpp`, `include/InventoryExports.hpp`, `tests/GuestLibcInternalLocaleObjects.cpp` (new) and `docs/dev/debt/libSceLibcInternal.md`. - NIDs with `tools/nid_names.py`: `_ZNSt8_LocinfoC2EPKc` = `pN02FS5SPgg`, `_ZNSt8_LocinfoD2Ev` = `YXVCU6PdgZk`, `_ZNSt6locale7_LocimpC2ERKS0_` = `dsJKehuajH4`. These are the NIDs of the three new exports, and of the three stubs they replace. - Callees: `LocaleSupport.cpp` defines `_ZNSt8_LocinfoC1EPKc` (line 780), `_ZNSt8_LocinfoD1Ev` (line 785) and `_ZNSt6locale7_LocimpC1ERKS0_` (line 876). The new exports call those names. - Manual ABI audit: `passed_with_warnings`, 539 symbols; three `export-removed` findings for the replaced stubs (`libSceLibcInternalInventory_080`, `libSceLibcInternalInventory_141`, `sceLibcInternalUnknown6_048`), each with its NID kept. - Test assertions read: the C2 constructor clears only the 64-byte object, the D2 destructor leaves storage alone, an unsupported locale name and null arguments are rejected, the copy keeps facets, categories and name, shares the source facets, and rejects null. - Precheck: diff check, conventions and PR template, and the live stack check passed; the ABI audit row failed on a missing helper (replaced by the manual run). - Hosted: the windows CTest run passed 2595 of 2595 cases, including `guest_libc_internal_locale_objects` (Test #2288). - No MarcZX10 review at this head. ## Results | Check | Result | Note | | --- | --- | --- | | Diff check | passed | | | Conventions and PR template | passed | precheck and hosted conventions passed | | Mergeability and dependencies | passed | depends on none; the live stack check passed | | NIDs of the three exports | passed | `pN02FS5SPgg`, `YXVCU6PdgZk`, `dsJKehuajH4` match the C2, D2 and Locimp C2 names | | Callees defined in libc | passed | C1, D1 and Locimp C1 defined in `LocaleSupport.cpp` | | Test assertions | passed | read; they follow the copy and null rules in the code | | Removed stubs and NIDs | passed | same NIDs; ABI audit warnings expected | | New guest test (hosted) | passed | `guest_libc_internal_locale_objects` passed in the windows CTest run | | Console behaviour | not verified | the debt entry says the console library was not read | | Build and runtime tests (Linux) | not run | no local build | | Negative controls | not run | no local build | | Hosted CI | not complete | windows passed; macOS relinker jobs queued; linux, register-context and write-watch skipped | <details><summary>Commands and unedited precheck output</summary> Commands: - Precheck: `python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14660 --output-dir <scratch>/precheck/14660p` (report.md in that directory). - Head fetched by URL (objects only): `git fetch https://github.com/boykopovar/AnyPS5.git pull/14660/head`. - Manual ABI run: `python3 tools/pr_abi_audit.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head a297ba4c37ca880d7f35ee790df5e17d541eb541 --json`. - NID check: `tools/nid_names.py` `compute_nid` on the six names above. - Hosted checks: `gh api repos/boykopovar/AnyPS5/commits/a297ba4c37ca880d7f35ee790df5e17d541eb541/check-runs`; Windows CTest: `100% tests passed, 0 tests failed out of 2595`. Precheck table (unedited): | Check | Status | Command / reason | |---|---|---| | build_and_compile | not_applicable | `The precheck deliberately does not configure, build, or compile AnyPS5.` | | diff_check | passed | `git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...a297ba4c37ca880d7f35ee790df5e17d541eb541` | | conventions_and_pr_template | passed | `/marc/DeusMachina_0x1914/.venv/bin/python3 tools/check_conventions.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head a297ba4c37ca880d7f35ee790df5e17d541eb541 --title feat(libSceLibcInternal): construct and destroy _Locinfo and copy _Locimp as base objects --body /dev/shm/reviewer-run/precheck/14660p/pr-body.md` | | changed_export_abi_audit | failed | `/marc/DeusMachina_0x1914/.venv/bin/python3 tools/pr_abi_audit.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head a297ba4c37ca880d7f35ee790df5e17d541eb541 --json` | | python_syntax | not_applicable | `No changed Python implementation files.` | | related_python_unit_tests | not_applicable | `No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.` | | python_test_registration | not_applicable | `No changed test_*.py files.` | | live_dependency_and_mergeability_check | passed | `/marc/DeusMachina_0x1914/.venv/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 14660 --repo boykopovar/AnyPS5 --output-dir /dev/shm/reviewer-run/precheck/14660p/stack` | | build_dependent_cpp_tests | not_applicable | `Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build.` | | test_quality_heuristics | failed | `/marc/DeusMachina_0x1914/.venv/bin/python3 /dev/shm/reviewer-run/precheck/14660p/head-a297ba4c37ca-1f5c1206/tools/pr_test_quality.py --root /dev/shm/reviewer-run/precheck/14660p/head-a297ba4c37ca-1f5c1206 --json core/libs/prx/libSceLibcInternal/CMakeLists.txt core/libs/prx/libSceLibcInternal/InventoryExports.cpp core/libs/prx/libSceLibcInternal/InventoryExports6.cpp core/libs/prx/libSceLibcInternal/LocaleObjects.cpp core/libs/prx/libSceLibcInternal/include/Api.hpp core/libs/prx/libSceLibcInternal/include/InventoryExports.hpp core/libs/tests/GuestLibcInternalLocaleObjects.cpp docs/dev/debt/libSceLibcInternal.md` | | negative_controls | not_applicable | `No changed Python test module in tools/ can be run as a no-build base-source control.` | </details> ## Negative control Not run here. The test needs a build of the Linux host. ## Findings **Blocking** None. **Non-blocking** - The debt entry's sentence "so they run the `libc` exports of those names" is ambiguous: the NIDs are the `C2`, `D2` and `Locimp C2` names, while the code runs the `C1`, `D1` and `Locimp C1` exports. Please name both in the entry, as the other entries in this file do. - The ABI audit's three `export-removed` warnings are expected, since each NID is kept. Please say in the PR body that the stub names are retired on purpose. ## Sources - New exports: https://github.com/boykopovar/AnyPS5/blob/a297ba4c37ca880d7f35ee790df5e17d541eb541/core/libs/prx/libSceLibcInternal/LocaleObjects.cpp - New test: https://github.com/boykopovar/AnyPS5/blob/a297ba4c37ca880d7f35ee790df5e17d541eb541/core/libs/tests/GuestLibcInternalLocaleObjects.cpp - libc callees: https://github.com/boykopovar/AnyPS5/blob/f2d874c1fdccf781c0fa5d86619bb5dd8894b958/core/libs/prx/libc/src/LocaleSupport.cpp#L780-L790 and #L876 - Debt entry: https://github.com/boykopovar/AnyPS5/blob/a297ba4c37ca880d7f35ee790df5e17d541eb541/docs/dev/debt/libSceLibcInternal.md ## Not verified - The console's `libSceLibcInternal` was not read, as the debt entry says. - The macOS relinker jobs had not finished at review time. ## To get this to a good state - Nothing blocking. Approval waits for the macOS relinker jobs on this head. The two optional notes above are for the debt wording and the PR body.
MarcZX10 commented 2026-11-02 05:10:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T05:10:38Z.

Review: COMMENTED


Reviewed — no blocking findings

This is a re-review at the current head. The head moved from a297ba4c37 only to name the libc C1 and D1 exports that the code calls in the debt entry, which was my earlier non-blocking point. The production code and the tests are unchanged. The hosted Windows CTest run passed at this head (2590 of 2590 cases, including guest_libc_internal_locale_objects).

What I ran

  • Head 71b2057767cd497b5e1e516d5bc37b1dd4e6873c; base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 (unchanged). The diff against the earlier head a297ba4c37 is one line in docs/dev/debt/libSceLibcInternal.md.
  • Read the full PR diff at this head: LocaleObjects.cpp (three exports), the declarations, the CMake registration, the removed stubs and the test.
  • NIDs: pN02FS5SPgg, YXVCU6PdgZk and dsJKehuajH4 match the C2, D2 and Locimp C2 names (checked earlier with tools/nid_names.py, unchanged).
  • Read-only checks from the trusted main checkout (precheck not run: no PR-head code is run here): diff check and conventions passed; the ABI audit reported passed_with_warnings with the three export-removed findings for the replaced stubs.
  • Hosted: the windows CTest run passed 2590 of 2590 cases; guest_libc_internal_locale_objects is Passed.
  • No MarcZX10 review at this head.

Results

Check Result Note
Diff check passed
Conventions and PR template passed conventions check from the main checkout
Mergeability and dependencies passed depends on none; the stack check passed
Debt entry names the C1 and D1 exports the code calls passed the earlier non-blocking point is addressed
NIDs of the three exports passed unchanged from the earlier review
Removed stubs and NIDs passed same NIDs; ABI audit warnings expected
guest_libc_internal_locale_objects (hosted) passed Passed in the windows CTest run
ABI audit (main-checkout tool) passed with warnings three export-removed findings for the replaced stubs
Build and runtime tests (Linux) not run no local build
Negative controls not run no local build
Hosted CI passed windows passed (2590/2590); linux and relinkers skipped
Read-only check output

Precheck was not run: no PR-head code is run here. ABI audit: passed_with_warnings; findings are the three export-removed entries for the stubs replaced in this PR. Hosted: gh api repos/boykopovar/AnyPS5/commits/71b2057767cd497b5e1e516d5bc37b1dd4e6873c/check-runs.

Negative control

Not run here. A negative control needs a build, and code from this head is not run here.

Findings

Blocking

None.

Non-blocking

  • The ABI audit's three export-removed warnings are expected, since each NID is kept. The PR body should say the stub names are retired on purpose.

Sources

Not verified

  • The console's libSceLibcInternal was not read, as the debt entry says.
  • The macOS relinker jobs were not checked at this head.

To get this to a good state

  • Nothing blocking. The optional note in the PR body is above.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5732324557 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14660#pullrequestreview-5732324557). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-02T05:10:38Z. **Review:** COMMENTED --- # Reviewed — no blocking findings This is a re-review at the current head. The head moved from `a297ba4c37` only to name the libc `C1` and `D1` exports that the code calls in the debt entry, which was my earlier non-blocking point. The production code and the tests are unchanged. The hosted Windows CTest run passed at this head (2590 of 2590 cases, including `guest_libc_internal_locale_objects`). ## What I ran - Head `71b2057767cd497b5e1e516d5bc37b1dd4e6873c`; base `f2d874c1fdccf781c0fa5d86619bb5dd8894b958` (unchanged). The diff against the earlier head `a297ba4c37` is one line in `docs/dev/debt/libSceLibcInternal.md`. - Read the full PR diff at this head: `LocaleObjects.cpp` (three exports), the declarations, the CMake registration, the removed stubs and the test. - NIDs: `pN02FS5SPgg`, `YXVCU6PdgZk` and `dsJKehuajH4` match the C2, D2 and Locimp C2 names (checked earlier with `tools/nid_names.py`, unchanged). - Read-only checks from the trusted main checkout (precheck not run: no PR-head code is run here): diff check and conventions passed; the ABI audit reported `passed_with_warnings` with the three `export-removed` findings for the replaced stubs. - Hosted: the windows CTest run passed 2590 of 2590 cases; `guest_libc_internal_locale_objects` is Passed. - No MarcZX10 review at this head. ## Results | Check | Result | Note | | --- | --- | --- | | Diff check | passed | | | Conventions and PR template | passed | conventions check from the main checkout | | Mergeability and dependencies | passed | depends on none; the stack check passed | | Debt entry names the C1 and D1 exports the code calls | passed | the earlier non-blocking point is addressed | | NIDs of the three exports | passed | unchanged from the earlier review | | Removed stubs and NIDs | passed | same NIDs; ABI audit warnings expected | | `guest_libc_internal_locale_objects` (hosted) | passed | Passed in the windows CTest run | | ABI audit (main-checkout tool) | passed with warnings | three `export-removed` findings for the replaced stubs | | Build and runtime tests (Linux) | not run | no local build | | Negative controls | not run | no local build | | Hosted CI | passed | windows passed (2590/2590); linux and relinkers skipped | <details><summary>Read-only check output</summary> Precheck was not run: no PR-head code is run here. ABI audit: `passed_with_warnings`; findings are the three `export-removed` entries for the stubs replaced in this PR. Hosted: `gh api repos/boykopovar/AnyPS5/commits/71b2057767cd497b5e1e516d5bc37b1dd4e6873c/check-runs`. </details> ## Negative control Not run here. A negative control needs a build, and code from this head is not run here. ## Findings **Blocking** None. **Non-blocking** - The ABI audit's three `export-removed` warnings are expected, since each NID is kept. The PR body should say the stub names are retired on purpose. ## Sources - New exports: https://github.com/boykopovar/AnyPS5/blob/71b2057767cd497b5e1e516d5bc37b1dd4e6873c/core/libs/prx/libSceLibcInternal/LocaleObjects.cpp - Debt entry: https://github.com/boykopovar/AnyPS5/blob/71b2057767cd497b5e1e516d5bc37b1dd4e6873c/docs/dev/debt/libSceLibcInternal.md - Test: https://github.com/boykopovar/AnyPS5/blob/71b2057767cd497b5e1e516d5bc37b1dd4e6873c/core/libs/tests/GuestLibcInternalLocaleObjects.cpp ## Not verified - The console's `libSceLibcInternal` was not read, as the debt entry says. - The macOS relinker jobs were not checked at this head. ## To get this to a good state - Nothing blocking. The optional note in the PR body is above.
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!14660
No description provided.