docs(agc): list the AgcDriver capture, trace and validation queries as silent stubs #12797

Merged
xXPBSXx merged 1 commit from upstream-pr/12797 into main 2026-11-01 11:18:16 +00:00
xXPBSXx commented 2026-10-29 09:53:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-29T09:53:39Z.


What

Adds one entry under "Silent stubs" in docs/dev/debt/libSceAgcDriver.md:

sceAgcDriverIsCaptureInProgress, sceAgcDriverIsTraceInProgress, sceAgcDriverIsSubmitValidationEnabled (libSceAgcDriver) - return false in all cases. The console value was not measured, and what titles do with the result is unknown: the title code only turns it into a bool and returns it.

The three functions return false in State/src/Status.cpp and were in no debt file. Changed: docs/dev/debt/libSceAgcDriver.md, one entry added. No code change. A throw would stop the titles that call them, so they stay silent.

Method: for each of the 53 local titles the import table of the executable gives the import stub of each function, and the direct call instructions to it were counted in the executable's code; 21, 21 and 20 titles call them, one site each (62 sites). All 62 sites lie in one small wrapper that turns the result into a bool and returns it; a direct caller of the wrappers was found for 2 of the 62 only. 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: function pointers, library modules loaded next to the executable, and what the callers of the wrappers do.

Overlap

129 of the 1420 open pull requests on 29 October 09:26 change docs/dev/debt/libSceAgcDriver.md; none of them mentions these functions, and none changes State/src/Status.cpp. git merge-tree of this head with each of them and with main alone: the result is the same with and without this commit for all 129 (69 merge cleanly, 60 already conflict with main in that file). Measured on the file sets of all open PRs (git diff --name-only from each PR head's merge base with main).

Tested

Documentation only. python tools/check_conventions.py --base upstream/main passes; based on main 4c7d275bef (head bc2c2a4fe5; main has moved to aaccd0ba39, git merge-tree against it is clean). Not built, not run.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

AI-assisted (Claude Code).

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5065875960 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12797). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-29T09:53:39Z. --- ### What Adds one entry under "Silent stubs" in `docs/dev/debt/libSceAgcDriver.md`: > [sceAgcDriverIsCaptureInProgress, sceAgcDriverIsTraceInProgress, sceAgcDriverIsSubmitValidationEnabled](../../../core/libs/prx/libSceAgcDriver/State/src/Status.cpp) (libSceAgcDriver) - return false in all cases. The console value was not measured, and what titles do with the result is unknown: the title code only turns it into a bool and returns it. The three functions return `false` in `State/src/Status.cpp` and were in no debt file. Changed: `docs/dev/debt/libSceAgcDriver.md`, one entry added. No code change. A throw would stop the titles that call them, so they stay silent. Method: for each of the 53 local titles the import table of the executable gives the import stub of each function, and the direct `call` instructions to it were counted in the executable's code; 21, 21 and 20 titles call them, one site each (62 sites). All 62 sites lie in one small wrapper that turns the result into a bool and returns it; a direct caller of the wrappers was found for 2 of the 62 only. 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: function pointers, library modules loaded next to the executable, and what the callers of the wrappers do. ### Overlap 129 of the 1420 open pull requests on 29 October 09:26 change `docs/dev/debt/libSceAgcDriver.md`; none of them mentions these functions, and none changes `State/src/Status.cpp`. `git merge-tree` of this head with each of them and with `main` alone: the result is the same with and without this commit for all 129 (69 merge cleanly, 60 already conflict with `main` in that file). Measured on the file sets of all open PRs (`git diff --name-only` from each PR head's merge base with `main`). ### Tested Documentation only. `python tools/check_conventions.py --base upstream/main` passes; based on `main` `4c7d275bef` (head `bc2c2a4fe5`; `main` has moved to `aaccd0ba39`, `git merge-tree` against it is clean). Not built, not run. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!12797
No description provided.