feat(libSceLibreSsl3): complete callable declarations and parent forwarding #12369
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12369"
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 kyon-eth on 2026-10-28T11:22:50Z.
What
Declare 183 missing callable exports: 57 identified names and 126 literal NID aliases. All 183 new entries unconditionally call
NotImplemented_nid_no_patch; none is a new runtime implementation. Their signatures remain unverified placeholders. Add Windows forwarding for 395 existinglibSceLibreSslproviders through ABI-transparent IAT tail jumps, preserving argument registers, stack and return path. Other hosts retain dependency lookup. This accounts for the 665 callable NIDs as 87 existing direct entries, 395 parent providers and 183 new declarations. Forwarding retains the parent implementations and their existing limitations.These declarations improve import discovery only; calling an unsupported entry still throws. No implemented-coverage increase or title unblock is claimed.
Tested
Review fix (2026-10-28),
99e59a3d00: removed all 395 raw.drectvestrings. The existingAPS5_EXPORTglobal aliases are sufficient for MinGW automatic DLL exports. Forwarding instruction bytes are unchanged. Clang-generated COFF linked through LLVM's GNU-style PE driver retains all 395 NID aliases and parent imports after production patching. GNU MinGW ld and Windows execution are not available locally; the reviewer's actual-MinGW reproduction established the directive-free control, and a rerun is requested on this head.3a40945e62.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Refreshed Windows gate
The hosted Windows check passes for corrected head
99e59a3d00. The reviewer also recompiled and linked that exact directive-free source with the repository MinGW toolchain and confirmed the alias export. These resolve the reported linker defect; no Windows runtime behavior is claimed.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T11:29:46Z.
Review: COMMENTED
I compiled both
AdditionalExports.cppandParentExports.cppfrom exact head4f5fec1awith MinGW GCC (-std=c++20 -Wall -Wextra -Werror); both passed. Object inspection confirms the first NID alias and IAT tail-jump symbols are emitted. Exact-head conventions, intake and eligibility pass; Windows CI is still running, and this is not a full DLL link or runtime test, so I have not approved.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T11:31:56Z.
Review: CHANGES_REQUESTED
Blocking Windows link failure in
ParentExports.cpp. I compiled the exact-head file to COFF with the repo MinGW GCC toolchain, then linked it against a temporary import library containing the 395 referenced parent symbols. The link fails while processing the generated.drectveexports (unrecognized directives andcannot exporterrors for the NID names, including names containing+/-). As a control, I removed only the object’s.drectvesection and repeated the same link: it succeeded, and the output DLL contains+MuYdJPypkE_nid_no_patch_cut. The existingAPS5_EXPORTalias emits the required COFF symbol; the added raw.drectvestrings are not accepted by the MinGW linker used by the Windows CI. Please make the directives toolchain-correct or limit them to the linker that needs them, then rerun the Windows link/build. The current Windows hosted job is still running, but the local exact-source link failure is reproducible.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T11:44:03Z.
Review: COMMENTED
Rechecked the exact new head
99e59a3d00dfce6333abd2c0e8cef2592ec455f6. The only code change from the failing head removes the 395 raw.drectvestrings and retains the existingAPS5_EXPORTaliases. I recompiledParentExports.cppwith the repository MinGW GCC (-std=c++20 -Wall -Wextra -Werror), linked it with the same temporary import-only parent library, and inspected the resulting DLL: the link now succeeds and+MuYdJPypkE_nid_no_patch_cutis present. This reproduces the prior control against the corrected exact source and resolves my linker blocker. Refreshed conventions, eligibility, labels/report and the hosted Windows build are still pending, so this is a COMMENTED re-review rather than approval.