2026-09-01 (Skipping Retail-Unsafe sceKernelWrite in Loader Relocations) (D313)
Hardware Run #25 Analysis:
- Diagnosis:
rip: 0x800016e16(libkernel_base + 0x16e16,signo: 0xaSIGBUS / General Protection Fault).- In
src/probe/sections/base.c:57, the very first test in the suite (000-boot/write-returns-count) calledsceKernelWrite(1, "", 0). loader.cwas dynamically resolving the symbol"sceKernelWrite"tolibkernel_base + 0x16e00. In retail processes where file descriptor 1 (stdout) has no initialized handler, callingsceKernelWriteon fd 1 faults immediately.
- Remediation:
- Remove
sceKernelWritefrom Loader Relocations (src/injector/loader.c): RemovedsceKernelWritesymbol resolution fromloader.c. In injected retail contexts,&sceKernelWriteremainsNULL. - Automated Harness Protection
(
src/probe/harness.c): Whencheck->addressisNULL,harness.cautomatically and cleanly skips the check with"the symbol is not present in this runtime", safely protecting all subsequent test sections without executing the faulting stub.
- Remove
Verified: make payload injector HARDWARE=1
(9,411,192 bytes) compiles 100% clean with zero warnings
and zero errors.