feat(libSceLibcInternal): export sys_siglist and sys_nsig #4469
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4469"
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 arcwiser on 2026-10-12T12:46:23Z.
What
Export the FreeBSD 11.4
sys_siglisttable andsys_nsigcount fromlibSceLibcInternal. The table contains the 32 descriptions from signal 0 throughSIGUSR2, matching the ABI imported by PS5CEMU-HAR.Add a guest regression test that reads both data exports through their NIDs and verifies representative entries and the count.
This carries screamm's signal-list commit from issue #4463 with authorship preserved. A follow-up documentation-only commit places the technical-debt entry beside the existing signal handling entries to avoid an unrelated open-PR conflict.
Addresses the
sys_siglistandsys_nsigpart of #4463.Tested
BUILD_TESTING=ONguest_signal_list_testsand its 80-step dependency target successfullyctest --test-dir build -R '^guest_signal_list$' --output-on-failure(3/3 passed)python tools/check_conventions.py --base origin/maingit diff --check origin/mainpython tools/check_test_registration.py build(706 executables, none unregistered)Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-12T14:19:07Z.
On the "predicted" note in the checklist: PS5CEMU-HAR (PPSA99360, catalog 3.5.0) does not stop on these two exports at load on Windows. Windows 11 (26300), WinLibs GCC 15.2.0, Release, relinked with
--windows --trap-sdk-syscall-stubs:mainc6efe068a+ #3787 + screamm'spthread_setaffinity_npcommit018524d52alone, withoutsys_siglist/sys_nsig:unresolved ELF import HNnWdT43ues from libSceLibcInternal.prx(swscanf, #4467).mainf8dee0595+ #3787 + screamm's whole branch (018524d52and827a8c87, the commit this PR carries): the sameswscanfstop.So for this title
Unblocks: noneis accurate; the order ispthread_setaffinity_np→swscanf→__umodti3. The full chain is in https://github.com/boykopovar/AnyPS5/pull/4467#issuecomment-6125744655.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-13T10:55:48Z.
Windows validation with title evidence (Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release,
BUILD_TESTING=ON, full build includinglibs; basemaind379bfd0with #5025 applied for the title runs (without it currentmaincannot loadlibkernel_sys.prxon Windows, #4877)):9732f433merged ontod379bfd0(trivial conflicts: theCMakeLists.txtsource list now holds bothGetopt.cppandSignalList.cpp, the test block sits afterguest_fminf, and the debt bullet moves todocs/dev/debt/libSceLibcInternal.mdas the debt-file convention requires). Same lines as my827a8c87.guest_signal_list3/3; suite 688/689; conventions andgit diff --checkpass.PS5CEMU-HAR (PPSA99360): alone it still stops earlier at
5KWrg7-ZqvE(#4514); onmain+ #4514 + #4467 without this PR it stops atFAIL: unresolved ELF import yCdGspbNHZ8 from libSceLibcInternal.prx(sys_siglist), so this PR is needed; with all three the title runs the whole minute atFPS: 59.93 (3483).Imported from boykopovar/AnyPS5. Originally posted by p3n1cillin on 2026-10-13T14:38:36Z.
Title run with this PR: Windows 11, MinGW GCC 15.2.0 (WinLibs), Release, on
main3faa9cb40merged with this PR and the other open PRs the catalog titles need; PS5CEMU-HAR (PPSA99360) from its catalog release, converted with--trap-sdk-syscall-stubs(it has a forbidden inline syscall otherwise),eboot.binkept inapp0.tools/import_audit.pylists no absent import for PS5CEMU-HAR and it runs the whole 60 s with no exception.mainincore/libs/prx/libSceLibcInternal/CMakeLists.txt(mainaddedGetopt.cpp,Spawn.cppand theguest_fminftest next toSignalList.cppandguest_signal_list; keeping both sides builds) and indocs/dev/TechnicalDebt.md(now split intodocs/dev/debt/<library>.md).AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T01:20:15Z.
Rebased onto main to resolve the conflicts in
core/libs/prx/libSceLibcInternal/CMakeLists.txtafter #4592 and indocs/dev/TechnicalDebt.mdafter #4411 (the entry is now indocs/dev/debt/libSceLibcInternal.md); no other change.