feat(libSceLibreSsl3): implement TLS protocol list parsing #15045

Merged
atharvjairath merged 3 commits from upstream-pr/15045 into main 2026-11-06 06:47:27 +00:00
atharvjairath commented 2026-11-02 12:01:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by atharvjairath on 2026-11-02T12:01:49Z.


What

tls_config_parse_protocols now parses comma- and colon-separated lists, mixed ASCII case, leading spaces and tabs, and exclusions. The default and aggregate mask is 0x18. Explicit TLS 1.0, 1.1, 1.2 and 1.3 use bits 2, 4, 8 and 16. An exclusion reseeds an empty accumulator. On success the function writes the caller’s result before releasing the guest string. On invalid input or allocation failure it preserves the caller’s result. LibreSSL 4.0.0 parser · Protocol masks

BunnyFl reported matching mask values from firmware 13.42 disassembly. Console execution, the full firmware grammar and TLS configuration integration remain open. Contributor’s disassembly report

The aggregate names all, legacy, default, secure and tlsv1 select the same mask. A null output pointer throws. The export identifier is vu4FgwGayHY.

The source scanner classifies 23/276 bodies as implemented on main and 24/276 on this branch. The difference is the 1 export above. The scanner classifies source bodies and does not measure firmware compatibility. The additional export inventory has 174 pending entries (164 named, 10 known only by NID).

Integration order is #14992 → #15031 → #15045 → #15119 → #15406. This branch is based directly on main 6d173c1a1978. Each branch keeps its own changes. The order allows the shared CMake registrations and debt counts to be reconciled after each merge.

Tested

Validated head 38cf2740c751 against main 6d173c1a1978.

  • Linux: GCC 13.3 x86-64 under QEMU 11.0.3, 15 passed, 0 failed, 0 skipped. The upstream mixed-EVP fixture patched and loaded real modules in both library orders.
  • Windows PE: WinLibs 15.2 UCRT under Wine 9 and QEMU 11.0.3, 14 passed, 0 failed, 0 skipped. Both platforms ran the module’s registered direct tests and the owned fixture. The owned fixture completed in 0.0974964 s on Linux and 1.07463 s under Wine. Loader traces identified this branch’s module.
  • Rebuilt LibreSSL3 independently per branch. The common libc, kernel and parent LibreSSL binaries were rebuilt once per platform from sources identical across the five branches. A translation unit including the public LibreSSL3 umbrella twice compiled with warnings treated as errors on both platforms. The focused selection uses the registered timeouts and leaves the optional oracle and separate parent error-string and packaged-NID groups outside this run. Full-product, native Windows and console testing remain outside this run.
  • The first external Windows harness omitted the repository’s libc unwind post-build step. It built liblibc.dll with the .eh_frame section and exception fixtures failed. The corrected harness uses configure_windows_unwind(libc), which produces .ehfram. Windows counts above are from the corrected build.
  • Integration previews on later main 7ad9749ed0 preserved the exact branch and upstream diffs. Runtime results above are pinned to the tested base.
  • Conventions and diff checks passed. The repository-wide public-header audit exited 1 with the same five WebKit declarations reported on a separate snapshot of the tested main commit.
  • The overlap tool exited 2 and reported 54 PRs, including 31 it could not compare cleanly with main. Manual comparison of shared registrations, APIs, debt and export changes found no competing implementation of these exports.

The ownership callback fixture checks the parsed mask at release time. The earlier sequencing review still awaits re-review. Sequencing review

Both loader runs printed TLS protocol parser: 7012 cases, 195206 checks, 6955 releases, zero live allocations.

Earlier validation on 3f3eea10c41e and the historical commits cited below

