docs(debt): add call-site evidence for the arguments of sceAgcDebugRaiseException #10919
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10919"
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 AlexFigas on 2026-10-25T10:01:16Z.
What
The debt entry for
sceAgcDebugRaiseExceptionsays the logged exception id may be leftover register contents, because OpenAGC declares no arguments. Astro Bot (PPSA21564 01.007.000) settles this: it sets two arguments itself. The entry now records the call and keeps only what is still open, the second argument's type and meaning. No code changes.The following is read from the disassembly of the unwrapped eboot (virtual addresses), not measured:
This function is the callback the title's command buffers get when none is given:
+0x20, or this function when the argument is null (lea r9, [rip+0x35]/test rcx, rcx/cmovne r9, rcx). In that case the user data stored at+0x28is null.Tested
Documentation only.
python3 tools/check_conventions.py --base origin/mainpasses.python3 tools/pr_overlap.py --branch docs/agc-debug-exception-call-sitereported #10048, which inserts itssceAgcFuseShaderHalves_0200entry directly above this entry and does not change this entry. The conflict is textual only.Depends on: #10048, posted on #10048). Merging #10048's headcb3bfca6ddintomain66e6772ca2and this PR's headb76e593ef3on top conflicts only in that hunk; once #10048 merges I'll rebase and keep both entries, #10048's unchanged followed by this one.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)