Skip to content

fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does - #12574

Merged
oneandonlydean merged 7 commits into
boykopovar:mainfrom
JJenkx:windows/libc-asctime-s-constraints
Nov 13, 2026
Merged

oneandonlydean merged 7 commits into
boykopovar:mainfrom
JJenkx:windows/libc-asctime-s-constraints

Conversation

@JJenkx

@JJenkx JJenkx commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Current-main integration — 2026-11-12. Head 079738c3f9 merges main c85dcfd005 (063c638608) and adds one test commit.

  • Conflicts:
    • SonyCrt.hpp: main's out-of-line handler declarations are taken unchanged.
    • docs/dev/debt/libc.md: this PR's asctime_s/ctime_s wording is kept, and the per-module handler sentence that main removed stays removed.
  • Test change: since main shares the handler, every sceAmprAsctimeS violation made while guest_crt's recording handler is installed now reaches that handler too. With the merge alone, guest_crt failed at line 230 in 3 of 3 runs. The new commit checks each of those seven calls with its own message.
  • Windows 11 22621, MinGW-w64 GCC 15.2 UCRT, Release: guest_crt, guest_time_conversion, guest_mktime and guest_time_extras pass in 3 of 3 runs. check_conventions.py passes.

Current-main integration — 2026-11-05. Exact head b5644e160f5596522221f2df822a511fd4fe9e12 retains previous public 25ab50c9e70bdaced8575d715ae4422faf8de704 and tested main 6d173c1a19788ff69d43b3d0ca62833e312ef939 as ancestors. The whole SonyCrt.hpp remains byte-identical to the previous qualified head, retaining time checks, padding/output behavior and ELF per-module hidden handler accessors. Actual libc and Ampr were rebuilt coherently.

Linux x86-64, GCC16.2.1, Ninja Release: actual production modules and focused fixture owners rebuilt; 3/3 runtime tests pass, zero skips: guest_crt, guest_time_conversion, guest_time_extras. Matching pinned main passes all25 selected baseline groups. Production NID patching, conventions/whitespace, and MinGW syntax for SonyCrt.hpp pass.

Public-header audit: failed on both pinned main and this head with the same five missing WKSecurityOrigin* declarations (Create, CopyToString, CopyHost, CopyProtocol, GetPort), with no additional declaration errors. The failure is retained in the logs; no all-green header/full-suite claim is made. The concrete shared-main repair is #16010, exact head 545e24b2ee2e549001421f7fc9f87ff801f3423c. Its independent qualification reports a green audit of 406 libraries/30,572 exports and two standalone units compiled by each of GCC and MinGW. A maintainer still needs to merge that repair and rerun the affected checks; this unmodified qualification tree is not relabelled header-green.

The older-main Windows DepthSurface::createSampleShadow allocation compile error is already corrected by merged #15855. This head contains that fix, and its DepthSurface.cpp/ImageMemory.hpp blobs match the fixing source. The fix’s hosted Windows build passed; that is attributed upstream evidence, not a Windows build/runtime result for this head. No duplicate AGC change was added. A final merge preview against newer main 7ad9749ed0311cc91d69bc7c690d09c92b9d42d0 is clean; qualification remains pinned to 6d173c1a19788ff69d43b3d0ca62833e312ef939.

Source/parent/provider/gitlink proofs, commands, raw logs, JUnit, hashes and known baseline failure. Historical platform, module-reference and performance reports below retain their original pins; no new Windows/macOS, SDK/physical-console, title/GPU or performance run.

Earlier pinned reports and the contribution template follow.

What

asctime_s and ctime_s (libc, and libSceAmpr through the shared header) now check their arguments the way the libc.prx that titles ship does. Every violation calls the constraint handler with EINVAL, as the other _s functions in this module already do. On main these two returned EINVAL without calling it.