Current refreshed head 3f3eea10c41e49d8f9e29fdd7521d895803c7d06 on frozen main d1ae628bc2f62459cce1e9872ba5632c938c71f2. Only debt documentation conflicted. Every original owned production/API/CMake/fixture addition and deletion is preserved; upstream ASN1_TIME_diff and all main unions remain intact. Prior reviews and CI are pinned to older heads below.

  • Linux GCC 13.3, x86-64 through native ARM QEMU 11.0.3: complete real LibreSSL3 module and all registered modern/crypto fixtures rebuilt, 12/12 passed in 0.72s.
  • Windows PE WinLibs GCC 15.2 UCRT/Wine 9 through native ARM QEMU 11.0.3: real LibreSSL3 module and all registered executables rebuilt serially (-j1), 12/12 passed in 35.82s.
  • The PR’s fixture still reports 7,012 cases / 195,206 checks / 6,955 releases / zero live allocations on both platforms (0.0821894s Linux / 3.3096s Windows PE). All 11 LibreSSL3 registrations, including new upstream time/version cases, plus crypto_memcmp are included. Actual registered timeouts are preserved. Loader traces verify each PR’s fixture loads its own rebuilt module.
  • Common libc and parent LibreSSL artifacts are reused from the freshly rebuilt, exact-source-identical d1ae628 integration, with full dependency-input equality and hashes retained. They were not rebuilt separately for each of these four PRs. The separate signature integration ran 44 Linux and 14 focused Windows tests; those are not this PR’s suite counts. This refresh does not rerun the separate parent/error-string/packaged protocol-NID groups.
  • After-commit conventions, diff check, public-header audit and twice-included standalone Linux C++20/-Werror umbrella pass. Exact overlap CLI exits 2, not an automated pass. Every currently reported external peer’s shared payload is manually compared; the report can include this PR’s own old published head, which is the same implementation being refreshed, not a competing duplicate. Full current reports and head/merge-base snapshots are retained below.

These are focused module tests, not independent native Windows, full-product, packaged-module/NID, title/homebrew or physical-console validation. Known unrelated Wine limitations remain unresolved; no assertion, timeout, gate or runtime workaround changed. The default-off oracle was not enabled. Warnings remain. No new native CI result or current approval is inferred from older heads.

Historical native Windows CI job125412612997/run41483840592 audited on main b28bb772177768f99874ca38f6252cd0139acf2a plus OLD head b67007c7f6fb0d4f01894374dcdacefb7aca2bb3: 1,982 Passed / 954 Skipped / zero Failed across 2,936 unique rows, 118.24s; all 46 LibreSSL registrations including parser passed. Separate full-build/runtime/skip-audit/graph steps were skipped. It is pinned native CI unit/runtime evidence, not a run or approval of the refreshed head. Original local Linux 41/41 and Windows PE 11/11 at 5f8125/98346 and three rejected external mutation controls remain archived. BunnyFl’s old-head review reports firmware 13.42 mask disassembly and unspecified-main nativeWindows tests; the debt retains attribution, not independent console/native-local verification. MarcZX10’s change request is not dismissed or declared approved: sequencing and conflict handling are recorded, but re-review remains outstanding. No review request or reply was sent.

