docs(agc): count how local titles call sceAgcAcbMemSemaphore and sceAgcDcbMemSemaphore #12701
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12701"
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-10-29T02:59:50Z.
What
The entry then reads (the new part is its last two sentences):
Changed:
docs/dev/debt/libSceAgc.md, one existing entry extended. No code change.Method: for each of the 53 local titles the import table of the executable gives the import stub of each function, and the direct
callinstructions to it were counted in the executable's code; the instructions before each call site were read. Two independent counts (objdump on the executable and a byte scan of the registry stubs) agree on the 24 sites in the 12 titles both read; a third count over all 53 titles adds PPSA20612 (2 sites). Static counting only, nothing run on a console; no game code is attached. Per-title results and the counting script are attached to this PR. Not read: indirect calls and library modules loaded next to the executable. Whether a title reaches these calls was not measured.Overlap
Five open PRs change
docs/dev/debt/libSceAgc.md(#12475, #10736, #10048, #8314, #1060); none of their hunks touches this entry.git merge-treeof each head with this commit and withmainalone gives the same result: #12475, #10736, #10048 and #1060 merge cleanly, #8314 already conflicts withmainin that file. #11971 names the same two functions in an entry ofdocs/dev/debt/libSceAgcVsh.md, a different file. Measured on the file sets of the 1359 open PRs on 29 October 00:40 (git diff --name-onlyfrom each PR head's merge base withmain).Tested
Documentation only.
python tools/check_conventions.py --base upstream/mainpasses; based onmain3a2b919816(head44b24ddb5c;mainhas moved tob433c40f2f,git merge-treeis clean). 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