mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 16:40:32 +00:00
* feat(sysmodule): map libc for libkernel * ci: retry flaky Windows test * docs(libSceSysmodule): fold concurrent debt changes * feat(sysmodule): implement libc preload gate
1023 B
1023 B
libSceSysmodule
add Functional
- sceSysmodulePreloadModuleForLibkernel and sceSysmoduleMapLibcForLibkernel (libSceSysmodule) - the PS5 preload marks the relinker's already-provided system libraries ready for libc mapping instead of walking and loading the firmware's 31-module title list; the PS4 preload throws because its module list and process gates are not modelled. The PS4 map path omits its internal-process exclusion flags and exposes the title-process path. Module mapping uses
sceKernelLoadStartModule, which starts the module, in place of the firmware's unavailable__sys_dynlib_load_prx, and propagates the loader result rather than the syscall wrapper's exact error. An unreadable output pointer throws while preserving errno instead of faulting as the firmware does. Closes when: both preload module lists and PS4 process flags are modelled, the dynlib load syscall is available, and bad guest memory and loader failures are measured on a PS5.