Receipts: /private/tmp/anyps5-advance-20261103-0127/conflict-refresh/15045 and the shared validation-evidence.tar.gz, common-input-equality.json, heads-rebased.json, manual-shared-review.txt, peers-final and reproducible harness/scripts. Previous local/native evidence remains in the linked Nov2 receipts with its original pins.

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: #15031
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
Overlap report before the branch refresh was pushed

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 14366 docs/dev/debt/libSceLibreSsl3.md L35, L215
PR 14465 docs/dev/debt/libSceLibreSsl3.md L35
PR 14483 docs/dev/debt/libSceLibreSsl3.md L35
PR 14889 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp L668-672
core/libs/prx/libSceLibreSsl3/include/Api.hpp L293-294
docs/dev/debt/libSceLibreSsl3.md L35, L215
PR 14890 docs/dev/debt/libSceLibreSsl3.md L32, L35, L215
PR 15045 tls_config_parse_protocols core/libs/prx/libSceLibreSsl3/src/TlsProtocols.cpp
core/libs/prx/libSceLibreSsl3/tests/TlsProtocols.cpp
PR 15289 docs/dev/debt/libSceLibreSsl3.md L35
PR 15303 core/libs/prx/libSceLibreSsl3/include/Api.hpp L294
docs/dev/debt/libSceLibreSsl3.md L35
tls_config_parse_protocols
PR 15449 docs/dev/debt/libSceLibreSsl3.md L35, L215
PR 15472 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15514 docs/dev/debt/libSceLibreSsl3.md L35
PR 15591 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp L294-295
docs/dev/debt/libSceLibreSsl3.md L35, L201-202
PR 15616 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15618 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15620 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15622 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15623 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15625 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15627 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15628 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15629 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15826 docs/dev/debt/libSceLibreSsl3.md L35
PR 15831 docs/dev/debt/libSceLibreSsl3.md L35
PR 15854 docs/dev/debt/libSceLibreSsl3.md L35

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 10452 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10461 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10490 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10491 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10493 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10631 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 11146 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
docs/dev/debt/libSceLibreSsl3.md
PR 12315 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 12754 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 12928 core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 13486 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 14212 docs/dev/debt/libSceLibreSsl3.md
PR 14499 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 14612 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 14992 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15031 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15045 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
core/libs/prx/libSceLibreSsl3/src/TlsProtocols.cpp
core/libs/prx/libSceLibreSsl3/tests/TlsProtocols.cpp
docs/dev/debt/libSceLibreSsl3.md
PR 15119 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15163 core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15406 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15544 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15599 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15601 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
docs/dev/debt/libSceLibreSsl3.md
PR 15631 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15737 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15758 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15760 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15761 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15765 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15770 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15899 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5119966124 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15045). Originally posted by [atharvjairath](https://github.com/atharvjairath) on 2026-11-02T12:01:49Z. --- ### What `tls_config_parse_protocols` now parses comma- and colon-separated lists, mixed ASCII case, leading spaces and tabs, and exclusions. The default and aggregate mask is `0x18`. Explicit TLS 1.0, 1.1, 1.2 and 1.3 use bits 2, 4, 8 and 16. An exclusion reseeds an empty accumulator. On success the function writes the caller’s result before releasing the guest string. On invalid input or allocation failure it preserves the caller’s result. [LibreSSL 4.0.0 parser](https://github.com/libressl/openbsd/blob/ce488b78e0bd994780569df718596b9776ff681a/src/lib/libtls/tls_config.c#L214-L275) · [Protocol masks](https://github.com/libressl/openbsd/blob/ce488b78e0bd994780569df718596b9776ff681a/src/lib/libtls/tls.h#L30-L43) BunnyFl reported matching mask values from firmware 13.42 disassembly. Console execution, the full firmware grammar and TLS configuration integration remain open. [Contributor’s disassembly report](https://github.com/boykopovar/AnyPS5/pull/15045#pullrequestreview-5736573950) The aggregate names all, legacy, default, secure and tlsv1 select the same mask. A null output pointer throws. The export identifier is vu4FgwGayHY. The source scanner classifies 23/276 bodies as implemented on main and 24/276 on this branch. The difference is the 1 export above. The scanner classifies source bodies and does not measure firmware compatibility. The additional export inventory has 174 pending entries (164 named, 10 known only by NID). Integration order is #14992 → #15031 → #15045 → #15119 → #15406. This branch is based directly on main `6d173c1a1978`. Each branch keeps its own changes. The order allows the shared CMake registrations and debt counts to be reconciled after each merge. ### 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. --> Validated head `38cf2740c751` against main `6d173c1a1978`. - **Linux:** GCC 13.3 x86-64 under QEMU 11.0.3, 15 passed, 0 failed, 0 skipped. The upstream mixed-EVP fixture patched and loaded real modules in both library orders. - **Windows PE:** WinLibs 15.2 UCRT under Wine 9 and QEMU 11.0.3, 14 passed, 0 failed, 0 skipped. Both platforms ran the module’s registered direct tests and the owned fixture. The owned fixture completed in 0.0974964 s on Linux and 1.07463 s under Wine. Loader traces identified this branch’s module. - Rebuilt LibreSSL3 independently per branch. The common libc, kernel and parent LibreSSL binaries were rebuilt once per platform from sources identical across the five branches. A translation unit including the public LibreSSL3 umbrella twice compiled with warnings treated as errors on both platforms. The focused selection uses the registered timeouts and leaves the optional oracle and separate parent error-string and packaged-NID groups outside this run. Full-product, native Windows and console testing remain outside this run. - The first external Windows harness omitted the repository’s libc unwind post-build step. It built liblibc.dll with the .eh_frame section and exception fixtures failed. The corrected harness uses configure_windows_unwind(libc), which produces .ehfram. Windows counts above are from the corrected build. - Integration previews on later main 7ad9749ed031 preserved the exact branch and upstream diffs. Runtime results above are pinned to the tested base. - Conventions and diff checks passed. The repository-wide public-header audit exited 1 with the same five WebKit declarations reported on a separate snapshot of the tested main commit. - The overlap tool exited 2 and reported 54 PRs, including 31 it could not compare cleanly with main. Manual comparison of shared registrations, APIs, debt and export changes found no competing implementation of these exports. The ownership callback fixture checks the parsed mask at release time. The earlier sequencing review still awaits re-review. [Sequencing review](https://github.com/boykopovar/AnyPS5/pull/15045#pullrequestreview-5736515196) Both loader runs printed `TLS protocol parser: 7012 cases, 195206 checks, 6955 releases, zero live allocations`. <details> <summary>Earlier validation on 3f3eea10c41e and the historical commits cited below</summary> Current refreshed head `3f3eea10c41e49d8f9e29fdd7521d895803c7d06` on frozen main `d1ae628bc2f62459cce1e9872ba5632c938c71f2`. Only debt documentation conflicted. Every original owned production/API/CMake/fixture addition and deletion is preserved; upstream ASN1_TIME_diff and all main unions remain intact. Prior reviews and CI are pinned to older heads below. - Linux GCC 13.3, x86-64 through native ARM QEMU 11.0.3: complete real LibreSSL3 module and all registered modern/crypto fixtures rebuilt, **12/12 passed in 0.72s**. - Windows PE WinLibs GCC 15.2 UCRT/Wine 9 through native ARM QEMU 11.0.3: real LibreSSL3 module and all registered executables rebuilt serially (`-j1`), **12/12 passed in 35.82s**. - The PR’s fixture still reports **7,012 cases / 195,206 checks / 6,955 releases / zero live allocations** on both platforms (0.0821894s Linux / 3.3096s Windows PE). All 11 LibreSSL3 registrations, including new upstream time/version cases, plus crypto_memcmp are included. Actual registered timeouts are preserved. Loader traces verify each PR’s fixture loads its own rebuilt module. - Common libc and parent LibreSSL artifacts are reused from the freshly rebuilt, exact-source-identical `d1ae628` integration, with full dependency-input equality and hashes retained. They were not rebuilt separately for each of these four PRs. The separate signature integration ran 44 Linux and 14 focused Windows tests; those are not this PR’s suite counts. This refresh does not rerun the separate parent/error-string/packaged protocol-NID groups. - After-commit conventions, diff check, public-header audit and twice-included standalone Linux C++20/-Werror umbrella pass. Exact overlap CLI exits **2**, not an automated pass. Every currently reported external peer’s shared payload is manually compared; the report can include this PR’s own old published head, which is the same implementation being refreshed, not a competing duplicate. Full current reports and head/merge-base snapshots are retained below. These are focused module tests, not independent native Windows, full-product, packaged-module/NID, title/homebrew or physical-console validation. Known unrelated Wine limitations remain unresolved; no assertion, timeout, gate or runtime workaround changed. The default-off oracle was not enabled. Warnings remain. No new native CI result or current approval is inferred from older heads. Historical native Windows CI [job125412612997/run41483840592](https://github.com/boykopovar/AnyPS5/actions/runs/41483840592/job/125412612997) audited on main `b28bb772177768f99874ca38f6252cd0139acf2a` plus OLD head `b67007c7f6fb0d4f01894374dcdacefb7aca2bb3`: 1,982 Passed / 954 Skipped / zero Failed across 2,936 unique rows, 118.24s; all 46 LibreSSL registrations including parser passed. Separate full-build/runtime/skip-audit/graph steps were skipped. It is pinned native CI unit/runtime evidence, not a run or approval of the refreshed head. Original local Linux 41/41 and Windows PE 11/11 at 5f8125/98346 and three rejected external mutation controls remain archived. [BunnyFl’s old-head review](https://github.com/boykopovar/AnyPS5/pull/15045#pullrequestreview-5736573950) reports firmware 13.42 mask disassembly and unspecified-main nativeWindows tests; the debt retains attribution, not independent console/native-local verification. [MarcZX10’s change request](https://github.com/boykopovar/AnyPS5/pull/15045#pullrequestreview-5736515196) is not dismissed or declared approved: sequencing and conflict handling are recorded, but re-review remains outstanding. No review request or reply was sent. Receipts: `/private/tmp/anyps5-advance-20261103-0127/conflict-refresh/15045` and the shared `validation-evidence.tar.gz`, `common-input-equality.json`, `heads-rebased.json`, `manual-shared-review.txt`, `peers-final` and reproducible harness/scripts. Previous local/native evidence remains in the linked Nov2 receipts with its original pins. </details> ### 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: #15031 <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no --> <details> <summary>Overlap report before the branch refresh was pushed</summary> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 14366](https://www.github.com/boykopovar/AnyPS5/pull/14366) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L215](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L215) | | | | [PR 14465](https://www.github.com/boykopovar/AnyPS5/pull/14465) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 14483](https://www.github.com/boykopovar/AnyPS5/pull/14483) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 14889](https://www.github.com/boykopovar/AnyPS5/pull/14889) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp` [L668-672](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp#L668-L672)<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp` [L293-294](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/core/libs/prx/libSceLibreSsl3/include/Api.hpp#L293-L294)<br>`docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L215](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L215) | | | | [PR 14890](https://www.github.com/boykopovar/AnyPS5/pull/14890) | `docs/dev/debt/libSceLibreSsl3.md` [L32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L215](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L215) | | | | [PR 15045](https://www.github.com/boykopovar/AnyPS5/pull/15045) | | `tls_config_parse_protocols` | `core/libs/prx/libSceLibreSsl3/src/TlsProtocols.cpp`<br>`core/libs/prx/libSceLibreSsl3/tests/TlsProtocols.cpp` | | [PR 15289](https://www.github.com/boykopovar/AnyPS5/pull/15289) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15303](https://www.github.com/boykopovar/AnyPS5/pull/15303) | `core/libs/prx/libSceLibreSsl3/include/Api.hpp` [L294](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/core/libs/prx/libSceLibreSsl3/include/Api.hpp#L294)<br>`docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | `tls_config_parse_protocols` | | | [PR 15449](https://www.github.com/boykopovar/AnyPS5/pull/15449) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L215](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L215) | | | | [PR 15472](https://www.github.com/boykopovar/AnyPS5/pull/15472) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15514](https://www.github.com/boykopovar/AnyPS5/pull/15514) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15591](https://www.github.com/boykopovar/AnyPS5/pull/15591) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp` <br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp` [L294-295](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/core/libs/prx/libSceLibreSsl3/include/Api.hpp#L294-L295)<br>`docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L201-202](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L201-L202) | | | | [PR 15616](https://www.github.com/boykopovar/AnyPS5/pull/15616) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15618](https://www.github.com/boykopovar/AnyPS5/pull/15618) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15620](https://www.github.com/boykopovar/AnyPS5/pull/15620) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15622](https://www.github.com/boykopovar/AnyPS5/pull/15622) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15623](https://www.github.com/boykopovar/AnyPS5/pull/15623) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15625](https://www.github.com/boykopovar/AnyPS5/pull/15625) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15627](https://www.github.com/boykopovar/AnyPS5/pull/15627) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15628](https://www.github.com/boykopovar/AnyPS5/pull/15628) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15629](https://www.github.com/boykopovar/AnyPS5/pull/15629) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15826](https://www.github.com/boykopovar/AnyPS5/pull/15826) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15831](https://www.github.com/boykopovar/AnyPS5/pull/15831) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15854](https://www.github.com/boykopovar/AnyPS5/pull/15854) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | 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 10452](https://www.github.com/boykopovar/AnyPS5/pull/10452) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10461](https://www.github.com/boykopovar/AnyPS5/pull/10461) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10490](https://www.github.com/boykopovar/AnyPS5/pull/10490) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10491](https://www.github.com/boykopovar/AnyPS5/pull/10491) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10493](https://www.github.com/boykopovar/AnyPS5/pull/10493) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10631](https://www.github.com/boykopovar/AnyPS5/pull/10631) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 11146](https://www.github.com/boykopovar/AnyPS5/pull/11146) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 12315](https://www.github.com/boykopovar/AnyPS5/pull/12315) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 12754](https://www.github.com/boykopovar/AnyPS5/pull/12754) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 12928](https://www.github.com/boykopovar/AnyPS5/pull/12928) | `core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 13486](https://www.github.com/boykopovar/AnyPS5/pull/13486) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 14212](https://www.github.com/boykopovar/AnyPS5/pull/14212) | `docs/dev/debt/libSceLibreSsl3.md` | | [PR 14499](https://www.github.com/boykopovar/AnyPS5/pull/14499) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 14612](https://www.github.com/boykopovar/AnyPS5/pull/14612) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 14992](https://www.github.com/boykopovar/AnyPS5/pull/14992) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15031](https://www.github.com/boykopovar/AnyPS5/pull/15031) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15045](https://www.github.com/boykopovar/AnyPS5/pull/15045) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`core/libs/prx/libSceLibreSsl3/src/TlsProtocols.cpp`<br>`core/libs/prx/libSceLibreSsl3/tests/TlsProtocols.cpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15119](https://www.github.com/boykopovar/AnyPS5/pull/15119) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15163](https://www.github.com/boykopovar/AnyPS5/pull/15163) | `core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15406](https://www.github.com/boykopovar/AnyPS5/pull/15406) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15544](https://www.github.com/boykopovar/AnyPS5/pull/15544) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15599](https://www.github.com/boykopovar/AnyPS5/pull/15599) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15601](https://www.github.com/boykopovar/AnyPS5/pull/15601) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15631](https://www.github.com/boykopovar/AnyPS5/pull/15631) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15737](https://www.github.com/boykopovar/AnyPS5/pull/15737) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15758](https://www.github.com/boykopovar/AnyPS5/pull/15758) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15760](https://www.github.com/boykopovar/AnyPS5/pull/15760) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15761](https://www.github.com/boykopovar/AnyPS5/pull/15761) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15765](https://www.github.com/boykopovar/AnyPS5/pull/15765) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15770](https://www.github.com/boykopovar/AnyPS5/pull/15770) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15899](https://www.github.com/boykopovar/AnyPS5/pull/15899) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt` | </details>
MarcZX10 commented 2026-11-02 12:26:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T12:26:04Z.

Review: DISMISSED


Reviewed — changes requested

The parser and tests match the cited LibreSSL behavior on the cases reviewed, but this branch conflicts pairwise with two open LibreSSL3 PRs and has no agreed landing order recorded.

What I ran

Reviewed all six changed files at head 5f8125ab15cab7c1add289e86d46c11981e408ba against base 24238c4cb1a58e4ddb0596e68dc072e715f9bb17. The head merges cleanly onto that base by itself; pairwise previews with #14992 and #15031 conflict. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0. No build was run.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15045
python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base 24238c4cb1a58e4ddb0596e68dc072e715f9bb17 --head 5f8125ab15cab7c1add289e86d46c11981e408ba --json
git merge-tree --write-tree --name-only --no-messages 5f8125ab15cab7c1add289e86d46c11981e408ba 376db33f6d29241aa5cfdf6cb710bc1e7f5e8683
git merge-tree --write-tree --name-only --no-messages 5f8125ab15cab7c1add289e86d46c11981e408ba 0743ac9ca7463eae4ee47957e6b0ec86903ef238

Results

Check Result Note
Diff and conventions passed No findings
Export audit passed No findings; lexical audit only
Individual merge preview passed Clean against current main
Pairwise integration failed Conflicts with #14992 and #15031
Source and test review passed Parser follows cited grammar and masks
Local build and C++ tests not run Require a build
Hosted checks not run All six were queued
Optional precheck helpers failed Helpers absent from isolated checkout; ABI audit rerun passed
Precheck summary and raw outputs

The precheck reported diff check, conventions and individual stack preview passed. Its ABI and test-quality helper scripts could not be opened from the isolated checkout. I reran the ABI audit directly:

{
  "status": "passed",
  "findings": []
}

The convention checker printed:

All conventions checks passed.

The pairwise merge previews returned exit code 1 and listed these conflicts:

core/libs/prx/libSceLibreSsl3/CMakeLists.txt
docs/dev/debt/libSceLibreSsl3.md

They were tested against open PR #14992 at head 376db33f6d29241aa5cfdf6cb710bc1e7f5e8683 and open PR #15031 at head 0743ac9ca7463eae4ee47957e6b0ec86903ef238. Both PRs are individually clean against current main; the conflicts arise when combining them with this PR.

Negative control

Assertion Change to code under test Result
Reject incorrect masks, output mutation on errors, and late output write Author reports three separate source mutants Not run by me; author reports all three made the fixture fail

Findings

Blocking

The PR declares Depends on: none, but pairwise merge previews against open #14992 and #15031 both conflict in core/libs/prx/libSceLibreSsl3/CMakeLists.txt and docs/dev/debt/libSceLibreSsl3.md. The repository requires authors to agree which overlapping PR lands first and record the resulting dependency. Please coordinate the order across these PRs and reflect it in the applicable Depends on checklist entries; if #15045 is chosen to land first, record that order and update the dependent PRs instead. Then refresh the overlap/stack checks and resolve any resulting branch conflicts.

Non-blocking

No parser correctness defect was found in the reviewed diff. The implementation matches LibreSSL 4.0.0's leading space/tab trimming, ! exclusions, comma/colon separators, case-insensitive protocol names, default mask, and unchanged output on parse failure. The host C++ fixture is extensive and registered, but I did not run it.

Sources

Not verified

No local build, CTest, or mutation control was run. The PR description reports focused Linux and Windows tests and three passing negative controls; these remain author-reported. All six hosted checks were queued at the final snapshot. Console masks, protocol compatibility and TLS interoperability remain unverified, as the PR's debt note states.

To get this to a good state

Agree and record a landing order for #15045, #14992 and #15031, update applicable dependency declarations and resolve pairwise conflicts. I will rerun the no-build checks and inspect the updated heads; approval remains withheld until required hosted checks pass.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5736515196 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15045#pullrequestreview-5736515196). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-02T12:26:04Z. **Review:** DISMISSED --- # Reviewed — changes requested The parser and tests match the cited LibreSSL behavior on the cases reviewed, but this branch conflicts pairwise with two open LibreSSL3 PRs and has no agreed landing order recorded. ## What I ran Reviewed all six changed files at head `5f8125ab15cab7c1add289e86d46c11981e408ba` against base `24238c4cb1a58e4ddb0596e68dc072e715f9bb17`. The head merges cleanly onto that base by itself; pairwise previews with #14992 and #15031 conflict. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0. No build was run. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15045 python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base 24238c4cb1a58e4ddb0596e68dc072e715f9bb17 --head 5f8125ab15cab7c1add289e86d46c11981e408ba --json git merge-tree --write-tree --name-only --no-messages 5f8125ab15cab7c1add289e86d46c11981e408ba 376db33f6d29241aa5cfdf6cb710bc1e7f5e8683 git merge-tree --write-tree --name-only --no-messages 5f8125ab15cab7c1add289e86d46c11981e408ba 0743ac9ca7463eae4ee47957e6b0ec86903ef238 ``` ## Results | Check | Result | Note | |---|---|---| | Diff and conventions | passed | No findings | | Export audit | passed | No findings; lexical audit only | | Individual merge preview | passed | Clean against current main | | Pairwise integration | failed | Conflicts with #14992 and #15031 | | Source and test review | passed | Parser follows cited grammar and masks | | Local build and C++ tests | not run | Require a build | | Hosted checks | not run | All six were queued | | Optional precheck helpers | failed | Helpers absent from isolated checkout; ABI audit rerun passed | <details><summary>Precheck summary and raw outputs</summary> The precheck reported diff check, conventions and individual stack preview passed. Its ABI and test-quality helper scripts could not be opened from the isolated checkout. I reran the ABI audit directly: ```json { "status": "passed", "findings": [] } ``` The convention checker printed: ```text All conventions checks passed. ``` The pairwise merge previews returned exit code 1 and listed these conflicts: ```text core/libs/prx/libSceLibreSsl3/CMakeLists.txt docs/dev/debt/libSceLibreSsl3.md ``` They were tested against open PR #14992 at head `376db33f6d29241aa5cfdf6cb710bc1e7f5e8683` and open PR #15031 at head `0743ac9ca7463eae4ee47957e6b0ec86903ef238`. Both PRs are individually clean against current main; the conflicts arise when combining them with this PR. </details> ## Negative control | Assertion | Change to code under test | Result | |---|---|---| | Reject incorrect masks, output mutation on errors, and late output write | Author reports three separate source mutants | Not run by me; author reports all three made the fixture fail | ## Findings ### Blocking The PR declares `Depends on: none`, but pairwise merge previews against open #14992 and #15031 both conflict in `core/libs/prx/libSceLibreSsl3/CMakeLists.txt` and `docs/dev/debt/libSceLibreSsl3.md`. The repository requires authors to agree which overlapping PR lands first and record the resulting dependency. Please coordinate the order across these PRs and reflect it in the applicable `Depends on` checklist entries; if #15045 is chosen to land first, record that order and update the dependent PRs instead. Then refresh the overlap/stack checks and resolve any resulting branch conflicts. ### Non-blocking No parser correctness defect was found in the reviewed diff. The implementation matches LibreSSL 4.0.0's leading space/tab trimming, `!` exclusions, comma/colon separators, case-insensitive protocol names, default mask, and unchanged output on parse failure. The host C++ fixture is extensive and registered, but I did not run it. ## Sources - [LibreSSL 4.0.0 `tls_config_parse_protocols` at pinned commit](https://github.com/libressl/openbsd/blob/ce488b78e0bd994780569df718596b9776ff681a/src/lib/libtls/tls_config.c#L214-L275) and [protocol masks in `tls.h` at the same commit](https://github.com/libressl/openbsd/blob/ce488b78e0bd994780569df718596b9776ff681a/src/lib/libtls/tls.h#L30-L43). - [AnyPS5 overlap and dependency rule at this head](https://github.com/boykopovar/AnyPS5/blob/5f8125ab15cab7c1add289e86d46c11981e408ba/CONTRIBUTING.md#L65-L70). - [#14992](https://github.com/boykopovar/AnyPS5/pull/14992) and [#15031](https://github.com/boykopovar/AnyPS5/pull/15031) are open peers whose exact heads were used in the pairwise previews. ## Not verified No local build, CTest, or mutation control was run. The PR description reports focused Linux and Windows tests and three passing negative controls; these remain author-reported. All six hosted checks were queued at the final snapshot. Console masks, protocol compatibility and TLS interoperability remain unverified, as the PR's debt note states. ## To get this to a good state Agree and record a landing order for #15045, #14992 and #15031, update applicable dependency declarations and resolve pairwise conflicts. I will rerun the no-build checks and inspect the updated heads; approval remains withheld until required hosted checks pass.
BunnyFl commented 2026-11-02 12:30:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-02T12:30:20Z.

Review: APPROVED


Looks right, and the masks match the PS5 module, not only LibreSSL 4.0.0.

Against tls_config.c at ce488b78. strsep(",:") becomes find_first_of(",:"), and leading spaces and tabs are skipped. On !, an empty protos becomes TLS_PROTOCOLS_ALL before masking. An unknown or empty token returns -1 without writing. The upstream base reset happens before the name lookup and here after it, but since an invalid token returns without writing, the result is the same.

Against firmware 13.42's system/common/lib/libSceLibreSsl3.sprx (sha256 ee2c529c87fe21b7ef1e5f13d10c47ee90944f52a1f848fe0995e031817c2c3a), tls_config_parse_protocols (vu4FgwGayHY) at 0x10e8b0, disassembly only:

  • A null string goes to movl $0x18, (%r14) at 0x10ea92, so the default is 0x18.
  • The negation base and the all/legacy/default/secure/tlsv1 value are mov $0x18 (0x10e945, 0x10e9bc), and the explicit versions are 2/4/8/0x10 (0x10ea3a–0x10ea48, 0x10ea22).

So the PS5 build uses the 4.0-era meaning (TLS 1.2/1.3 for all/tlsv1), not the older 3.x one where tlsv1 also set 1.0/1.1. The debt entry's "console masks unverified" could be narrowed accordingly. The module doesn't test the output pointer, so throwing on null is the documented divergence from a fault.

Tested on Windows 11, WinLibs GCC 15.2.0, Release, with head 5f8125ab15 merged onto main: guest_libressl3_tls_protocols, public_headers and check_conventions.py --base upstream/main pass.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5736573950 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15045#pullrequestreview-5736573950). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-02T12:30:20Z. **Review:** APPROVED --- Looks right, and the masks match the PS5 module, not only LibreSSL 4.0.0. **Against `tls_config.c` at `ce488b78`.** `strsep(",:")` becomes `find_first_of(",:")`, and leading spaces and tabs are skipped. On `!`, an empty `protos` becomes `TLS_PROTOCOLS_ALL` before masking. An unknown or empty token returns -1 without writing. The upstream base reset happens before the name lookup and here after it, but since an invalid token returns without writing, the result is the same. **Against firmware 13.42's `system/common/lib/libSceLibreSsl3.sprx`** (sha256 `ee2c529c87fe21b7ef1e5f13d10c47ee90944f52a1f848fe0995e031817c2c3a`), `tls_config_parse_protocols` (`vu4FgwGayHY`) at `0x10e8b0`, disassembly only: - A null string goes to `movl $0x18, (%r14)` at `0x10ea92`, so the default is `0x18`. - The negation base and the `all`/`legacy`/`default`/`secure`/`tlsv1` value are `mov $0x18` (`0x10e945`, `0x10e9bc`), and the explicit versions are `2`/`4`/`8`/`0x10` (`0x10ea3a`–`0x10ea48`, `0x10ea22`). So the PS5 build uses the 4.0-era meaning (TLS 1.2/1.3 for `all`/`tlsv1`), not the older 3.x one where `tlsv1` also set 1.0/1.1. The debt entry's "console masks unverified" could be narrowed accordingly. The module doesn't test the output pointer, so throwing on null is the documented divergence from a fault. Tested on Windows 11, WinLibs GCC 15.2.0, Release, with head `5f8125ab15` merged onto `main`: `guest_libressl3_tls_protocols`, `public_headers` and `check_conventions.py --base upstream/main` pass.
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!15045
No description provided.