feat(libSceLibreSsl3): implement the ERR library, function and reason string lookups #15628
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15628"
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 alvaroelpob on 2026-11-03T22:24:05Z.
What
Implements
ERR_lib_error_string,ERR_func_error_stringandERR_reason_error_stringin libSceLibreSsl3. They return null for every code: the firmware 13.42 run of libSceLibreSsl3 returned null for all 917 LibreSSL table codes, its string loaders are empty and the module exports noERR_load_stringsto add strings.Tested
Linux x86-64 (WSL2), Release: the full build passes and
ctest --test-dir build -j16passes 3829 of 3829 tests, including the newguest_libressl3_error_strings.python3 tools/check_conventions.py --base upstream/mainpasses. Not run on a console or in a title.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)Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-04T02:31:45Z.
Review: APPROVED
@alvaroelpob thanks. This matches the firmware 13.42 run I posted on #9535, which this PR cites. It also checks out against 13.42's
libSceLibreSsl3.sprx(objdump -T):ERR_lib_error_string,ERR_func_error_stringandERR_reason_error_stringare defined exports, and noERR_load_stringsis exported.What I ran: head
957b1a067emerged ontomain1c8c0efc8c, Windows 11, WinLibs GCC, Release:guest_libressl3_error_stringsandpublic_headerspass (2 of 2);return nullptr;changed toreturn "";:guest_libressl3_error_stringsfails;tools/check_conventions.py --base upstream/mainon the head: all checks passed;tools/pr_overlap.py --branch: no shared exports. None of the 10 PRs it couldn't compare adds these three.As on #15618, your open LibreSsl3 PRs conflict with one another on the export count line and adjacent lines.
Approving.