feat(libSceLibcInternal): implement the time_get<char> and time_get<wchar_t> members #16005

Merged
B-Howell merged 3 commits from upstream-pr/16005 into main 2026-11-09 05:49:51 +00:00
B-Howell commented 2026-11-05 08:53:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by B-Howell on 2026-11-05T08:53:21Z.


What

The seven public members of time_get<char, istreambuf_iterator<char>> and the seven of time_get<wchar_t, istreambuf_iterator<wchar_t>> in libSceLibcInternal threw from the Pending4 placeholders in Export.cpp. They now return their do_ member through the facet's own vtable.

Member Slot char NID (was) wchar_t NID (was)
date_order() 0x20 ShlQcYrzRF8 (Pending4_035) nc6OsiDx630 (Pending4_051)
get_time 0x28 rrqNi95bhMs (Pending4_049) 9TfGnN6xq-U (Pending4_066)
get_date 0x30 OY5mqEBxP+8 (Pending4_048) kwp-0uidHpw (Pending4_065)
get_weekday 0x38 KwJ5V3D0v3A (Pending4_039) A0PftWMfrhk (Pending4_055)
get_monthname 0x40 vvA7HtdtWnY (Pending4_041) xy0MR+OOZI8 (Pending4_057)
get_year 0x48 5L5Aft+9nZU (Pending4_050) Krt-A7EnHHs (Pending4_067)
get(first, last, ios, err, tm*, char format, char modifier) 0x50 +RuThw5axA4 (Pending4_044) 64pqofAwJEg (Pending4_061)

Each NID matches tools/nid_names.py compute_nid of its mangled name, for example _ZNKSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE10date_orderEv gives ShlQcYrzRF8 and _ZNKSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE3getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateEP2tmcc gives 64pqofAwJEg. All 14 were checked.

Where the behaviour comes from:

  • [locale.time.get.members]: each member returns its do_ member with the same arguments. The first microsoft/STL commit does the same (xloctime L53-L85), for example return do_get(_First, _Last, _Iosbase, _State, _Pt, _Specifier, _Modifier);.
  • The slots are the declaration order of the seven virtuals in xloctime L201-L367 (do_date_order, do_get_time, do_get_date, do_get_weekday, do_get_monthname, do_get_year, do_get), after the four FacetVtable slots. time_base derives from locale::facet and adds no virtual (xloctime L23-L35). Here the standard synopsis and microsoft/STL agree. With offset-to-top and RTTI this gives the 13 entries libc already declares for _ZTVSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE and _ZTVSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE. The console's libSceLibcInternal.sprx was not read, so the slots are not confirmed on the console.
  • The forwarder calls the slot in the vtable of the facet it is given, so a derived facet's override is reached.

Changes:

  • GuestLocale.hpp: new GuestLocale::InputIterator, an opaque, trivially copyable 16-byte value for istreambuf_iterator, with static_asserts on its size and triviality. Nothing reads its fields. istreambuf_iterator<char> and istreambuf_iterator<wchar_t> are both 16 bytes (_Strbuf, _Got, _Val in streambuf L519-L521) with no user-declared copy constructor or destructor, so they are passed and returned in two integer registers like this struct.
  • GuestLocale.hpp: new GuestLocale::TimeGetVtable with static_asserts on all seven slot offsets (0x20 to 0x50) and the size (0x58). ios_base::iostate& is _Iosb<int>::_Iostate& in the mangled names and is passed as std::int32_t*; dateorder is returned as std::int32_t; format and modifier are char for both character types, as the mangled cc says.
  • New TimeGet.cpp with the 14 forwarders, and the 14 placeholders removed from Export.cpp.
  • docs/dev/debt/libSceLibcInternal.md: the 14 per-NID "prototype and behavior are unverified" entries are removed and one entry records what is still open.

The InputIterator block in GuestLocale.hpp (and its <type_traits> include) is byte-for-byte the block of the num_get and money_get/money_put PRs from the same batch, at the same place, so the three merge in any order. git merge-tree --write-tree of each pair, of all three, and of each against main is clean, and the merged header has one InputIterator.

Still not done:

  • Neither libc nor libSceLibcInternal builds a time_get facet or implements its do_ members, so today these calls reach only a facet the title provides. The do_ members, _Getfmt, _Getint, the pattern overload get(..., const char_type* first, const char_type* last) (it reads the stream buffer itself) and the rest of the facet still throw.
  • No title was seen calling these exports.

Tested

