docs(debt): name the HTTP/2 init arguments that titles pass #14236
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14236"
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 xXPBSXx on 2026-11-01T02:33:38Z.
What
The
sceHttp2Initdebt entry gives two console measurements (a count of 0 returns0x817B11FE, a count of 1 with a 64 KiB pool returns0x817B121D) and says that the smallest accepted pool is not measured; AnyPS5 rejects a count of 0, throws for a negative one and does not check the pool. This adds one sentence with the arguments the titles pass:Changed:
docs/dev/debt/libSceHttp2.md, one existing entry; the existing text is unchanged. No code change.So none of the calls with a constant count reaches the count-0 error or the throw for a negative count, and none of the calls with a constant pool size uses the 64 KiB pool that was measured; whether the console accepts their pools is what the entry leaves open. Two of those calls (PPSA01285 at
0xf3a957and PPSA01325 at0x18b5a28) pass a 1 MiB pool, the size for which the entry's console run with a count of 1 produced no result before the runner's timeout.Count (script and output, one line per call site with title, address and value):
38 titles import
sceHttp2Initand all 38 call it directly: 45 direct calls, no tail jumps, no non-stub call sites. The two calls with a computed count are PPSA26223 at0x137434dand PPSA27752 at0x132176d.Method: for every direct call to the import stub the bytes before the call are decoded and the last write to the argument register (
ecxfor the count,edxfor the pool size) decides:xorof the register with itself or amovof an immediate is a constant, any other write is "computed", no write in the window is "unreadable", and decodings that disagree are "ambiguous". All three mean "not shown to be a constant", which is why the sentence says so for the other calls; that includes the one ambiguous pool size (PPSA02225 at0x8c6819, 512 KiB from 15 of 17 start offsets and "computed" from the other 2). Only the titles' own executables are read.Overlap
All 1692 open PRs were checked on 2026-11-01 at 00:37 UTC against
maincc26ab4438. Twenty-four others changedocs/dev/debt/libSceHttp2.mdorExport.cpp; none changes this entry orsceHttp2Init. Only #11470 conflicts with this change: it rewrites the WebSocket entry on the line before this one. It goes first (see the comment there). #14212, #12456, #11611 and #11586 conflict withmainwith or without this change. Checked once more on 2026-11-01 at 02:32 UTC againstmaincf79276fee: none of the 12 pull requests opened since 00:30 UTC changes libSceHttp2 files, and #11470 still conflicts with this change.Tested
Documentation only.
tools/check_conventions.py --base upstream/mainpasses; based onmaincc26ab4438, and it merges withmaincf79276feewithout a conflict (checked 2026-11-01 02:32 UTC). Not built, not run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)AI-assisted (Claude Code).
🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T02:37:53Z.
Review: APPROVED
Reviewed — looks good
The new sentence accurately limits its claim to statically verified constant arguments, and the linked inventory provides the per-title call-site evidence.
What I ran
Reviewed head
5281b2c01c1c37f0ac066991bc87b5acd231e879against currentmaincf79276fee2f042feb6a7c71d0d6a27e9cfe2592; the merge preview is clean. This is a one-file documentation-only change. Environment: Debian Linux x86-64, Python 3.11.2.Results
Findings
Blocking
None found.
Non-blocking
The declared #11470 ordering remains in effect because both PRs edit adjacent lines in the same debt file. The exact dependency head is not included here; update this branch after #11470 lands.
Sources
Not verified
I did not independently rerun the call-site inventory or run a build. The repository convention check and merge preview passed.