mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 17:11:09 +00:00
2.9 KiB
2.9 KiB
libSceCompanionHttpd technical debt
Unknown function info
- sceCompanionHttpdOptParamInitialize (libSceCompanionHttpd) - the option block is taken as 0x60 bytes: titles fill a work memory pointer at +0x08, its size at +0x10 and a temporary data mount point at +0x58 after
sceCompanionHttpdOptParamInitialize. Its other fields and the defaults the console writes are unknown, sosceCompanionHttpdOptParamInitializezeroes the 0x60 bytes and rejects a null block withINVALID_PARAM; returningINVALID_PARAMfor an unwritable block is a host-safety fallback as console behavior for unwritable memory has not been measured - sceCompanionHttpdAddHeader, sceCompanionHttpdSetStatus, sceCompanionHttpdSetBody (libSceCompanionHttpd) - the PS5 13.60 exports at NIDs
8pWltDG7h6A,w7oz0AWHpT4andh3OvVxzX4qMeach consist ofxor eax, eax; retinlibSceCompanionHttpd.sprx(SHA-256BA52B40AB6B88596E4FA4B4D5A66D8E8E38B5CD43C08D3882730D7C2C565E293); their typed declarations agree with the public CompanionHttpd ABI. They return zero without reading or writing their arguments. Response construction remains unsupported - sceCompanionHttpdGet2ndScreenStatus, sceCompanionHttpdGetUserId, sceCompanionHttpdInitialize2, sceCompanionHttpdRegisterRequestBodyReceptionCallback, sceCompanionHttpdRegisterRequestCallback2, sceCompanionHttpdUnregisterRequestBodyReceptionCallback (libSceCompanionHttpd) - in firmware 13.42
libSceCompanionHttpd.sprx(sha25677a5991f2e112d7ce34f3580c651ef1978fc11f847e4a7da4049b87b3d489767at offsets 0x160, 0x1b0, 0x1d0, 0x1e0, 0x230, 0x240), each export isxor eax, eax; ret, returning 0 without reading arguments or state. Their typed signatures and companion server operations remain unverified. - sceCompanionHttpdInitialize, sceCompanionHttpdTerminate, sceCompanionHttpdRegisterRequestCallback, sceCompanionHttpdUnregisterRequestCallback, sceCompanionHttpdStart, sceCompanionHttpdStop, sceCompanionHttpdGetEvent (libSceCompanionHttpd) - in firmware 13.42
libSceCompanionHttpd.sprx(sha25677a5991f2e112d7ce34f3580c651ef1978fc11f847e4a7da4049b87b3d489767at offsets 0x150, 0x170, 0x1a0, 0x1c0, 0x180 and 0x190) the first six arexor eax, eax; ret, andsceCompanionHttpdGetEventat 0x220 ismov $0x80e40008, %eax; ret. They read no argument and keep no state: the six return 0, andsceCompanionHttpdGetEventreturnsNO_EVENTwithout writing the event. No server is started and the request callback is never called. Their typed signatures follow shadPS4's header and are not verified