feat(libSceSsl): declare two callable exports #13468

Closed
kyon-eth wants to merge 3 commits from upstream-pr/13468 into main
kyon-eth commented 2026-10-30 16:01:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kyon-eth on 2026-10-30T16:01:57Z.


What

Declare two additional callable libSceSsl exports with NIDs observed in both version-labelled inventories. Their names, signatures and behavior are unverified; both declarations throw through NotImplemented_nid_no_patch. No runtime functionality or game unblock is claimed.

Tested

  • macOS: export source syntax with the project mbedTLS user configuration, repository conventions, public-header audit and PR diff whitespace checks pass.
  • The open-PR checker could not compare #12688, #12700 and #12965 because they already conflict with current main. Manual review of their SSL source and debt changes found no reference to the two NIDs. Direct merge previews reported a conflict in libkernel/Socket/src/Udp.cpp, not the shared SSL files. The overlap checklist remains unchecked until those branches can be fully compared.
  • No full product build, Linux or Windows run, console run or title run.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5087258516 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13468). Originally posted by [kyon-eth](https://github.com/kyon-eth) on 2026-10-30T16:01:57Z. --- ### What Declare two additional callable `libSceSsl` exports with NIDs observed in both version-labelled inventories. Their names, signatures and behavior are unverified; both declarations throw through `NotImplemented_nid_no_patch`. No runtime functionality or game unblock is claimed. ### Tested - macOS: export source syntax with the project mbedTLS user configuration, repository conventions, public-header audit and PR diff whitespace checks pass. - The open-PR checker could not compare #12688, #12700 and #12965 because they already conflict with current main. Manual review of their SSL source and debt changes found no reference to the two NIDs. Direct merge previews reported a conflict in `libkernel/Socket/src/Udp.cpp`, not the shared SSL files. The overlap checklist remains unchecked until those branches can be fully compared. - No full product build, Linux or Windows run, console run or title run. ### Checklist - [ ] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-19 13:48:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T13:48:14Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head ed4c0e19d226c7d37dc61cb1a34ad35c76431d6a. Read the prepared diff and all changed lines through repo_read.py; no build or tests were run.

Results

Check Result Note
Changed-line review passed All four changed files read
Build and tests not run No execution environment available
NID inventory validation not run No independent inventory source checked

Findings

Blocking

None.

Non-blocking

  • The two added exports are explicitly import-resolution placeholders with unverified signatures and behavior. Keep them out of runtime call paths until their ABI is established (core/libs/prx/libSceSsl/Export.cpp:1436, core/libs/prx/libSceSsl/Export.cpp:1441).

Not verified

No build, tests, console or title behavior, or independent validation of the stated inventory evidence was performed. Read: core/libs/prx/libSceSsl/Export.cpp, core/libs/prx/libSceSsl/include/InventoryExports.hpp, core/libs/prx/libSceSsl/libSceSsl.hpp, and docs/dev/debt/libSceSsl.md. No changed files were excluded; all four files listed as reviewed were read.

To get this to a good state

Nothing is required. Optional: verify the NID inventory independently and document the source used.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5976201403 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13468#pullrequestreview-5976201403). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T13:48:14Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the points below are optional. ## What I ran Reviewed head `ed4c0e19d226c7d37dc61cb1a34ad35c76431d6a`. Read the prepared diff and all changed lines through `repo_read.py`; no build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Changed-line review | passed | All four changed files read | | Build and tests | not run | No execution environment available | | NID inventory validation | not run | No independent inventory source checked | ## Findings ### Blocking None. ### Non-blocking - The two added exports are explicitly import-resolution placeholders with unverified signatures and behavior. Keep them out of runtime call paths until their ABI is established (`core/libs/prx/libSceSsl/Export.cpp:1436`, `core/libs/prx/libSceSsl/Export.cpp:1441`). ## Not verified No build, tests, console or title behavior, or independent validation of the stated inventory evidence was performed. Read: `core/libs/prx/libSceSsl/Export.cpp`, `core/libs/prx/libSceSsl/include/InventoryExports.hpp`, `core/libs/prx/libSceSsl/libSceSsl.hpp`, and `docs/dev/debt/libSceSsl.md`. No changed files were excluded; all four files listed as reviewed were read. ## To get this to a good state Nothing is required. Optional: verify the NID inventory independently and document the source used.
ligmaSec commented 2026-12-03 13:22:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T13:22:33Z.

Review: COMMENTED


Compiled the branch’s export source as a Linux object and checked that it defines all 2 callable symbols from the diff. All 2 explicit NID aliases resolve to their declared function symbols in the object. Move the debt addition into a change fragment under docs/dev/debt/changes/ and let the debt fold update the roll-up.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6170615266 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13468#pullrequestreview-6170615266). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T13:22:33Z. **Review:** COMMENTED --- Compiled the branch’s export source as a Linux object and checked that it defines all 2 callable symbols from the diff. All 2 explicit NID aliases resolve to their declared function symbols in the object. Move the debt addition into a change fragment under `docs/dev/debt/changes/` and let the debt fold update the roll-up. AI-assisted: yes.

Pull request closed

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!13468
No description provided.