No title was run. I added the guest test guest_libc_internal_time_get (core/libs/tests/GuestLibcInternalTimeGet.cpp). It loads libSceLibcInternal, calls each of the 14 exports with a facet whose vtable records every call, and checks:

  • each of the 14 exports calls its own do_ slot exactly once (every slot records a different index, so a wrong slot order fails);
  • the facet, both 16-byte iterators word for word, the stream, the state pointer and the tm pointer arrive unchanged, and get passes format and modifier (checked with 'Y'/'E' and 'x'/'');
  • the member returns the iterator its do_ member returns and leaves the state it wrote; date_order returns the do_date_order result;
  • with a second vtable standing in for a derived facet, every export reaches the derived slot.
    The header static_asserts pin every slot offset (0x20 to 0x50) and the size.

Results:

  • Windows 11, WinLibs GCC 15.2.0 (MinGW), Release: ctest -R '^guest_libc_internal_time_get$' passed 3 of 3 runs (1/1 each), and once more after the negative-control restore. public_headers passed.
  • Linux, WSL Ubuntu 22.04, GCC 11.4.0, Release: a fresh clone of b11c7bf84f with this commit applied (git write-tree equal to the commit's tree) passed ctest -R '^(guest_libc_internal_time_get|public_headers)$' 3 of 3 runs (2/2 each), and 1 of 1 after the restore.
  • Negative control: with main's Export.cpp put back and TimeGet.cpp emptied, keeping the new test, the test fails on both hosts with sceLibcInternalPending4_035_nid_no_patch not implemented (Windows exit code 0xc0000409, Linux subprocess aborted).
  • Conventions: python3 tools/check_conventions.py --base origin/main with this title and body: "All conventions checks passed."
  • Progress at original submission: tools/progress.py collect_libraries() for libSceLibcInternal: done 92 to 106 (+14), todo 1045 to 1031. Overall done 9921 to 9935 of 37146; the total does not change, so no new todo.
  • Overlap: python3 tools/pr_overlap.py --branch feat/r4-time-get-members failed closed. It reported no PR with the same exports or new files. Line conflicts are neighbours only: #10392, #14664 and #14836 at debt line 342, #15577 and #15657 at CMakeLists.txt line 61, and our own #15715 at Export.cpp L402-431 (its Pending4_068 and later removals sit right after this PR's Pending4_065-067). Whichever lands second rebases. It could not compare 8 PRs that conflict with main: #5021, #13486, #13778, #13782, #14212, #14401, #14837 and #14936. I grepped the added and removed lines of every file patch of each one (from the REST files API; for #14212's docs/dev/debt/libSceLibcInternal.md, whose patch the API omits, git diff of the fetched PR head against its merge base) for the 44 NIDs of this batch, the Pending3_055-065, Pending3_080-090 and Pending4 stub names it removes, the num_get/time_get/money_get/money_put member mangled names, InputIterator, NumGetVtable, TimeGetVtable, MoneyGetVtable, MoneyPutVtable and the new file names. None has a match. The added and removed lines of #10392, #14664, #14836, #15577, #15657 and #15715 have no match either.

Independent test evidence

  • Windows check on 55a3c7fd14: guest_libc_internal_time_get passed 3/3.
  • Linux review run on the same head: the build passed and 1,255 tests passed with no failures among those that ran. Another 1,429 could not run on that CPU.

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

Supersedes #15789, which the open-PR limit closed; same branch and head.

Main merge, 2026-11-06 (78bf5fc0e4): Resolved the conflict in the libcInternal debt notes. Windows and WSL each passed time_get 3/3, numpunct 3/3, and public headers 65/65. The older test reports remain linked above with their tested heads.

Pinned collector delta for 78bf5fc0e4ba over main 9ade3ed806b4: System libraries are 30.45% (+0.04 percentage points; 14 implemented, 14 removed). libSceLibcInternal increased from 124/1141 (10.87%) to 138/1141 (12.09%), a 1.23-point increase. The hosted GitHub Build workflow run #60518 succeeded on this exact head.

🤖 Generated with Claude Code

🤖 Updated with Codex

🤖 Generated with Codex

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5168780272 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16005). Originally posted by [B-Howell](https://github.com/B-Howell) on 2026-11-05T08:53:21Z. --- ### What The seven public members of `time_get<char, istreambuf_iterator<char>>` and the seven of `time_get<wchar_t, istreambuf_iterator<wchar_t>>` in libSceLibcInternal threw from the `Pending4` placeholders in `Export.cpp`. They now return their `do_` member through the facet's own vtable. | Member | Slot | `char` NID (was) | `wchar_t` NID (was) | |---|---|---|---| | `date_order()` | 0x20 | `ShlQcYrzRF8` (`Pending4_035`) | `nc6OsiDx630` (`Pending4_051`) | | `get_time` | 0x28 | `rrqNi95bhMs` (`Pending4_049`) | `9TfGnN6xq-U` (`Pending4_066`) | | `get_date` | 0x30 | `OY5mqEBxP+8` (`Pending4_048`) | `kwp-0uidHpw` (`Pending4_065`) | | `get_weekday` | 0x38 | `KwJ5V3D0v3A` (`Pending4_039`) | `A0PftWMfrhk` (`Pending4_055`) | | `get_monthname` | 0x40 | `vvA7HtdtWnY` (`Pending4_041`) | `xy0MR+OOZI8` (`Pending4_057`) | | `get_year` | 0x48 | `5L5Aft+9nZU` (`Pending4_050`) | `Krt-A7EnHHs` (`Pending4_067`) | | `get(first, last, ios, err, tm*, char format, char modifier)` | 0x50 | `+RuThw5axA4` (`Pending4_044`) | `64pqofAwJEg` (`Pending4_061`) | Each NID matches `tools/nid_names.py` `compute_nid` of its mangled name, for example `_ZNKSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE10date_orderEv` gives `ShlQcYrzRF8` and `_ZNKSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE3getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateEP2tmcc` gives `64pqofAwJEg`. All 14 were checked. Where the behaviour comes from: - [locale.time.get.members]: each member returns its `do_` member with the same arguments. The first microsoft/STL commit does the same ([xloctime L53-L85](https://github.com/microsoft/STL/blob/219514876ea86491de191ceaa88632616bbc0f19/stl/inc/xloctime#L53-L85)), for example `return do_get(_First, _Last, _Iosbase, _State, _Pt, _Specifier, _Modifier);`. - The slots are the declaration order of the seven virtuals in [xloctime L201-L367](https://github.com/microsoft/STL/blob/219514876ea86491de191ceaa88632616bbc0f19/stl/inc/xloctime#L201-L367) (`do_date_order`, `do_get_time`, `do_get_date`, `do_get_weekday`, `do_get_monthname`, `do_get_year`, `do_get`), after the four `FacetVtable` slots. `time_base` derives from `locale::facet` and adds no virtual ([xloctime L23-L35](https://github.com/microsoft/STL/blob/219514876ea86491de191ceaa88632616bbc0f19/stl/inc/xloctime#L23-L35)). Here the standard synopsis and microsoft/STL agree. With offset-to-top and RTTI this gives the 13 entries libc already declares for `_ZTVSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE` and `_ZTVSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE`. The console's `libSceLibcInternal.sprx` was not read, so the slots are not confirmed on the console. - The forwarder calls the slot in the vtable of the facet it is given, so a derived facet's override is reached. Changes: - `GuestLocale.hpp`: new `GuestLocale::InputIterator`, an opaque, trivially copyable 16-byte value for `istreambuf_iterator`, with `static_assert`s on its size and triviality. Nothing reads its fields. `istreambuf_iterator<char>` and `istreambuf_iterator<wchar_t>` are both 16 bytes (`_Strbuf`, `_Got`, `_Val` in [streambuf L519-L521](https://github.com/microsoft/STL/blob/219514876ea86491de191ceaa88632616bbc0f19/stl/inc/streambuf#L519-L521)) with no user-declared copy constructor or destructor, so they are passed and returned in two integer registers like this struct. - `GuestLocale.hpp`: new `GuestLocale::TimeGetVtable` with `static_assert`s on all seven slot offsets (0x20 to 0x50) and the size (0x58). `ios_base::iostate&` is `_Iosb<int>::_Iostate&` in the mangled names and is passed as `std::int32_t*`; `dateorder` is returned as `std::int32_t`; `format` and `modifier` are `char` for both character types, as the mangled `cc` says. - New `TimeGet.cpp` with the 14 forwarders, and the 14 placeholders removed from `Export.cpp`. - `docs/dev/debt/libSceLibcInternal.md`: the 14 per-NID "prototype and behavior are unverified" entries are removed and one entry records what is still open. The `InputIterator` block in `GuestLocale.hpp` (and its `<type_traits>` include) is byte-for-byte the block of the `num_get` and `money_get`/`money_put` PRs from the same batch, at the same place, so the three merge in any order. `git merge-tree --write-tree` of each pair, of all three, and of each against `main` is clean, and the merged header has one `InputIterator`. Still not done: - Neither libc nor libSceLibcInternal builds a `time_get` facet or implements its `do_` members, so today these calls reach only a facet the title provides. The `do_` members, `_Getfmt`, `_Getint`, the pattern overload `get(..., const char_type* first, const char_type* last)` (it reads the stream buffer itself) and the rest of the facet still throw. - No title was seen calling these exports. ### 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. --> No title was run. I added the guest test `guest_libc_internal_time_get` (`core/libs/tests/GuestLibcInternalTimeGet.cpp`). It loads `libSceLibcInternal`, calls each of the 14 exports with a facet whose vtable records every call, and checks: - each of the 14 exports calls its own `do_` slot exactly once (every slot records a different index, so a wrong slot order fails); - the facet, both 16-byte iterators word for word, the stream, the state pointer and the `tm` pointer arrive unchanged, and `get` passes `format` and `modifier` (checked with `'Y'`/`'E'` and `'x'`/`''`); - the member returns the iterator its `do_` member returns and leaves the state it wrote; `date_order` returns the `do_date_order` result; - with a second vtable standing in for a derived facet, every export reaches the derived slot. The header `static_assert`s pin every slot offset (0x20 to 0x50) and the size. Results: - **Windows 11, WinLibs GCC 15.2.0 (MinGW), Release:** `ctest -R '^guest_libc_internal_time_get$'` passed 3 of 3 runs (1/1 each), and once more after the negative-control restore. `public_headers` passed. - **Linux, WSL Ubuntu 22.04, GCC 11.4.0, Release:** a fresh clone of `b11c7bf84f` with this commit applied (`git write-tree` equal to the commit's tree) passed `ctest -R '^(guest_libc_internal_time_get|public_headers)$'` 3 of 3 runs (2/2 each), and 1 of 1 after the restore. - **Negative control:** with main's `Export.cpp` put back and `TimeGet.cpp` emptied, keeping the new test, the test fails on both hosts with `sceLibcInternalPending4_035_nid_no_patch not implemented` (Windows exit code 0xc0000409, Linux subprocess aborted). - **Conventions:** `python3 tools/check_conventions.py --base origin/main` with this title and body: "All conventions checks passed." - **Progress at original submission:** `tools/progress.py` `collect_libraries()` for libSceLibcInternal: done 92 to 106 (+14), todo 1045 to 1031. Overall done 9921 to 9935 of 37146; the total does not change, so no new todo. - **Overlap:** `python3 tools/pr_overlap.py --branch feat/r4-time-get-members` failed closed. It reported no PR with the same exports or new files. Line conflicts are neighbours only: #10392, #14664 and #14836 at debt line 342, #15577 and #15657 at `CMakeLists.txt` line 61, and our own #15715 at `Export.cpp` L402-431 (its `Pending4_068` and later removals sit right after this PR's `Pending4_065`-`067`). Whichever lands second rebases. It could not compare 8 PRs that conflict with main: #5021, #13486, #13778, #13782, #14212, #14401, #14837 and #14936. I grepped the added and removed lines of every file patch of each one (from the REST files API; for #14212's `docs/dev/debt/libSceLibcInternal.md`, whose patch the API omits, `git diff` of the fetched PR head against its merge base) for the 44 NIDs of this batch, the `Pending3_055`-`065`, `Pending3_080`-`090` and `Pending4` stub names it removes, the `num_get`/`time_get`/`money_get`/`money_put` member mangled names, `InputIterator`, `NumGetVtable`, `TimeGetVtable`, `MoneyGetVtable`, `MoneyPutVtable` and the new file names. None has a match. The added and removed lines of #10392, #14664, #14836, #15577, #15657 and #15715 have no match either. #### Independent test evidence - [Windows check](https://github.com/boykopovar/AnyPS5/pull/16005#issuecomment-6654062068) on `55a3c7fd14`: `guest_libc_internal_time_get` passed 3/3. - [Linux review run](https://github.com/boykopovar/AnyPS5/pull/16005#pullrequestreview-5789799451) on the same head: the build passed and 1,255 tests passed with no failures among those that ran. Another 1,429 could not run on that CPU. ### 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: <!-- #PR, or none --> none - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> n/a - [x] AI-assisted: <!-- yes / no --> yes Supersedes #15789, which the open-PR limit closed; same branch and head. **Main merge, 2026-11-06 (78bf5fc0e4):** Resolved the conflict in the libcInternal debt notes. Windows and WSL each passed time_get 3/3, numpunct 3/3, and public headers 65/65. The older test reports remain linked above with their tested heads. **Pinned collector delta for `78bf5fc0e4ba` over main `9ade3ed806b4`:** System libraries are 30.45% (+0.04 percentage points; 14 implemented, 14 removed). `libSceLibcInternal` increased from 124/1141 (10.87%) to 138/1141 (12.09%), a 1.23-point increase. The hosted GitHub Build workflow run #60518 succeeded on this exact head. 🤖 Generated with [Claude Code](https://claude.com/claude-code) 🤖 Updated with [Codex](https://openai.com/codex) 🤖 Generated with [Codex](https://openai.com/codex)
MarcZX10 commented 2026-11-05 18:16:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-05T18:16:56Z.

Review: COMMENTED


Tests run: all pass

The build passed and nothing that ran failed; 1255 of 2684 passed; 1429 could not run because this CPU lacks instructions the guest tests need.

What I ran

Head 55a3c7fd1455b5ebd9db2e59d148740740840fb2; base 6d173c1a19788ff69d43b3d0ca62833e312ef939.

I built and tested this head on this machine, on Linux. Full build and tests (the head merged onto the base tip): passed. The Test logs section at the end has the details.

Hosted CI results are read from GitHub as they are now; I did not run them.

Results

Check Result Note
Full build: fetch passed 5 s
Full build: export passed 3 s
Full build: submodules passed 38 s
Full build: configure passed 32 s
Full build: select passed
Full build: build passed 311 s
Full build: libs passed
Full build: test passed 111 s
tests: guest (1601) not run 353 ok, 1248 not run
tests: check (124) passed 124 ok
tests: trace (96) passed 96 ok
tests: unwrap (82) passed 82 ok
tests: public (65) passed 65 ok
tests: annotate (64) passed 64 ok
tests: audio (62) not run 7 ok, 55 not run
tests: conventions (59) passed 59 ok
tests: ngs2 (48) not run 0 ok, 48 not run
tests: tls (35) passed 35 ok
tests: net (21) not run 0 ok, 21 not run
tests: windows (21) passed 21 ok
tests: 146 other groups (406) not run 349 ok, 57 not run
hosted CI (read from GitHub) passed 1 not run, 22 passed

Not verified

  • 1429 tests could not run on this machine because its CPU lacks instructions the guest tests need (full build and tests (the head merged onto the base tip)). Their result is not verified.
  • No hardware or console run was done; none of those behaviors is verified. The build and tests ran on one Linux machine only.
Test logs (2 entries; open to read)
Full build and tests (the head merged onto the base tip): passed

Result:

The build passed and nothing that ran failed; 1255 of 2684 passed; 1429 could not run because this CPU lacks instructions the guest tests need.

Steps:

Fetch: done in 5 s
Export: done in 3 s
Submodules: done in 38 s
Configure: done in 32 s
Select: done in 0 s
Build: done in 311 s
Libs: done in 0 s
Test: done in 111 s

What did not run, and why:

1429 tests aborted because the CPU of this machine lacks instructions the guest tests need; they say nothing about the change (for example guest_webrtc_vad, guest_freetype_postscript_info, guest_freetype_postscript_info_nid, guest_freetype_build_info, guest_libressl_errors).
The base tip has not been built here yet. Run this level with the source set to the base tip to learn which failures predate the change.

All tests:

Could not run on this machine (the CPU lacks instructions the guest tests need) (1,429)
By group: guest 1,248, audio 55, ngs2 48, net 21, nkwebkit 13, pad 6, savedata 5, download 5, np 3, exec 3, fiber 2, avplayer 2, and 15 more
guest_webrtc_vad, guest_freetype_postscript_info, guest_freetype_postscript_info_nid, guest_freetype_build_info, guest_libressl_errors, guest_libressl_free_strings, guest_libressl_free_strings_first, guest_libressl_bio, guest_libressl_bio_patched, guest_libressl_cmac, guest_libressl_cmac_patched, guest_libressl_protocol, guest_libressl_protocol_nid, guest_posix_scalar_io, guest_kernel_sys_upd_version, guest_kernel_sys_sdk_version, guest_kernel_sys_console_identity, guest_kernel_sys_cpumode, guest_kernel_sys_neo_mode, guest_kernel_sys_constant_unknowns, patched_libraries, guest_kernel_sys_pwrite, guest_kernel_sys_pwrite_patched, guest_kernel_sys, guest_kernel_sys_thread_defaults, guest_kernel_sys_vm_map_timestamp, guest_kernel_sys_barrier, guest_kernel_sys_execve, guest_kernel_sys_execvpe, guest_kernel_sys_nanosleep, guest_kernel_sys_adjtime, guest_kernel_sys_pthread, guest_kernel_sys_constants, guest_kernel_sys_dup, guest_playready, guest_sdec_version, guest_firmware_constant_returns, guest_kernel_sys_threads_main_late_load, guest_kernel_sys_threads_main_late_load_patched, guest_kernel_sys_threads_main, guest_kernel_sys_threads_main_patched, guest_gnm_neo_packets, guest_kernel_sys_pthread_np_rwlockattr, guest_kernel_sys_pthread_np_kind, guest_kernel_sys_module_internal, guest_kernel_sys_login, guest_kernel_sys_uuid, guest_kernel_sys_pselect, guest_voice_port_attr, guest_remoteplay, guest_gnm_neo_retail, guest_gnm_neo_context_state_internal, guest_vr_tracker_devices, … and 1,376 more

Passed (1,255)
By group: guest 353, check 124, trace 96, unwrap 82, public 65, annotate 64, conventions 59, tls 35, windows 21, linux 20, pr 14, tools 13, and 129 more
public_headers, guest_json_numeric_locale_setup, pad_command_file, request_serializer, patch_lib_atrac9, mingw_host_only_test_targets, pr_overlap_dependencies, tools_nid_name_audit, build_changed_guest_tests, pr_ready, pr_labels, pr_overlap_encoding, progress_history_date_window, progress_report_inputs, compile_slot, progress_history_output, progress_render_sliver, progress_wrappers, progress_history, progress_report, tools_compdb_inventory, progress_read_encoding, tools_catalog_json, progress_encoding, annotate_module, tools_audit_strict_partial, annotate_module_ImportRelocationTests_test_symbol_entry_size_must_match_elf64, validate_patch_catalog, annotate_module_ImportRelocationTests_test_tables_cannot_read_file_padding_past_the_load_segment, annotate_module_ImportRelocationTests_test_an_exact_load_boundary_is_readable, annotate_module_ImportRelocationTests_test_contiguous_load_segments_can_cover_one_table_without_a_gap, annotate_module_ImportRelocationTests_test_none_relocations_do_not_read_the_symbol_or_add_a_slot, annotate_module_ImportRelocationTests_test_none_relocation_does_not_replace_a_real_import, annotate_module_ImportRelocationTests_test_real_import_with_invalid_symbol_still_fails, annotate_module_ObjdumpDiscoveryTests_test_llvm_objdump_is_passed_over_for_gnu_gobjdump, annotate_module_ObjdumpDiscoveryTests_test_only_llvm_objdump_is_refused_by_name, annotate_module_AnnotateModuleTests_test_names_imports_stubs_calls_and_exports, annotate_module_AnnotateModuleTests_test_unknown_nid_prints_the_nid, annotate_module_AnnotateModuleTests_test_no_names_skips_the_database, annotate_module_AnnotateModuleTests_test_a_temporary_directory_outside_the_ansi_code_page_is_disassembled, annotate_module_AnnotateModuleTests_test_mismatching_database_name_is_not_used, annotate_module_AnnotateModuleTests_test_objdump_found_through_a_relative_path_entry_is_disassembled, annotate_module_AnnotateModuleTests_test_gnu_hash_gives_the_symbol_count, annotate_module_AnnotateModuleTests_test_glob_dat_slot_referenced_by_an_indirect_call, annotate_module_AnnotateModuleTests_test_prefixed_stub_is_recognised, annotate_module_AnnotateModuleTests_test_eip_references_do_not_name_the_unwrapped_address, annotate_module_AnnotateModuleTests_test_segment_relative_operands_do_not_name_flat_import_slots, annotate_module_AnnotateModuleTests_test_eip_relative_stubs_and_calls_use_wrapped_got_addresses, annotate_module_AnnotateModuleTests_test_none_relocation_does_not_annotate_a_stub_or_call, annotate_module_AnnotateModuleTests_test_none_relocation_keeps_the_real_import_annotation, annotate_module_AnnotateModuleTests_test_tls_symbol_is_listed_but_not_an_address, annotate_module_AnnotateModuleTests_test_export_at_address_zero_is_kept, annotate_module_AnnotateModuleTests_test_private_alias_does_not_hide_a_public_export, annotate_module_AnnotateModuleTests_test_export_aliases_are_named_and_counted, annotate_module_AnnotateModuleTests_test_export_aliases_without_names_keep_each_nid, … and 1,200 more

Complete output: 24,628 lines, 2.7 MB: https://gist.github.com/MarcZX10/1385607a401d238647b085235a17f775

Hosted CI as GitHub shows it: passed

Jobs, newest run of each:

linux: skipped (Build)
register-context (macos-15-intel, Release): success (Build)
relinker (windows-latest, g++): success (Build)
relinker (macos-latest, clang++, x86_64): success (Build)
register-context (ubuntu-latest, Release): success (Build)
register-context (ubuntu-latest, Debug): success (Build)
register-context (macos-15, Release, x86_64): success (Build)
register-context (macos-15, Debug, x86_64): success (Build)
relinker (macos-latest, clang++): success (Build)
write-watch (macos-15, x86_64): success (Build)
register-context (macos-15-intel, Debug): success (Build)
windows: success (Build)
relinker (ubuntu-latest, g++): success (Build)
edge-watch (macos-15): success (Build)
write-watch (macos-15-intel): success (Build)
edge-watch (macos-15-intel): success (Build)
write-watch (macos-15): success (Build)
relinker-asan: success (Build)
labels: success (PR labels)
eligibility: success (Build)
library-portability: success (Emscripten library portability)
report: success (Progress report)
conventions: success (Conventions)

Overall:

22 of 23 jobs passed; 1 was skipped (a skipped job gives no evidence).
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5789799451 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16005#pullrequestreview-5789799451). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-05T18:16:56Z. **Review:** COMMENTED --- # Tests run: all pass The build passed and nothing that ran failed; 1255 of 2684 passed; 1429 could not run because this CPU lacks instructions the guest tests need. ## What I ran Head `55a3c7fd1455b5ebd9db2e59d148740740840fb2`; base `6d173c1a19788ff69d43b3d0ca62833e312ef939`. I built and tested this head on this machine, on Linux. Full build and tests (the head merged onto the base tip): passed. The Test logs section at the end has the details. Hosted CI results are read from GitHub as they are now; I did not run them. ## Results | Check | Result | Note | |---|---|---| | Full build: fetch | passed | 5 s | | Full build: export | passed | 3 s | | Full build: submodules | passed | 38 s | | Full build: configure | passed | 32 s | | Full build: select | passed | | | Full build: build | passed | 311 s | | Full build: libs | passed | | | Full build: test | passed | 111 s | | tests: guest (1601) | not run | 353 ok, 1248 not run | | tests: check (124) | passed | 124 ok | | tests: trace (96) | passed | 96 ok | | tests: unwrap (82) | passed | 82 ok | | tests: public (65) | passed | 65 ok | | tests: annotate (64) | passed | 64 ok | | tests: audio (62) | not run | 7 ok, 55 not run | | tests: conventions (59) | passed | 59 ok | | tests: ngs2 (48) | not run | 0 ok, 48 not run | | tests: tls (35) | passed | 35 ok | | tests: net (21) | not run | 0 ok, 21 not run | | tests: windows (21) | passed | 21 ok | | tests: 146 other groups (406) | not run | 349 ok, 57 not run | | hosted CI (read from GitHub) | passed | 1 not run, 22 passed | ## Not verified - 1429 tests could not run on this machine because its CPU lacks instructions the guest tests need (full build and tests (the head merged onto the base tip)). Their result is not verified. - No hardware or console run was done; none of those behaviors is verified. The build and tests ran on one Linux machine only. <details> <summary>Test logs (2 entries; open to read)</summary> <details> <summary>Full build and tests (the head merged onto the base tip): passed</summary> Result: ```text The build passed and nothing that ran failed; 1255 of 2684 passed; 1429 could not run because this CPU lacks instructions the guest tests need. ``` Steps: ```text Fetch: done in 5 s Export: done in 3 s Submodules: done in 38 s Configure: done in 32 s Select: done in 0 s Build: done in 311 s Libs: done in 0 s Test: done in 111 s ``` What did not run, and why: ```text 1429 tests aborted because the CPU of this machine lacks instructions the guest tests need; they say nothing about the change (for example guest_webrtc_vad, guest_freetype_postscript_info, guest_freetype_postscript_info_nid, guest_freetype_build_info, guest_libressl_errors). The base tip has not been built here yet. Run this level with the source set to the base tip to learn which failures predate the change. ``` All tests: ```text Could not run on this machine (the CPU lacks instructions the guest tests need) (1,429) By group: guest 1,248, audio 55, ngs2 48, net 21, nkwebkit 13, pad 6, savedata 5, download 5, np 3, exec 3, fiber 2, avplayer 2, and 15 more guest_webrtc_vad, guest_freetype_postscript_info, guest_freetype_postscript_info_nid, guest_freetype_build_info, guest_libressl_errors, guest_libressl_free_strings, guest_libressl_free_strings_first, guest_libressl_bio, guest_libressl_bio_patched, guest_libressl_cmac, guest_libressl_cmac_patched, guest_libressl_protocol, guest_libressl_protocol_nid, guest_posix_scalar_io, guest_kernel_sys_upd_version, guest_kernel_sys_sdk_version, guest_kernel_sys_console_identity, guest_kernel_sys_cpumode, guest_kernel_sys_neo_mode, guest_kernel_sys_constant_unknowns, patched_libraries, guest_kernel_sys_pwrite, guest_kernel_sys_pwrite_patched, guest_kernel_sys, guest_kernel_sys_thread_defaults, guest_kernel_sys_vm_map_timestamp, guest_kernel_sys_barrier, guest_kernel_sys_execve, guest_kernel_sys_execvpe, guest_kernel_sys_nanosleep, guest_kernel_sys_adjtime, guest_kernel_sys_pthread, guest_kernel_sys_constants, guest_kernel_sys_dup, guest_playready, guest_sdec_version, guest_firmware_constant_returns, guest_kernel_sys_threads_main_late_load, guest_kernel_sys_threads_main_late_load_patched, guest_kernel_sys_threads_main, guest_kernel_sys_threads_main_patched, guest_gnm_neo_packets, guest_kernel_sys_pthread_np_rwlockattr, guest_kernel_sys_pthread_np_kind, guest_kernel_sys_module_internal, guest_kernel_sys_login, guest_kernel_sys_uuid, guest_kernel_sys_pselect, guest_voice_port_attr, guest_remoteplay, guest_gnm_neo_retail, guest_gnm_neo_context_state_internal, guest_vr_tracker_devices, … and 1,376 more Passed (1,255) By group: guest 353, check 124, trace 96, unwrap 82, public 65, annotate 64, conventions 59, tls 35, windows 21, linux 20, pr 14, tools 13, and 129 more public_headers, guest_json_numeric_locale_setup, pad_command_file, request_serializer, patch_lib_atrac9, mingw_host_only_test_targets, pr_overlap_dependencies, tools_nid_name_audit, build_changed_guest_tests, pr_ready, pr_labels, pr_overlap_encoding, progress_history_date_window, progress_report_inputs, compile_slot, progress_history_output, progress_render_sliver, progress_wrappers, progress_history, progress_report, tools_compdb_inventory, progress_read_encoding, tools_catalog_json, progress_encoding, annotate_module, tools_audit_strict_partial, annotate_module_ImportRelocationTests_test_symbol_entry_size_must_match_elf64, validate_patch_catalog, annotate_module_ImportRelocationTests_test_tables_cannot_read_file_padding_past_the_load_segment, annotate_module_ImportRelocationTests_test_an_exact_load_boundary_is_readable, annotate_module_ImportRelocationTests_test_contiguous_load_segments_can_cover_one_table_without_a_gap, annotate_module_ImportRelocationTests_test_none_relocations_do_not_read_the_symbol_or_add_a_slot, annotate_module_ImportRelocationTests_test_none_relocation_does_not_replace_a_real_import, annotate_module_ImportRelocationTests_test_real_import_with_invalid_symbol_still_fails, annotate_module_ObjdumpDiscoveryTests_test_llvm_objdump_is_passed_over_for_gnu_gobjdump, annotate_module_ObjdumpDiscoveryTests_test_only_llvm_objdump_is_refused_by_name, annotate_module_AnnotateModuleTests_test_names_imports_stubs_calls_and_exports, annotate_module_AnnotateModuleTests_test_unknown_nid_prints_the_nid, annotate_module_AnnotateModuleTests_test_no_names_skips_the_database, annotate_module_AnnotateModuleTests_test_a_temporary_directory_outside_the_ansi_code_page_is_disassembled, annotate_module_AnnotateModuleTests_test_mismatching_database_name_is_not_used, annotate_module_AnnotateModuleTests_test_objdump_found_through_a_relative_path_entry_is_disassembled, annotate_module_AnnotateModuleTests_test_gnu_hash_gives_the_symbol_count, annotate_module_AnnotateModuleTests_test_glob_dat_slot_referenced_by_an_indirect_call, annotate_module_AnnotateModuleTests_test_prefixed_stub_is_recognised, annotate_module_AnnotateModuleTests_test_eip_references_do_not_name_the_unwrapped_address, annotate_module_AnnotateModuleTests_test_segment_relative_operands_do_not_name_flat_import_slots, annotate_module_AnnotateModuleTests_test_eip_relative_stubs_and_calls_use_wrapped_got_addresses, annotate_module_AnnotateModuleTests_test_none_relocation_does_not_annotate_a_stub_or_call, annotate_module_AnnotateModuleTests_test_none_relocation_keeps_the_real_import_annotation, annotate_module_AnnotateModuleTests_test_tls_symbol_is_listed_but_not_an_address, annotate_module_AnnotateModuleTests_test_export_at_address_zero_is_kept, annotate_module_AnnotateModuleTests_test_private_alias_does_not_hide_a_public_export, annotate_module_AnnotateModuleTests_test_export_aliases_are_named_and_counted, annotate_module_AnnotateModuleTests_test_export_aliases_without_names_keep_each_nid, … and 1,200 more ``` Complete output: 24,628 lines, 2.7 MB: https://gist.github.com/MarcZX10/1385607a401d238647b085235a17f775 </details> <details> <summary>Hosted CI as GitHub shows it: passed</summary> Jobs, newest run of each: ```text linux: skipped (Build) register-context (macos-15-intel, Release): success (Build) relinker (windows-latest, g++): success (Build) relinker (macos-latest, clang++, x86_64): success (Build) register-context (ubuntu-latest, Release): success (Build) register-context (ubuntu-latest, Debug): success (Build) register-context (macos-15, Release, x86_64): success (Build) register-context (macos-15, Debug, x86_64): success (Build) relinker (macos-latest, clang++): success (Build) write-watch (macos-15, x86_64): success (Build) register-context (macos-15-intel, Debug): success (Build) windows: success (Build) relinker (ubuntu-latest, g++): success (Build) edge-watch (macos-15): success (Build) write-watch (macos-15-intel): success (Build) edge-watch (macos-15-intel): success (Build) write-watch (macos-15): success (Build) relinker-asan: success (Build) labels: success (PR labels) eligibility: success (Build) library-portability: success (Emscripten library portability) report: success (Progress report) conventions: success (Conventions) ``` Overall: ```text 22 of 23 jobs passed; 1 was skipped (a skipped job gives no evidence). ``` </details> </details>
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!16005
No description provided.