2026-09-01 (injector syscall trap & target resolution fix) - direct syscall elimination & PPSA title prioritization (D285)
Diagnosed hardware log failure
PPRBUG-22859: the process pid=213 directly issued a syscall 601 at 0x2000080c7:
- Syscall Trampoline Fix:
src/common/syscall.c: Fixedsys_call_initlogic which previously skippeds_ptr_syscallassignment whensceKernelDlsymresolution returned null.s_ptr_syscallnow unconditionally initializes fromargs->sys_dynlib_dlsym(guaranteed to be insidelibkernel.sprx).- Removed inline
syscallinstruction fallback insys_call. Any call without trampoline safely returns-1instead of issuing raw userlandsyscall. - Verified via disassembly:
sys_callcontains zerosyscallinstructions and exclusively dispatches viacallq *%r14intolibkernel.
- Elevation Order & Process Syscall
Unrestriction:
src/injector/injector.c: Reordered initialization sokrw_init(args)andkrw_elevate_current_process()execute BEFORE any logging (klog_write).src/injector/krw.c&src/common/krw.h: Addedkrw_elevate_process(pid_t pid)to unlock the syscall address range ([kproc + 0x3e8 -> kaddr + 0xf0] = 0,[kaddr + 0xf8] = ~0ULL) for both the injector and target process.
- Target Title Prioritization (Prevent SceSpZeroConf
Hijack):
src/injector/target.c&src/injector/target.h: Addedtarget_init(args)resolvingsceKernelGetAppInfo.- In
target_find_foreground_app(), inspectsapp_info.title_id. Explicitly prioritizes native retail PS5 games (PPSA...) first, PS4 games (CUSA...) second, and rejects system VSH daemons (NPXS...,NPXX...,.elf,Sce...). This prevents accidentally selectingNPXS40112(SceSpZeroConf) when a retail title (PPSA...) is active.
- Census Deduplication:
- Removed newly promoted
sceKernelVirtualQueryfrominclude/obscene/surface.handsceKernelAllocateMainDirectMemoryfrominclude/obscene/corpus.hto preventredefinition as different kind of symbolconflict withplatform.h.
- Removed newly promoted
Verified: make check BUILD=$HOME/obs,
make payload injector HARDWARE=1 BUILD=$HOME/obs
(9,393,592 bytes), and bash scripts/verify.sh
pass 100% clean.