docs(libSceRudp): record FW 10.71 ABI from console disassembly #13844
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13844"
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 ntamas94 on 2026-10-31T09:13:22Z.
What
Record firmware 10.71 (PS4)
libSceRudpfindings in its technical-debt file, from static disassembly of the console's ownlibSceRudp.sprxin a FW 10.71 dump (no console run):sceRudpAccept,sceRudpGetLocalInfo,sceRudpListen,sceRudpFlush— establishes the argument counts the existing entry noted were not established: six, six, two (int ctxId, int backlog, rejectingbacklog <= 0) and one respectively, each with a leading signed-intcontext id that returnsRUDP_ERROR_INVALID_ARGUMENT(0x80770004) when negative. The pointer/length split of the trailing arguments is not recoverable from the prologue.sceRudpGetContextStatus— new entry: confirms the(int ctxId, void *status, uint32_t size)signature, and the console validates a negative id, a nullstatus, and asizeoutside 1 to 0x30 withRUDP_ERROR_INVALID_ARGUMENTbefore the context lookup (RUDP_ERROR_NOT_INITIALIZEDbeforesceRudpInit). The current implementation is more permissive and returnsRUDP_ERROR_INVALID_CONTEXT_IDfor a negative id, missing thectxId < 0guardsceRudpGetNumberOfPacketsToReadalready has. The 0x30-byte status block is not yet mapped and is smaller thansceRudpGetStatus's 0xF8-byte one.sceRudpGetContextBufferStatus— its 13.60 NIDKvNtKQLDgVkis absent from the FW 10.71 export table, so the export is PS5-era and did not exist on PS4 10.71.Docs only, no code change. The
sceRudpGetContextStatusimplementation divergence is documented, not fixed (follow-up if wanted). Addresses the request in #13682; the live 0x30 status layout is still unmeasured, so this does not fully close it.Tested
Not tested on hardware. Static disassembly of the FW 10.71 dump's
libSceRudp.sprx(SysV AMD64 prologue analysis); the argument counts ofsceRudpGetRemoteInfoindependently match its existing 4-argument declaration inExport.cpp. Docs-only change; builds unaffected.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs — n/a, docs only.mdfiles or images added to the repository — edits an existing debt file onlyImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T09:23:30Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
The disassembly supports the firmware 10.71 observations, but absence from that single PS4 export table does not establish that
sceRudpGetContextBufferStatusis PS5-era.What I ran
Reviewed head
9895ac94fecb4b93bd82520ade014bbd97a30498. GitHub reports PR base809c7fa2dfb1b21e2b31b3114b7d51bc14ee88ab; fresh checks and the clean merge preview used currentmainatbeb7ce3c4a5ff81765d438e523b1dd386d947dc8. Environment: Linux x86_64, Python 3.11.2, Git 2.39.5; this documentation-only change does not require a build.Results
main.main.KvNtKQLDgVktosceRudpGetContextBufferStatus, with signature status unknown.Selected unedited command output
Conventions:
Merge preview:
13.60 inventory row:
Findings
Blocking
The debt entry says the export “did not exist on PS4 10.71 and is PS5-era.” The evidence described here establishes presence in the PS5 13.60 inventory and absence from the PS4 10.71 export table; it does not establish the export's first firmware or rule out a later PS4 release. Please narrow the wording to those two observed facts and say the introduction firmware is unknown, or provide evidence covering the broader claim.
Suggested wording:
Non-blocking
The remaining 10.71 argument-count and
sceRudpGetContextStatuschecks are consistent with the PR description and the linked issue reports. The 0x30-byte live status layout remains explicitly unmeasured, as the PR states.Sources
Not verified
No independent disassembly of the FW 10.71 module was performed in this review. The issue's FW 13.42 emulator probe is author-reported, not a console run. No code build or runtime test was run; neither applies to this documentation-only diff.
To get this to a good state
Please narrow the platform-era claim to the verified firmware snapshots or provide evidence for the broader claim. I will rerun the same documentation checks on the updated head.
Pull request closed