libkernel: public SDK _sigintr data object has no built provider #8846
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 UnhealthyKraken on 2026-10-21T02:48:31Z.
Description
The public PS5 payload SDK declares
_sigintras an exported data object oflibkernel,libkernel_sysandlibkernel_web, but no library in a complete Windowslibsbuild provides its NIDnQVWJEGHObc. A synthetic import registry containing that public SDK interface is classified as absent bytools/import_audit.py.This is an interface-coverage report, not a claim that a retail title was run or stopped on it.
Evidence
_sigintrwith.type _sigintr, @object; the same entry exists in libkernel_sys and libkernel_web.tools/nid_names.py --name _sigintrcomputesnQVWJEGHObc; the pinned aerolib database independently maps that NID back to_sigintr._sigintris a zero-initializedsigset_tshared with siginterrupt.c.siginterruptupdates it and togglesSA_RESTART; latersignalregistrations consult it. The public SDK's sigset header defines four uint32 words. This is reference-layout/behavior evidence, not a measurement of PS5 firmware state interactions.signaldispositionSaRestart. There is no_sigintrstate.siginterruptitself is also absent from the built providers; its name/NIDTsrS8nGDQokis in the public PS5 3.20 libSceLibcInternal inventory.Reproduction
Windows x86-64, WinLibs MinGW-w64 GCC 15.2.0, Release,
BUILD_TESTING=ON, basecd700fe9ec0ec49a0394845605c3d42f2789c556. The local head also contains #8842's independentindexaddition (20e95370ae773101167081218e611cead33eac74); it changes no signal code. Built the fulllibstarget and ranpatched_libraries: 354 patched libraries loaded, zero failures. No games run.Save this synthetic, non-proprietary registry as
sigintr.registry.json:Run with a local aerolib name database:
Observed exit status 1:
Parsing all 354 patched PE export tables confirms there is no other provider, including libc. The requested kernel module itself is present; this is an export gap rather than a missing DLL or module.
Expected behavior and remaining questions
Support needs a shared data object with a verified guest layout and signal-state behavior, including its interaction with
siginterrupt, latersignalcalls and the kernel module variants. A function-shaped throwing placeholder would be the wrong ABI for this symbol, and an independent zeroed object that signal registration ignores would not establish correct behavior.The public tables do not establish module/library versions. The console's data size/alignment, cross-module aliasing and state/validation behavior have not been measured here. The FreeBSD/SDK evidence is a research lead, not a request to silently assume firmware equivalence. All-state issue/PR searches for
_sigintrandsiginterruptfound no existing topic at reporting time.AI-assisted investigation and report.
Imported from boykopovar/AnyPS5. Originally posted by UnhealthyKraken on 2026-10-21T06:00:22Z.
Independent callback-fixture check of #8872 head
0900ff6ff00b0751dda50b5ffd1663bfd8f8dfef(which includes #8866), on Windows x86-64 GCC15.2 Release: 23,055 cases match the pinned FreeBSD sequence.This is additional source-logic evidence, not an end-to-end runtime validation or a request to close this issue. The actual kernel DLL,
_sigintrexport section/extent, scoped imports, real signal delivery and concurrency were not exercised. The proposal's source suffix is compiled unchanged as a separate translation unit. Only the FreeBSD reference's fixture type/function bindings are renamed; its control flow is unchanged.The matrix covers signals1–128, flag0/1/-1/INT_MIN/INT_MAX, four initial bitmap patterns, three disposition flag patterns and successful/read-failure/install-failure paths, plus invalid signals. It checks return values, callback counts, error precedence, handler/mask preservation, all16 bitmap bytes and prefix/suffix guards. An install failure leaves the bitmap change in place, matching FreeBSD's update-before-second-sigaction sequence; a read failure leaves it unchanged.
Three deliberately broken source fragments were rejected: wrong bitmap index (case10), treating only flag1 as true (case73), and setting rather than clearing SA_RESTART (case37).
Limits / failed validation: a separate optional pre-registration C++ catch probe could not unwind the standalone executable (
runtime_error ... has no unwind data). That path is not counted as passing; the source guard is present, but actual DLL exception delivery still needs integration validation. Initial default-SEH compilation also failed; successful builds use the project's-fno-asynchronous-unwind-tablesand.eh_frame→.ehframsetup and link its own built libc for the personality helper. No console/Linux execution, proprietary binaries, games, or edits to the contributors' branches.Source-only reproducer follows. Save the pinned public sources as
pr-8872-Process.cppandfreebsd-siginterrupt.c:Generate the fragment headers and separate candidate unit with:
Save the following as
siginterrupt-logic-probe.cpp. Run without arguments for the reported23,055-case matrix; the optional argument enters the pre-registration catch probe whose standalone unwind failure is disclosed above.From a checkout root, with these fixture files in the same directory (adjust paths if using a work folder), compile using the project's MinGW toolchain:
Put the unpatched library and toolchain runtime directories on PATH before running. Output:
AI-assisted investigation and fixture; I compiled and ran the Windows matrix and the three mutants locally.
Imported from boykopovar/AnyPS5. Originally posted by UnhealthyKraken on 2026-10-21T06:21:07Z.
Native Windows follow-up on the unchanged stacked proposal #8872 at
0900ff6ff00b0751dda50b5ffd1663bfd8f8dfef(includes #8866), compared with its exact base7ab4b2e5610c3d4328c83566cba488eb82972c9c. This supplies the actual DLL registration/object-binding check missing from my earlier callback-only fixture. No author-branch edits or duplicate implementation.Results (Windows x86-64, GCC15.2 Release):
guest_signals,guest_signal_setsThe probe covers all128 signal slots, flags0/1/-1/INT_MIN/INT_MAX, four bitmap patterns, three original action-flag patterns and invalid signal endpoints. It checks return/errno, handler/mask/unrelated-flag preservation, every bitmap word/neighbor bit, zero initialization and that subsequent
signalconsults the same object._sigintris writable non-executablePAGE_WRITECOPY(0x8)in the actual PE image. My initial probe accepted only PAGE_READWRITE; I corrected that harness assertion and reran the final identical executable on both builds.Confirmed patched exports: kernel
nQVWJEGHObc, shared libcTsrS8nGDQok. Requested only the two patched library outputs; their CMake dependency graph rebuilt other unpatched libraries as well. This is not a new full354-library patched build/loader claim.The actual libc-only bootstrap test passes with the project's Windows unwind section rename and exit helper. The earlier standalone fragment bootstrap unwind failure remains a harness limitation and is not evidence of a proposal bug.
Limits: canonical kernel/shared libc only; scoped sys/web provider policy remains #8853. No concurrent state/unload-lifetime or blocking-I/O interruption/restart verification. Existing signal-suite delivery checks do not establish complete signal semantics. No own Linux/macOS/console run or firmware module/library-version verification. This evidence does not close the issue by itself.
Reproducer after configuring the project for Windows tests (use an isolated clone/build). Build baseline/test targets and preserve its
libc.prx/libkernel.prx; switch to the candidate and rebuild. Put required GCC runtime DLLs on PATH. Keep the probe executable outside either DLL directory so the directory argument selects the DLL pair.Native probe source
Actual libc-only bootstrap source
Build with
-O3 -DNDEBUG -fno-asynchronous-unwind-tables,cmake/WindowsTestExit.cpp, the candidate libc import library and-Wl,--wrap=main. Rename.eh_frameto.ehframwith objcopy; run with the candidate unpatched directory on PATH. This executable imports libc, not kernel.AI assistance: Codex was used to research, prepare and run these checks and write this comment.
Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-21T20:41:03Z.
Console measurement (PS5 FTP
192.168.0.144,/system/common/lib). Parsed each modulesDT_SYMTAB/DT_STRTAB` (no Ghidra)._sigintr(nQVWJEGHObc)st_infost_sizelibkernel.sprxf89a698bf7a0…STT_OBJECTSTB_GLOBALlibkernel_sys.sprx60921322b155…STT_OBJECTSTB_GLOBALlibkernel_web.sprx4ab93ee107e8…STT_OBJECTSTB_GLOBALString form in those modules is
nQVWJEGHObc#I#A. That matches a 16-bytesigset_t(fouruint32words) and the FreeBSD zero-init lead in #8846.Related
libSceLibcInternal.sprxhasnQVWJEGHObc#A#Bas an undefined import (st_size0,shndx0), not a provider.siginterrupt(TsrS8nGDQok) is aSTT_FUNCin LibcInternal (st_size128) and is absent from the three kernel modules` dynsym — consistent with putting the function in libc and the bitmap in libkernel (#8872 / #8866 split).No title run. AI-assisted parse of the pulled SPRX files.
Imported from boykopovar/AnyPS5. Originally posted by UnhealthyKraken on 2026-10-22T03:16:30Z.
The reported console symbol metadata corroborates the SDK's data-object classification and 16-byte extent in all three kernel modules, plus the libc consumer/provider split. I am treating this as attributed contributor evidence, not a console measurement repeated by me.
It does not by itself establish that the three providers share one runtime identity, or verify interaction with signal registration, real interrupted/restarted I/O, concurrent updates and module lifetime. Those behavior questions remain open.
#8866 and #8872 are still open at
c08e752fef22ef6afa19dd1c8b05eb3a88f83f28andb440d11cbb457f3f166499044040901abd2ba6eb. My earlier callback/native reports were explicitly against older head0900ff6ff00b0751dda50b5ffd1663bfd8f8dfef; they must not be represented as validation of these newer heads. The issue remains open until the provider/state integration is verified and merged.