refactor(prx): name 190 LibreSsl3 parent-export aliases the NID databases resolve #17299
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17299"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by dkdhanda8 on 2026-11-08T17:27:33Z.
What
189 of the 387 parent-library aliases that
libSceLibreSsl3'sParentExports.cppforwards on Windows resolve in the pinned public symbol databases and are renamed from theirlibreSsl3Forward_*placeholder names to their real export names (SSL_shutdown,AES_cfb128_encrypt,EVP_aes_192_cbc,ASN1_TIME_print, and so on). Each placeholder's explicitAPS5_EXPORTcomes off and the bare resolved name hashes to the same NID; the IAT tail-jump forwarding bodies are unchanged.Every resolved name was verified by reproducing its NID with
tools/nid_names.py'scompute_nidand matching it against aerolib.csv and the ps5rs catalog. The 14 exports currently touched by other open PRs are left untouched, andsceLibreSslInitkeeps its forwarding alias because that name is already exported by the parentlibSceLibreSsl; the remaining 191 resolvable aliases follow in a second PR that depends on this one. No behavior changes; forwarding is byte-identical.Tested
tools/check_conventions.py --base origin/mainpasses;git diff --checkis clean.-fsyntax-only(MinGW g++ 15); this environment cannot link standalone throw-using objects or build the full CMake tree, so test/CI execution is deferred to the project's rig.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); no silent stubs added.mdfiles or images added to the repository (attach them to this PR)Summary by CodeRabbit
Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-08T19:20:37Z.
Review: COMMENTED
Windows build of this head merged onto
main9fabd4aa7e, in one tree with the other open NID-naming PRs in this series (#17271, #17254, #17297, #17298 and #17303, which contains #17299); all merged cleanly. Setup: Windows 11, WinLibs GCC 15.2, Release,BUILD_TESTING=ON.guest_hmd2*,guest_user_service*,guest_icu*,guest_nkwebkit_requirements*andguest_libre_ssl*tests pass.tools/nid_names.py's own rules:APS5_EXPORTliterals, pluscompute_nidof eachAPS5_VABI, assembly and data definition that isn't_nid_no_patch. The set is identical tomain's, with no NID defined twice.__imp_*_nid_postfixit jumps to.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T17:31:14Z.
Review: COMMENTED
Reviewed — comments
The changed forwarding aliases appear mechanically consistent, but the stated rename count conflicts with the updated debt documentation and needs clarification.
What I ran
Reviewed head
94cbd5a4b085b85a870d3af012e2917893bbdd8f. No commands or tests were run; the reader was used to inspect the prepared diff and changed source.Results
Negative control
Not run; no test was run.
Findings
Blocking
None.
Non-blocking
docs/dev/debt/libSceLibreSsl3.md:65).Sources
Not verified
The pinned external NID databases and the author-reported convention, syntax-only, and diff checks were not independently verified. Build, CI, Windows loading, and runtime behavior were not tested. Read:
ParentExports.cppanddocs/dev/debt/libSceLibreSsl3.md; no changed files were excluded from the prepared bundle.To get this to a good state
Nothing is required. Optional: align the alias count in the title, description, and debt entry.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T14:35:12Z.
Review: COMMENTED
Reviewed — no blocking findings
The review materials and pinned source could not be accessed, so no formal decision is justified.
What I ran
No commands ran. The available tools did not provide shell or reader access.
Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
The PR description, commits, diff, manifest, changed file contents, and test coverage were not read. No changed files were reviewed, so correctness and the PR's stated claims remain unverified.
To get this to a good state
Nothing is required. Please provide access to the prepared review materials and pinned reader so the review can be completed.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T19:35:14Z.
Review: COMMENTED
Reviewed — comments
The changed file contains a large set of export alias renames; I did not verify every rename or run the author-reported checks, so a formal approval is not justified.
What I ran
ParentExports.cppthrough the pinned-head reader interface.Results
Findings
Blocking
None verified in the inspected portions.
Non-blocking
APS5_EXPORTis removed, but the diff retains and updates those macros. Please correct the description to match the change.Not verified
ParentExports.cppwas the only changed file listed in the manifest; no files were excluded by rule in the supplied listing.To get this to a good state
Nothing is required. Please consider correcting the description’s
APS5_EXPORTstatement and alias count.Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-28T14:36:32Z.
Review: COMMENTED
Actionable comments posted: 2
2c9ac090-4894-4b17-b6b9-38ab109edf93Reviewing files that changed from the base of the PR and between
e57e2b9930andf9c6c47404.core/libs/prx/libSceLibreSsl3/ParentExports.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-28T14:39:23Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: restore the four parent-library forwarding aliases removed from the export table.
What I ran
f9c6c47404b9cb45f26f2499c4c06b27b167e72cusing the prepared diff andrepo_read.py.Results
Findings
Blocking
core/libs/prx/libSceLibreSsl3/ParentExports.cpp:924removes theRSA_private_encryptforwarding export. The same diff also removesRSA_verify,SSL_CTX_new, andRSA_private_decryptexports (ParentExports.cpp:934,ParentExports.cpp:944,ParentExports.cpp:964). These are not simple renames: the patch deletes their asm forwarding bodies andAPS5_EXPORTentries, and the description says these unresolved aliases are meant to remain for a follow-up. Calls resolved through these NIDs will no longer find thelibSceLibreSsl3forwarding entries. Keep these four aliases until replacements are added.Non-blocking
None.
Not verified
ParentExports.cppsource and the prepared diff.files.jsonwas not available through the reader, so excluded-file metadata was not verified.To get this to a good state
Restore the four removed forwarding aliases, then rerun the reported checks on the updated head.
Pull request closed