Repository navigation
feat(vnainternal): add named inventory exports - #13170
oneandonlydean merged 1 commit into
Conversation
Progress report (8c8b998 → 31ddc77)📉 System libraries: 43.07% (-0.23%, +84 declared functions) 🆕 84 declared as stubs
Changed libraries (implemented exports)
|
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The change adds inventory-backed names as throwing import-resolution placeholders and records the unverified ABI details; I found no blocking issue within that stated scope.
What I ran
Head 31ddc77010bcea83829655bff757155ecb0bf290 against main at 8c8b9986204d5b1cbb23847b363df00ae832ec9c; the merge preview was clean (710d7b629fd8540f794b7b59ee6d7d960d54732a). Environment: Linux x86_64, Python 3.11.2.
git diff --check 8c8b9986204d5b1cbb23847b363df00ae832ec9c...31ddc77010bcea83829655bff757155ecb0bf290
python3 tools/check_conventions.py --base 8c8b9986204d5b1cbb23847b363df00ae832ec9c
python3 tools/nid_names.py --from-file <pinned-inventory-jsonl>
python3 tools/pr_overlap.py --branch refs/remotes/upstream/pr-13170-current --jobs 8Results
| Check | Result |
|---|---|
Merge preview with current main |
Pass; clean tree 710d7b629fd8540f794b7b59ee6d7d960d54732a |
| Diff whitespace | Pass; git diff --check returned no output |
| Conventions | Pass; All conventions checks passed. |
| Inventory/name audit | Pass; all 84 declarations matched the pinned PS5 13.60 inventory and the pinned module map; 4 other NIDs were excluded as documented |
| Header audit | Pass; 373 libraries and 14,329 exports; declarations are unique and umbrella coverage verified |
| Open PR overlap scan | Pass; scanned 1,479 open PRs and reported no overlap |
| Hosted Windows workflow | Pass (14m 8s) |
| Other hosted jobs | Linux and specialized jobs were skipped |
Local command output
[git diff --check]
[no output; exit status 0]
[python3 tools/check_conventions.py --base 8c8b9986204d5b1cbb23847b363df00ae832ec9c]
All conventions checks passed.
[python3 tools/pr_overlap.py --branch refs/remotes/upstream/pr-13170-current --jobs 8]
No overlap with open pull requests.
Negative control
| Assertion | Change to code under test | Did the new test fail? |
|---|---|---|
| PS5 VNA call signatures and runtime behavior | No behavioral assertion is included because the PR explicitly marks signatures and behavior unknown | Could not be exercised; this PR adds throwing placeholders only. |
Findings
Blocking
None found for the documented placeholder scope.
Non-blocking
The int parameterless declarations are not verified PS5 ABI signatures. The PR documents this in its technical-debt entry and states that each export throws; callers must not treat these declarations as evidence of a working VNA implementation. Replace them with verified signatures and behavior when authoritative ABI evidence becomes available.
Sources
- Export placeholders at this head
- Declarations at this head
- Technical-debt note at this head
- PS5 13.60 export inventory at pinned commit
- Pinned PS5 NID module map
Not verified
I did not compile or run local tests. The Windows hosted workflow passed; Linux and specialized hosted jobs were skipped. No PS5 console behavior, function signatures, or VNA functionality was verified.
What
Add 84 verified named
libSceVnaInternalexports from the PS5 13.60 function-stub inventory pinned atxdCloudy/PS5-13.60-Function-Stub-Library@bfec40deb4c47a17d7603ee2bc79aa6862c0c56b.The pinned physical-provider map at
cc1d586fddab576a520f226da6b2632b031e6d09assigns the inventory's exact 88-NID set tolibSceVnaInternal.sprx. Four unresolved inventory NIDs (4pvvjbiJZlM,V4B6VaIBhPc,h+wCIFVgaSU,iWRdR8YAr0k) are deliberately excluded.Each addition is an import-resolution placeholder that immediately throws through
NotImplemented_nid_no_patch; no voice-network-agent behavior is implemented. Parameter lists, return types, ABI details and semantics are unverified and are recorded in the library technical debt.Closed PR #10672 included 27 VnaInternal declarations sourced from a PS4 inventory and was closed because that source did not establish PS5 exports. This change does not use that PS4 source as evidence. Twenty-one names recur only because each is independently present as a verified name/NID binding in the pinned PS5 13.60 records:
sceVnaCancelDownloadTts,sceVnaCancelTts,sceVnaCheckCallback,sceVnaCloseTtsStream,sceVnaGetFeedbackStatus,sceVnaGetMicStatus,sceVnaGetVadState,sceVnaInitialize,sceVnaInitializeForParty,sceVnaNotify,sceVnaNotifyStatus,sceVnaOpenTtsStream,sceVnaReadTtsStream,sceVnaRegisterCallback,sceVnaRequestDownloadTts,sceVnaRequestTts,sceVnaSetDucking,sceVnaStartAnalyze,sceVnaStopAnalyze,sceVnaTerminate, andsceVnaUnregisterCallback. None of the six PS4-only names from #10672 is included.Tested
mainat8c8b9986204d5b1cbb23847b363df00ae832ec9c.python3 tools/check_conventions.py --base origin/maingit diff --checkcore/libs/prx/libSceVnaInternal/Export.cpp.tools/nid_names.py: all 84 names matched their pinned inventory NIDs.libSceVnaInternalDSO, rannid_patcher, and verified all 84 expected NIDs appeared exactly once with no extra NID-like exports.tools/pr_overlap.py: no file or export overlap across 1,475 open PRs.No PS5 hardware, title, Vna runtime, Windows, GPU or full-suite validation was performed. No library-specific behavior test exists for these throwing placeholders.
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)