Measured rules, applied in this order (the handler's pointer argument is always null):

  1. A null buffer, a size of 0, or a size above SIZE_MAX >> 3 (from 2^61): message "asctime_s: bad destination argument" (or ctime_s), and nothing is written.
  2. A size under 26, a null time, or a field out of range: message "asctime_s: bad argument", and '\0' is stored in the first byte. ctime_s checks the size before it converts the time.

The field limits were already right, except that tm_yday outside 0 to 365 is now rejected too. Two output fixes:

  • The year is zero-padded (0957), as plain asctime already does.
  • From a size of 2^32 up, main returned 0 without writing anything, because snprintf rejected the size. The text is now always written with a size of 26.

Prior work. @ivica00 read these same rules from the disassembly of a title's libc.prx in #8711, which they closed on 2026-10-21 after it needed a rebase. That PR also covered strtok_s and _Thrd_id. I found it only after opening this PR. The rules here were measured independently by running the titles' code, and they agree with that description: destinations of 0 or from 2^61 are rejected without writing, the destination is cleared on a later argument failure, EINVAL with a null pointer argument, and four-digit years.

Fulfilled dependency: #9935 reached main through merged #10270, whose returning default-handler behavior is retained alongside this PR’s time-constraint rules. The earlier agreed order is fulfilled; the old debt-line conflict has been resolved without reverting main’s handler behavior.

Superseded (2026-11-12): main 3728cf4c67 moved the Sony CRT handler state into SonyCrt.cpp and now shares it between libc and libSceAmpr. This PR takes main's version and no longer changes the handler accessors.

Tested

Current-main refresh — 2026-11-04. Head 25ab50c9e70bdaced8575d715ae4422faf8de704 merges main 9ab6a281ea61c9e62a7eb07eb4cef8f19ede1c5c while retaining the prior public head as an ancestor. Main’s newer code, regression fixtures and debt entries are preserved alongside this topic.

Linux x86-64, GCC16.2.1, Ninja Release: actual libc, libkernel and libSceAmpr CMake owners rebuilt coherently. guest_crt, guest_time_conversion, guest_mktime each pass three consecutive runs (9 passes, zero skips). The same groups pass three times on pinned main. Public-header audit and conventions pass. Original licence-notice trailing whitespace is retained where present. The scoped recipe reuses frozen ZArchive/zstd providers; this is not a whole-project build. No new Windows, bundled-SDK, physical-console, title/GPU or FPS measurement is claimed; earlier reports retain their original pins.

Exact source/parent proofs, per-branch patches/input manifests, build and CTest logs/JUnit, library/executable hashes and scoped CMake recipe, SHA-256 97a2377bc996be1690e8853e1ea090a98b5ed808bcc37a15a5cdada5c2e00845 (download verified). AI-assisted: yes (Codex).

Current-main integration — 2026-11-04. Head cec91f3fe5e8f335b89b5dfd6ef16bdf073edbd6 includes main b11c7bf84f5d2f636ff60166cc3371bd071e24d5 and preserves previous public commits and attribution/licence notices. Retains both ELF-hidden module-state accessors and the hardened time/constraint fixtures. Main’s returning default handler is preserved; older time-zone/mutant/module-isolation evidence keeps its original pins.

Linux x86-64, GCC 16.2.1, Ninja Release, BUILD_TESTING=ON: rebuilt actual libc/Ampr and selected executables. guest_crt, guest_time_conversion, guest_mktime each pass 3/3 (9 runtime passes, zero skips); public_headers, conventions and whitespace checks pass. Pinned main passes all 17 selected baseline groups 3/3 (51 passes) plus headers. Before/after dependency checks agree: 34 recursive trees and 31,551 tracked blobs, zero errors; the update=none QuickJS test262 corpus is explicitly excluded from these library inputs.

Source/parent/gitlink proofs, library/test hashes, raw logs/JUnit and head-leased push receipts: qualification archive, SHA-256 7c347f620951ad6f39068740750949212c6412815da094a46a96eca1d15c8bbf (download verified). Older platform, stress, negative-control and reference reports retain their original pins; no new Windows/macOS, full-suite, SDK-module, console, title/GPU or performance claim. AI-assisted: yes (Codex).

Earlier dated qualifications below retain their original source/platform pins.

Current-main refresh — 2026-11-02. Published head af6f89bff19ee5d6d7f782db2163406a49a28327 includes pinned main a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8. The reviewed SonyCrt.hpp header remains byte-identical to6b2c351, including both ELF hidden inline accessors. Current main’s qsort_s/bsearch_s qualifications remain alongside the time constraint debt. Older four-TZ/mutant/ASan module-isolation evidence keeps its original pins; it was not rerun here.

Rebuilt actual libc/Ampr and selected tests from the final input tree. guest_crt, guest_time_conversion, guest_mktime each pass three consecutive runs: 9 runtime passes, zero skips, plus public_headers. Conventions and whitespace pass. Source/input manifests, exact dependencies, library/test hashes, logs/JUnit and head-leased push receipts are attached. The same pinned main passes 18 selected groups three times (54 runtime passes) plus headers. All 34 recursive dependency trees/31,551 tracked blobs verify with zero errors; QuickJS’s update=none test262 corpus is explicitly excluded because it is not a library build input.

Linux-7.2.11-arch1-1-x86_64-with-glibc2.44, Ryzen 9 7950X, GCC 16.2.1, Ninja Release, BUILD_TESTING=ON. Focused Linux CPU qualification only. Older Windows/module/reference reports retain their original pins; no fresh Windows/macOS, SDK-module, console, title/GPU or speed claim. AI-assisted: yes (Codex).

Evidence: https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/math-six-main-a4eca-linux-extra10321-20261102.tar.gz; SHA-256 525ccb31a5d3d0f5adced5fda58818d8432f06c0afa7290139adb60ae6664b54.

Earlier dated qualifications below retain their recorded source/platform pins.

Windows 11, WinLibs GCC 15.2.0 UCRT r7, Release, main 319621ba2e.

  • Native comparison: a scratch loader calls the titles' functions by NID next to this build's, with the same recording handler installed on both sides. It compares the return value, the handler's calls and error, and the buffer bytes. The messages were recorded from the titles' handler, and guest_crt checks that this build passes the same ones. Results are the same with the libc.prx of PPSA07923 and of PPSA05916.

    check main this PR
    asctime_s, 20,000 random calls: sizes from 0 to above 2^62, null pointers, out-of-range fields 17,930 differ 0
    asctime_s, 108 chosen cases: each size boundary, null pointers, each field limit, years 80 differ 0
    ctime_s, 11 cases that fail before the time conversion 11 differ 0

    The titles' ctime_s calls an import the loader can't provide once it converts a valid time, so the ctime_s paths after localtime_s, including a failing localtime_s, are not compared. The debt entry now says that, instead of "the console's exact checks are not verified".

  • Regression: guest_crt checks each rule, the messages and the year padding. With the previous SonyCrt.hpp it fails (LibcViolation("asctime_s: bad argument")).

  • Test set: guest_crt, guest_safe_errors, guest_bounds_checking, guest_qsort, guest_strftime, guest_mktime and guest_locale pass 3/3. The same holds merged with fix(libc): write the constraint message and return from the default handler #9935 (7aa063d91c) for guest_crt, guest_safe_errors, guest_bounds_checking, guest_qsort and guest_strftime. Conventions pass.

Current Linux qualification and module-isolation correction — 2026-10-29

Addressed the review's test hardening and the Linux module-isolation bug it exposed in 6b2c35188f6706790c39f7ba302fc92148fbc7c6.

The added cases require destination-error precedence when the time pointer is also null, short-capacity rejection before converting an unrepresentable timestamp, and each time field's low−1/low/high/high+1 boundaries. The duplicated year assignment is removed. Each of the four proposed incorrect implementation variants now fails at its intended assertion.

The exact original Linux guest_crt also revealed a real prerequisite issue: GNU_UNIQUE handler state coalesced across libc and Ampr, so installing Ampr's handler replaced libc's. The fix gives both internal inline state accessors (handler and mutex) ELF hidden visibility. They retain external inline linkage, sharing state across translation units inside one library while separating the libraries. Guest exports, NIDs and calling conventions are unchanged. The guard leaves PE/Mach-O visibility unchanged. No test counter resets were added to conceal unexpected callbacks.

Qualification on Arch Linux7.2.9 / Ryzen9 7950X / GCC16.2.1 Release uses the actual libc/Ampr libraries: guest_crt passes three repetitions under each of UTC, America/New_York, Pacific/Kiritimati and TZ unset (12 passes). Four actual-header production mutants each fail the intended new assertion. Restoring the candidate passes the focused three-group set three times (9 checks) and restores identical libc and Ampr bytes. Public-header, conventions and whitespace checks pass.

A separate ASan+UBSan harness builds the exact complete header into two DSOs, with two separately compiled translation units per DSO, and alternates setter/invoker translation units. It verifies sharing within each module, separation between modules and preservation of the sibling's handler across resets. The original header fails with “libc handler replaced by Ampr setter”; the fixed header passes. ELF symbol tables confirm the original state is UNIQUE/DEFAULT and fixed handler/mutex state is LOCAL. The full-runtime original failure and all expected negatives are preserved in the evidence. This module-state harness is separate from the actual-library CRT runs.

No new Windows, macOS, title-library or physical-console measurement is claimed. Earlier Windows/title comparisons retain their original pins; the previously documented ctime paths after localtime conversion remain unmeasured.

AI-assisted: yes (Codex).

Evidence: source, raw tests, original failure, sanitizer isolation proof and mutant/restoration receipts, SHA-256 4f0d32cb26b6dfbce3e6c5750990844bc3970fd9b43c3aef2d901ed1050a4477.

Checklist

@rooklz rooklz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent run on macOS arm64 (Apple clang, ASan+UBSan, -fno-sanitize-recover). The harness builds the PR's SonyCrt.hpp into two separate hidden-visibility dylibs, a libc side and an Ampr side, so each one keeps its own handler slot as in the real modules. localtime_s is a host localtime_r shim. The driver is the PR's guest_crt asctime/ctime block, lines 158-269.

  • Head e1dbfa0753: OK under TZ unset, UTC, America/New_York and Pacific/Kiritimati. No sanitizer reports.
  • main's SonyCrt.hpp with the head test: RED at LibcViolation("asctime_s: bad argument"), the failure your body describes.
  • Gates: conventions clean, git merge-tree against 319621ba2e clean. Merging with #9935 conflicts only on the set_constraint_handler_s debt line, as you said. pr_overlap also lists #9087, #9688, #10270 and #11621 on the same line, L81.

Mutants (20): the head test kills 14. Six survive:

mutant result
asctime_s checks !time before the destination check survives (the null time is only tested with a valid destination)
ctime_s drops size < 26 from the pre-conversion check and leaves it to SonyFormatAsctime survives (epoch converts, so the message and clearing are the same)
tm_sec > 61 survives
year < -1 survives
snprintf(buffer, size, ...) restored survives on macOS only. Darwin accepts sizes ≥ 2^32, so it behaves the same here; your 2^32 case should catch it on UCRT
ctime_s passes "asctime_s: bad argument" to SonyFormatAsctime survives. Only reachable with a year above 9999 after conversion, which you say wasn't compared, so I left it out

The test-only diff below kills the first four. With it, head stays green under all four TZ settings.

  • A null buffer with a null time, and size 0 with a null time, must both report the destination message.
  • ctime_s size 25 with an unconvertible time must still report ctime_s: bad argument before conversion.
  • Each field's limit is checked as low-1, low, high and high+1, which also pins tm_sec 60 and year 0/9999.

The diff also drops the duplicated known.tm_year = 70; line.

@@ -233,7 +233,6 @@ int main() {
     known.tm_year = 57 - 1900;
     Require(asctime_s_nid_postfix(text, sizeof(text), &known) == 0 && std::strcmp(text, "Thu Jan  1 00:00:00 0057\n") == 0);
     known.tm_year = 70;
-    known.tm_year = 70;
     known.tm_mday = 32;
     text[0] = 'x';
     Require(sceAmprAsctimeS(text, sizeof(text), &known) == EINVAL && text[0] == '\0');
@@ -263,6 +262,28 @@ int main() {
     Require(LibcViolation("ctime_s: bad argument"));
     std::memset(libcText, 'x', sizeof(libcText));
     Require(ctime_s_nid_postfix(libcText, std::size_t{1} << 32, &epoch) == 0 && std::strcmp(libcText, text) == 0 && libcText[26] == 'x');
+    Require(asctime_s_nid_postfix(nullptr, sizeof(text), nullptr) == EINVAL);
+    Require(LibcViolation("asctime_s: bad destination argument"));
+    text[0] = 'x';
+    Require(asctime_s_nid_postfix(text, 0, nullptr) == EINVAL && text[0] == 'x');
+    Require(LibcViolation("asctime_s: bad destination argument"));
+    const std::int64_t unconvertible = INT64_MAX;
+    libcText[0] = 'x';
+    Require(ctime_s_nid_postfix(libcText, 25, &unconvertible) == EINVAL && libcText[0] == '\0');
+    Require(LibcViolation("ctime_s: bad argument"));
+    struct FieldLimit { int GuestTm::*field; int low; int high; };
+    for (const FieldLimit limit : {FieldLimit{&GuestTm::tm_sec, 0, 60}, FieldLimit{&GuestTm::tm_min, 0, 59}, FieldLimit{&GuestTm::tm_hour, 0, 23},
+             FieldLimit{&GuestTm::tm_mday, 1, 31}, FieldLimit{&GuestTm::tm_mon, 0, 11}, FieldLimit{&GuestTm::tm_wday, 0, 6},
+             FieldLimit{&GuestTm::tm_yday, 0, 365}, FieldLimit{&GuestTm::tm_year, -1900, 9999 - 1900}}) {
+        for (const int value : {limit.low - 1, limit.low, limit.high, limit.high + 1}) {
+            GuestTm fields = known;
+            fields.*limit.field = value;
+            text[0] = 'x';
+            const bool valid = value >= limit.low && value <= limit.high;
+            Require(asctime_s_nid_postfix(text, sizeof(text), &fields) == (valid ? 0 : EINVAL));
+            Require(valid ? (g_libcConstraintCalls == 0 && std::strlen(text) == 25) : (text[0] == '\0' && LibcViolation("asctime_s: bad argument")));
+        }
+    }
     set_constraint_handler_s_nid_postfix(previousLibcHandler);
     Require(sceAmprCtimeS(text, 25, &epoch) == EINVAL);
     text[0] = 'x';

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 7447 docs/dev/debt/libc.md
PR 7715 docs/dev/debt/libc.md
PR 8150 docs/dev/debt/libc.md
PR 8965 docs/dev/debt/libc.md
PR 9087 docs/dev/debt/libc.md
PR 9340 docs/dev/debt/libc.md
PR 9447 docs/dev/debt/libc.md
PR 9466 docs/dev/debt/libc.md
PR 9526 core/libs/tests/GuestCrt.cpp
docs/dev/debt/libc.md
PR 10397 docs/dev/debt/libc.md
PR 10780 docs/dev/debt/libc.md
PR 11172 docs/dev/debt/libc.md
PR 11266 docs/dev/debt/libc.md
PR 11332 docs/dev/debt/libc.md
PR 11661 docs/dev/debt/libc.md
PR 11689 docs/dev/debt/libc.md
PR 11698 docs/dev/debt/libc.md
PR 12682 docs/dev/debt/libc.md
PR 12688 docs/dev/debt/libc.md
PR 12700 docs/dev/debt/libc.md
PR 12849 docs/dev/debt/libc.md
PR 12965 docs/dev/debt/libc.md
PR 15973 docs/dev/debt/libc.md
PR 16791 docs/dev/debt/libc.md
PR 17557 docs/dev/debt/libc.md
PR 17558 docs/dev/debt/libc.md
PR 18848 docs/dev/debt/libc.md

@JJenkx

JJenkx commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

Addressed the review's test hardening and the Linux module-isolation bug it exposed in 6b2c35188f6706790c39f7ba302fc92148fbc7c6.

The added cases require destination-error precedence when the time pointer is also null, short-capacity rejection before converting an unrepresentable timestamp, and each time field's low−1/low/high/high+1 boundaries. The duplicated year assignment is removed. Each of the four proposed incorrect implementation variants now fails at its intended assertion.

The exact original Linux guest_crt also revealed a real prerequisite issue: GNU_UNIQUE handler state coalesced across libc and Ampr, so installing Ampr's handler replaced libc's. The fix gives both internal inline state accessors (handler and mutex) ELF hidden visibility. They retain external inline linkage, sharing state across translation units inside one library while separating the libraries. Guest exports, NIDs and calling conventions are unchanged. The guard leaves PE/Mach-O visibility unchanged. No test counter resets were added to conceal unexpected callbacks.

Qualification on Arch Linux7.2.9 / Ryzen9 7950X / GCC16.2.1 Release uses the actual libc/Ampr libraries: guest_crt passes three repetitions under each of UTC, America/New_York, Pacific/Kiritimati and TZ unset (12 passes). Four actual-header production mutants each fail the intended new assertion. Restoring the candidate passes the focused three-group set three times (9 checks) and restores identical libc and Ampr bytes. Public-header, conventions and whitespace checks pass.

A separate ASan+UBSan harness builds the exact complete header into two DSOs, with two separately compiled translation units per DSO, and alternates setter/invoker translation units. It verifies sharing within each module, separation between modules and preservation of the sibling's handler across resets. The original header fails with “libc handler replaced by Ampr setter”; the fixed header passes. ELF symbol tables confirm the original state is UNIQUE/DEFAULT and fixed handler/mutex state is LOCAL. The full-runtime original failure and all expected negatives are preserved in the evidence. This module-state harness is separate from the actual-library CRT runs.

No new Windows, macOS, title-library or physical-console measurement is claimed. Earlier Windows/title comparisons retain their original pins; the previously documented ctime paths after localtime conversion remain unmeasured.

AI-assisted: yes (Codex).

Evidence: source, raw tests, original failure, sanitizer isolation proof and mutant/restoration receipts, SHA-256 4f0d32cb26b6dfbce3e6c5750990844bc3970fd9b43c3aef2d901ed1050a4477.

@bunbeans2-arch

Copy link
Copy Markdown
Contributor

A Windows run with GCC 16: Windows 11 Pro 10.0.22631, i9-9900K, MSYS2 UCRT64 GCC 16.1.0, Release, this PR (6b2c35188f) merged into main 3d19f3f.

  • With this PR: guest_crt passed 5 of 5.
  • Same tree with only SonyCrt.hpp put back to main (this PR's tests kept): it aborted at the new check on line 201, LibcViolation("asctime_s: bad argument"), in 5 of 5 runs.
  • main fae9e48 alone (its own tests and source): the same test passed 3 of 3.

AI-assisted: yes (Claude Code)

JJenkx and others added 2 commits November 2, 2026 12:47
…does

The libc.prx that titles ship (PPSA07923, PPSA05916) calls the
constraint handler with EINVAL for every asctime_s and ctime_s
violation. A null buffer, a size of 0 or a size above SIZE_MAX >> 3
reports "<name>: bad destination argument" and writes nothing; a size
under 26, a null time or an out-of-range field, now also tm_yday
outside 0 to 365, reports "<name>: bad argument" and stores '\0' in the
first byte. The year is zero-padded, and a size from 2^32 up no longer
makes snprintf write nothing while 0 is returned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e1dbfa0)
@JJenkx
JJenkx force-pushed the windows/libc-asctime-s-constraints branch from 6b2c351 to af6f89b Compare November 2, 2026 18:12
@JJenkx

JJenkx commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Current-main refresh — 2026-11-02. Published head af6f89bff19ee5d6d7f782db2163406a49a28327 includes pinned main a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8. The reviewed SonyCrt.hpp header remains byte-identical to6b2c351, including both ELF hidden inline accessors. Current main’s qsort_s/bsearch_s qualifications remain alongside the time constraint debt. Older four-TZ/mutant/ASan module-isolation evidence keeps its original pins; it was not rerun here.

Rebuilt actual libc/Ampr and selected tests from the final input tree. guest_crt, guest_time_conversion, guest_mktime each pass three consecutive runs: 9 runtime passes, zero skips, plus public_headers. Conventions and whitespace pass. Source/input manifests, exact dependencies, library/test hashes, logs/JUnit and head-leased push receipts are attached. The same pinned main passes 18 selected groups three times (54 runtime passes) plus headers. All 34 recursive dependency trees/31,551 tracked blobs verify with zero errors; QuickJS’s update=none test262 corpus is explicitly excluded because it is not a library build input.

Linux-7.2.11-arch1-1-x86_64-with-glibc2.44, Ryzen 9 7950X, GCC 16.2.1, Ninja Release, BUILD_TESTING=ON. Focused Linux CPU qualification only. Older Windows/module/reference reports retain their original pins; no fresh Windows/macOS, SDK-module, console, title/GPU or speed claim. AI-assisted: yes (Codex).

Evidence: https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/math-six-main-a4eca-linux-extra10321-20261102.tar.gz; SHA-256 525ccb31a5d3d0f5adced5fda58818d8432f06c0afa7290139adb60ae6664b54.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 2, 2026
@JJenkx

JJenkx commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Windows check of the rebased head af6f89bff1.

Setup: Windows 11 Enterprise 10.0.22621, Ryzen 9 5950X, WinLibs GCC 15.2.0 UCRT r7 (the CI toolchain), Release, BUILD_TESTING=ON, private build. The build was clean, and the changed sources were rebuilt for this head.

  • ctest -R '^guest_crt$' --repeat until-fail:3: guest_crt passes 3/3.

@JJenkx

JJenkx commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

The failing relinker (windows-latest, g++) check (run 41498372686) is a runner timeout unrelated to this change. check_compile_modes_test_clang_target_cpu_options_still_check_syntax hit its CTest timeout; the other tests in that job passed.

  • Locally: the same test takes 0.1 s (clang is not installed here, so its clang cases finish early) on Windows 11 (MinGW-w64 GCC 15.2.0 UCRT, main 7feb37ee3e).
  • Other PRs: the same job timed out in different tool tests on other PRs within the same hour.
  • Rerun: I can't rerun jobs on this repository. A maintainer rerun, or the next push, should clear it.

AI-assisted: yes.

@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ AMD GPU test: passed

PR head af6f89b merged onto main 1e65852 · tested 2026-11-03 19:10 UTC · 18 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 3,692 passed · 15 failed (0 new, 14 also fail on main, 1 unstable on main) · 61 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 3,768 of 3,818 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (1334 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.1 s, ⚠️ agc_driver_graphics_maps_fallback 90.1 s, ⚠️ agc_driver_graphics 81.0 s, ⚠️ agc_driver_image_sample_unnormalized 78.4 s, ⚠️ public_headers 57.5 s
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_pipeline_journal: failed in 7 of the last 9 main runs
Failing on main too (14, not counted against this PR)
agc_driver_alpha_to_coverage_sample_mask_export
agc_driver_guest_memory_lifetime_direct
agc_driver_image_table
agc_driver_native_depth_bda_clear
agc_driver_native_depth_buffer_clear
agc_driver_native_depth_clears
agc_driver_native_multisample_depth
agc_driver_store_over_untracked
agc_driver_submit_progress
agc_driver_two_sample_alpha_to_coverage_sample_mask_export
agc_submit_progress
agc_submit_progress_no_timeline
guest_mmap_executable
guest_socket_options_multicast
Passed on retry (1, failed in the parallel run, passed when re-run with a 360 s timeout; not counted against this PR)
agc_driver_emulated_color_compare: Timeout in the parallel run; also passed only on retry in 27 other runs in the last 7 days
Validation IDs already present on main (4 IDs in 765 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (765 tests): agc_compute_pipeline_replay, agc_driver, agc_driver_address_passes, agc_driver_address_passes_draw_transitions, agc_driver_address_passes_targets_split, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_alpha_to_coverage_sample_mask_export, and 757 more
VUID-vkCmdCopyImage-srcImage-01548 (9 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store_image_copy, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, and 1 more
VUID-vkCmdCopyImage-srcImage-01551 (9 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store_image_copy, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, and 1 more
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (2 tests): agc_driver_prepared_exports, agc_driver_srgb8_color_target
Skipped (61)
agc_driver_bda_reads_shadowed_results: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_bda_reads_shadowed_results_per_build: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_copied_writer_label_order_drain: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_image_table_vouched_lookups: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a watched imported table cannot be vouched for
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_ngg_vertex_wave_reduction: skipped, s3 describes a 32-lane wave only on 32-lane subgroups, and the device has 64 lanes
agc_driver_scattered_runs: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_driver_unit_shadow_budget: skipped, the device does not import watched host memory for unit shadows
agc_driver_vertex_elected_atomic_max: skipped, the device runs vertex programs in subgroups, so they keep their cross-lane reductions
agc_host_import_sparse: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_idle_publish_wait: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a forced watch of the import reads its submissions as CPU stores
agc_import_settle_initial_dcc: skipped, the device has no deferred settle of host imports: imports under 1 MiB wait for one only on Windows
agc_shadowed_key_stores: skipped, the device imports no watched host memory under a unit shadow
agc_small_tiled_shadow_label: skipped, host imports are unavailable: the test block is not imported and watched
agc_storage_clear_hand_over: skipped, the device imports no watched host memory for the clear-key hand-over
agc_storage_pending_key_refresh: skipped, refreshes over a pending key store are not testable here
agc_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
guest_http_uri_locale: 
guest_net_ctl: skipped, the host has no IPv4 address
guest_video_out_color_space: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_hdr: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_high_frame_rate: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_output_mode: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_resolution_status: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_wqhd_detection: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
video_out_flip_aftergpu: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platfo
Reproduce
git fetch origin af6f89bff19ee5d6d7f782db2163406a49a28327 1e658521a0a599872612bb91949311e2956b5283
git checkout 1e658521a0a599872612bb91949311e2956b5283 && git merge --no-ff af6f89bff19ee5d6d7f782db2163406a49a28327
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 4, 2026
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 4, 2026
@JJenkx

JJenkx commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

Windows check for the scheduled cross-platform review, at head 25ab50c9e7 merged onto main b611e634f7 (9840d92d4a, clean merge).

Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run this test on pull requests.

  • guest_crt passes in 3 of 3 runs.

AI-assisted: yes.

@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ AMD GPU test: passed

PR head 25ab50c merged onto main b611e63 · tested 2026-11-05 01:53 UTC · 23 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 3,819 passed · 17 failed (0 new, 14 also fail on main, 3 unstable on main) · 61 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 3,897 of 3,946 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (1391 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.2 s, ⚠️ agc_driver_graphics_maps_fallback 114.2 s, ⚠️ agc_driver_graphics 96.0 s, ⚠️ public_headers 86.2 s, ⚠️ agc_driver_image_sample_unnormalized 68.7 s
Unstable on main (3, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_array_layer_target_cpu: failed in 3 of the last 10 main runs
agc_driver_pipeline_journal: failed in 9 of the last 10 main runs
agc_driver_two_sample_alpha_to_coverage_sample_mask_export: failed in 4 of the last 10 main runs
Failing on main too (14, not counted against this PR)
agc_driver_alpha_to_coverage_sample_mask_export
agc_driver_guest_memory_lifetime_direct
agc_driver_image_gather_volume
agc_driver_image_table
agc_driver_job_manager_compute_capacity
agc_driver_native_depth_bda_clear
agc_driver_native_depth_buffer_clear
agc_driver_native_depth_clears
agc_driver_native_multisample_depth
agc_driver_submit_progress
agc_submit_progress
agc_submit_progress_no_timeline
guest_mmap_executable
guest_socket_options_multicast
Validated but not compared (1, not in the main baseline's validation pass)
guest_job_manager_worker_spin
Validation IDs already present on main (4 IDs in 807 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (807 tests): agc_compute_pipeline_replay, agc_driver, agc_driver_address_draw_space_reuse, agc_driver_address_draw_space_reuse_held, agc_driver_address_draw_space_reuse_off, agc_driver_address_draw_space_reuse_transitions, agc_driver_address_draw_space_reuse_verify, agc_driver_address_passes, and 799 more
VUID-vkCmdCopyImage-srcImage-01548 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store_image_copy, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_plane_partially_unmapped_plane, agc_driver_depth_plane_unmapped_plane, and 3 more
VUID-vkCmdCopyImage-srcImage-01551 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store_image_copy, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_plane_partially_unmapped_plane, agc_driver_depth_plane_unmapped_plane, and 3 more
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (2 tests): agc_driver_prepared_exports, agc_driver_srgb8_color_target
Skipped (61)
agc_driver_bda_reads_shadowed_results: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_bda_reads_shadowed_results_per_build: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_copied_writer_label_order_drain: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_gcn_display_present: skipped, no display: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
agc_driver_image_table_vouched_lookups: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a watched imported table cannot be vouched for
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_ngg_vertex_wave_reduction: skipped, s3 describes a 32-lane wave only on 32-lane subgroups, and the device has 64 lanes
agc_driver_scattered_runs: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_driver_unit_shadow_budget: skipped, the device does not import watched host memory for unit shadows
agc_driver_vertex_elected_atomic_max: skipped, the device runs vertex programs in subgroups, so they keep their cross-lane reductions
agc_host_import_sparse: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_idle_publish_wait: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a forced watch of the import reads its submissions as CPU stores
agc_import_settle_initial_dcc: skipped, the device has no deferred settle of host imports: imports under 1 MiB wait for one only on Windows
agc_shadowed_key_stores: skipped, the device imports no watched host memory under a unit shadow
agc_small_tiled_shadow_label: skipped, host imports are unavailable: the test block is not imported and watched
agc_storage_clear_hand_over: skipped, the device imports no watched host memory for the clear-key hand-over
agc_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
guest_http_uri_locale: 
guest_net_ctl: skipped, the host has no IPv4 address
guest_video_out_color_space: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_hdr: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_high_frame_rate: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_output_mode: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_resolution_status: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_wqhd_detection: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
video_out_flip_aftergpu: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in 
Reproduce
git fetch origin 25ab50c9e70bdaced8575d715ae4422faf8de704 b611e634f7fc024f0c13e342d96de744448ef1d9
git checkout b611e634f7fc024f0c13e342d96de744448ef1d9 && git merge --no-ff 25ab50c9e70bdaced8575d715ae4422faf8de704
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@JJenkx

JJenkx commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Refreshed to b5644e160f5596522221f2df822a511fd4fe9e12 on tested main 6d173c1a19788ff69d43b3d0ca62833e312ef939, retaining the prior public head. The whole SonyCrt.hpp remains byte-identical to the previous qualified head, retaining time checks, padding/output behavior and ELF per-module hidden handler accessors. Actual libc and Ampr were rebuilt coherently.

Fresh Linux CPU-only qualification: 3/3 runtime tests pass, zero skips; actual module/fixture builds, production NID patching, conventions/whitespace and MinGW syntax pass. Public-header auditing remains red on main and this head for exactly the same five missing WKSecurityOrigin declarations; this is recorded, with no header-green claim.

The inherited older-main Windows allocation compile failure is fixed by already merged #15855; the fixing source is preserved here. Its successful Windows build is upstream evidence, not this branch’s Windows qualification. Final merge preview against main 7ad9749ed0311cc91d69bc7c690d09c92b9d42d0 is clean. Historical Windows/native-module reports stay at their original pins.

Immutable source/log/JUnit/control evidence, SHA-256 8cd459887f36477c0d43bb1ef4a3601ede91abb1a54dbc6c54ab43a4ed085c0d. No new Windows/macOS runtime, SDK-module/physical-console, title/GPU or speed claim.

AI-assisted: yes (Codex).

@TechLevelZero

Copy link
Copy Markdown
Contributor

❌ AMD GPU test: failed

PR head b5644e1 merged onto main e772fb2 · tested 2026-11-05 16:24 UTC · 38 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ❌ 3,935 passed · 18 failed (1 new: 1 pass on main with the PR's tests, 10 also fail on main, 7 unstable on main) · 71 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 4,024 of 4,074 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (1402 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_graphics 120.6 s, ⚠️ agc_driver_pipeline_journal 120.6 s, ⚠️ agc_driver_graphics_maps_fallback 118.2 s, ⚠️ agc_graphics_profile_draw 60.4 s, ⚠️ public_headers 58.8 s

Failing tests

This PR changes test files, so each failing test was also built and run on main with only the PR's test changes applied. ✅ there means the failure comes from the PR's other changes; ❌ means the test fails on main too, so this run does not show the PR caused it.

Test With this PR Same test on main e772fb2 (main + this PR's test changes only)
agc_graphics_profile_draw ❌ failed ✅ passed
agc_graphics_profile_draw: Timeout (also failed when re-run alone), assertion and diagnostics
ctest: Timeout

[guestmem] read 0 calls 0 MiB 0.0 s compare 0 calls 0 MiB 0.0 s write 0 calls 0 MiB 0.0 s write-changed 0 calls 0 MiB 0.0 s collect 0 calls 0 MiB 0.0 s verify 1 calls 0 MiB 0.0 s query 0 calls 0 MiB 0.0 s collect-memo hits 0, collect epochs 0 collect-dirty 0 tracker waits 0 / 0 | arena 0x10000+0xfbf
[guestmem] read 15 calls 0 MiB 0.0 s compare 0 calls 0 MiB 0.0 s write 44 calls 0 MiB 0.0 s write-changed 0 calls 0 MiB 0.0 s collect 0 calls 0 MiB 0.0 s verify 1444 calls 55 MiB 0.0 s query 0 calls 0 MiB 0.0 s collect-memo hits 0, collect epochs 0 collect-dirty 0 tracker waits 0 / 66 | arena 0x1000
[textures] sampled created: 0 from storage images, 0 cleared on the GPU, 0 snapshots (0 snapshot reads over recorded writes inside cachedTexture, 0 storage-path fallbacks); stage-A records 0: 0 fast hits, 0 full lookups; storage images 0 hits, 0 created, 0 own-object refreshes; image tables 0 reused
[guestmem] read 135 calls 6 MiB 0.0 s compare 0 calls 0 MiB 0.0 s write 44 calls 0 MiB 0.0 s write-changed 15 calls 0 MiB 0.0 s collect 0 calls 0 MiB 0.0 s verify 110137 calls 598 MiB 0.2 s query 0 calls 0 MiB 0.0 s collect-memo hits 0, collect epochs 0 collect-dirty 0 tracker waits 0 / 74705 | aren
[bufferpool] small: 0 hits, 0 misses, 0 evictions, 0 retained (0 MiB); large: 0 hits, 0 misses, 0 evictions, 0 retained (0 MiB); device: 0 hits, 0 misses, 0 evictions, 0 retained (0 MiB of 512); images: 0 hits, 0 misses, 0 evictions, 0 retained (0 MiB of 128)
[buffers] image mirrors: 0 ranges (0.0 MiB, 0 writable, 0 heap 0.0 MiB), 0 address-based builds served, 0 descriptor sub-ranges bound, 0 sparse heaps bound, 0 rebuilds, 33637 refreshes: 0 blocks compared, 0 copied, 0 refresh syncs; heap refills 0, unwatched heaps 33637, 0 heap mirrors evicted for bu
[descriptors] layouts 0 hits / 0 created, sets 0 from 0 pools and 0 dedicated pools, samplers 0 hits / 0 created
[dcc] 54 scans, 0.0 MiB scanned, 0 memo hits, 0 flush syncs, 0.0 ms; uncompressed keys stored: 0 on the GPU (0 with an unaligned head or tail), 17 on the CPU; key proofs: 0 proved, 0 scanned, 0 unstable
Unstable on main (7, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_array_layer_target_cpu: failed in 2 of the last 10 main runs
agc_driver_graphics: failed in 3 of the last 10 main runs
agc_driver_job_manager_compute_capacity: failed in 8 of the last 10 main runs
agc_driver_pipeline_journal: failed in 9 of the last 10 main runs
agc_driver_two_sample_alpha_to_coverage_sample_mask_export: failed in 5 of the last 10 main runs
agc_submit_progress: failed in 9 of the last 10 main runs
agc_submit_progress_no_timeline: failed in 9 of the last 10 main runs
Failing on main too (10, not counted against this PR)
agc_driver_alpha_to_coverage_sample_mask_export
agc_driver_guest_memory_lifetime_direct
agc_driver_image_table
agc_driver_native_depth_bda_clear
agc_driver_native_depth_buffer_clear
agc_driver_native_depth_clears
agc_driver_native_multisample_depth
agc_driver_submit_progress
guest_mmap_executable
guest_socket_options_multicast
Passed on retry (1, failed in the parallel run, passed when re-run with a 360 s timeout; not counted against this PR)
agc_driver_emulated_color_compare_srgb_decode: Timeout in the parallel run; also passed only on retry in 45 other runs in the last 7 days
Validation IDs already present on main (4 IDs in 805 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (805 tests): agc_compute_pipeline_replay, agc_driver, agc_driver_address_draw_space_reuse, agc_driver_address_draw_space_reuse_held, agc_driver_address_draw_space_reuse_off, agc_driver_address_draw_space_reuse_transitions, agc_driver_address_draw_space_reuse_verify, agc_driver_address_passes, and 797 more
VUID-vkCmdCopyImage-srcImage-01548 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store_image_copy, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_plane_partially_unmapped_plane, agc_driver_depth_plane_unmapped_plane, and 3 more
VUID-vkCmdCopyImage-srcImage-01551 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store_image_copy, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_plane_partially_unmapped_plane, agc_driver_depth_plane_unmapped_plane, and 3 more
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (2 tests): agc_driver_prepared_exports, agc_driver_srgb8_color_target
Skipped (71)
agc_driver_bda_reads_shadowed_results: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_bda_reads_shadowed_results_per_build: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_copied_writer_label_order_drain: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_gcn_display_present: skipped, no display: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
agc_driver_image_table_vouched_lookups: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a watched imported table cannot be vouched for
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_ngg_vertex_wave_reduction: skipped, s3 describes a 32-lane wave only on 32-lane subgroups, and the device has 64 lanes
agc_driver_recorded_draw_staging: skipped, the device does not keep host imports write-watched, so the target is never resident
agc_driver_scattered_runs: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_driver_unit_shadow_budget: skipped, the device does not import watched host memory for unit shadows
agc_driver_vertex_elected_atomic_max: skipped, the device runs vertex programs in subgroups, so they keep their cross-lane reductions
agc_host_import_sparse: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_idle_publish_wait: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a forced watch of the import reads its submissions as CPU stores
agc_import_settle_initial_dcc: skipped, the device has no deferred settle of host imports: imports under 1 MiB wait for one only on Windows
agc_shadowed_key_stores: skipped, the device imports no watched host memory under a unit shadow
agc_small_tiled_shadow_label: skipped, host imports are unavailable: the test block is not imported and watched
agc_storage_clear_hand_over: skipped, the device imports no watched host memory for the clear-key hand-over
agc_storage_pending_key_refresh: skipped, refreshes over a pending key store are not testable here
agc_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
guest_http_uri_locale: 
guest_net_ctl: skipped, the host has no IPv4 address
guest_net_ctl_disconnected: skipped, the host has no IPv4 address
guest_video_out_color_space: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_device_capability: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_hdr: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_high_frame_rate: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_host_resolution_disabled: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROL
Reproduce
git fetch origin b5644e160f5596522221f2df822a511fd4fe9e12 e772fb25cc72ee5faf77847f06bbc69533016e82
git checkout e772fb25cc72ee5faf77847f06bbc69533016e82 && git merge --no-ff b5644e160f5596522221f2df822a511fd4fe9e12
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1
# the failing tests, on this merge and on main:
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc_graphics_profile_draw)$' --parallel 1 -V

Automated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@JJenkx

JJenkx commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

On the AMD report above (head b5644e1 merged onto e772fb2, tested 2026-11-05 16:24 UTC): its one "new" failure is agc_graphics_profile_draw, which hit the test's 60 s timeout. The same report lists it among the slow tests at 60.4 s.

That run predates a fix. #16552, merged 2026-11-07 as b9beef9c25, raises agc_graphics_profile_draw's CTest TIMEOUT from 60 to 300 in agc_driver_graphics_tests.cmake. This PR changes only libc's asctime_s/ctime_s argument checks and doesn't touch AGC, so I read this as stale pre-fix CI that needs a rerun on current main, not a failure caused by this PR.

AI-assisted: yes.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 12, 2026
JJenkx and others added 2 commits November 11, 2026 23:31
Take main's out-of-line constraint handler declarations in SonyCrt.hpp
and drop the per-module handler sentence main removed from the debt
entry; the asctime_s and ctime_s changes are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since main 3728cf4 libc and libSceAmpr share one constraint handler,
so each sceAmprAsctimeS violation made while the recording handler is
installed calls it too. Check each of those calls with its message
instead of letting them inflate the next libc count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 12, 2026
@oneandonlydean
oneandonlydean merged commit 5c1b00d into boykopovar:main Nov 13, 2026
24 of 25 checks passed
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…et-pubkey

* origin/main: (153 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…xtension-stack

* origin/main: (561 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
#	docs/dev/debt/libSceLibreSsl3.md
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…pp-messaging

* origin/main: (901 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…-quic

* origin/main: (213 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…x-set0-chain

* origin/main: (62 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…t-accept-state

* origin/main: (177 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…j2txt

* origin/main: (794 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl3.md
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…string-loaders

* origin/main: (794 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl3.md
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
* origin/main: (55 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  test(libSceCamera): harden sceCameraGetAttribute and Report getter pointer tests
  fix(libSceCamera): return PARAM from sceCameraGetAttribute for unreadable attribute pointer
  fix(libc): build the category condition call and the call-trace test with Clang
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…x-add1-chain-cert

* origin/main: (794 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl3.md
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…blic-key-dup

* origin/main: (672 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	docs/dev/debt/libSceLibreSsl3.md
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…do-verify

* origin/main: (794 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl3.md
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…ic-transport-params

* origin/main: (672 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl3.md
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…printing

* origin/main: (672 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl3.md
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…nt-dup

* origin/main: (794 commits)
  fix(tests): include cerrno in GuestPfs.cpp (boykopovar#19524)
  fix(libSceNet): return EAGAIN when a connect timeout runs out, as a PS5 does (boykopovar#18837)
  fix(libkernel): apply close-on-exec when opening files (boykopovar#18384)
  feat(libkernel_sys): implement sceKernelGetGenuineProsperoSystemSwVersion (boykopovar#17891)
  feat(libSceUsbStorage): mount a host folder as a USB volume with ANYPS5_STORAGE_FOLDER (boykopovar#17653)
  feat(libSceAjmi): implement inline and run batch aliases (boykopovar#16283)
  revert: socket error precedence coverage (boykopovar#14472) (boykopovar#19489)
  fix(libc): open a run report folder that refuses reading but allows search on macOS
  fix(libSceVdecCore): bound map block count, copy per block, and document fallbacks
  docs(libSceNpWebApi): record unmeasured pointer fallbacks in request and init exports
  fix(libSceAvPlayer): bound uri.length and document unmeasured pointer fallbacks
  perf(agc): reserve a physical core each for the draw committer and the draw finisher on Linux (boykopovar#19187)
  docs(libSceAudio3d): record unmeasured sceAudio3dCreateSpeakerArray pointer fallback
  fix(libc): check asctime_s and ctime_s arguments as titles' libc.prx does (boykopovar#12574)
  fix(libSceNpTrophy): reject unwritable handle and platinum id outputs
  feat(libSceDepth): answer handles that are not open as firmware 13.42 does (boykopovar#19260)
  feat(libSceSharePlay): answer before initialization as firmware 13.42 does (boykopovar#19129)
  feat(libSceNKWebKit): implement WTF PlayStation platform defaults (boykopovar#19322)
  feat(libSceIcu): implement UTF-16 search and memory primitives (boykopovar#10967)
  feat(libSceCommonDialog): answer clients without an implementation as firmware 13.42 does (boykopovar#19220)
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl3.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants