Repository navigation
feat(libSceCffMgr): add export placeholders - #13399
Celegans12 wants to merge 1 commit into
Conversation
AI-assisted: yes
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — changes requested
All seven named exports in this PR are already present in open PR #13355, which adds the same libSceCffMgr files; please coordinate the duplicate scope with that PR.
What I ran
I inspected PR #13399 at head 816bd7e72b831e4086e463a9ef87c4bb8a28a3b4 against base d998343ced21f2c5b9c76dc06ef3a77507311565 and compared it with open PR #13355 at head ae18972bf691108f4220dbb6fbc420294b7bc875 (base da026c70655a132031d45e2008c24f993870d801). Both target main; I did not merge either head locally. Environment: Linux, Python 3.11.2. Commands/checks:
gh pr diff 13399 --repo boykopovar/AnyPS5 --patch
gh pr diff 13355 --repo boykopovar/AnyPS5 --patch
git diff --check d998343ced21f2c5b9c76dc06ef3a77507311565...816bd7e72b831e4086e463a9ef87c4bb8a28a3b4
python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base d998343ced21f2c5b9c76dc06ef3a77507311565 --head 816bd7e72b831e4086e463a9ef87c4bb8a28a3b4 --json
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13399The patch whitespace check exited 0 with no output. The ABI audit completed. The repository precheck did not finish after about three minutes; its conventions stage was still running when I stopped the check. No build or tests were run.
Results
| Check | Result |
|---|---|
| Export overlap comparison | All seven named exports overlap with #13355. |
| ABI source audit | Passed: each name has one declaration and definition; computed NIDs are reported below. This lexical check does not verify binary ABI or runtime behavior. |
| Patch whitespace | Passed (git diff --check, exit 0). |
| Repository no-build precheck | Incomplete; convention stage did not finish after about three minutes. |
| Hosted CI | Pending when checked; not treated as a pass. |
| Build and tests | Not run. |
Export overlap comparison output
PR #13399 names: 7
DUPLICATE sceConsoleFeatureFlagManagerDebugInit
DUPLICATE sceConsoleFeatureFlagManagerEventClose
DUPLICATE sceConsoleFeatureFlagManagerEventOpen
DUPLICATE sceConsoleFeatureFlagManagerGetVersion
DUPLICATE sceConsoleFeatureFlagManagerIsOn
DUPLICATE sceConsoleFeatureFlagManagerIsWaitingReboot
DUPLICATE sceConsoleFeatureFlagManagerSetOn
PR #13355 matching names: 7
ABI audit output
{
"status": "passed",
"symbols": [
{
"name": "sceConsoleFeatureFlagManagerDebugInit",
"computed_nid": "50MCtvftvqM",
"declarations": [
"core/libs/prx/libSceCffMgr/include/Api.hpp"
],
"definitions": [
"core/libs/prx/libSceCffMgr/Export.cpp"
],
"explicit_aliases": [],
"version": "not encoded by these source declarations; not verified"
},
{
"name": "sceConsoleFeatureFlagManagerEventClose",
"computed_nid": "cWNS8YDBg50",
"declarations": [
"core/libs/prx/libSceCffMgr/include/Api.hpp"
],
"definitions": [
"core/libs/prx/libSceCffMgr/Export.cpp"
],
"explicit_aliases": [],
"version": "not encoded by these source declarations; not verified"
},
{
"name": "sceConsoleFeatureFlagManagerEventOpen",
"computed_nid": "eP0HTMy1alQ",
"declarations": [
"core/libs/prx/libSceCffMgr/include/Api.hpp"
],
"definitions": [
"core/libs/prx/libSceCffMgr/Export.cpp"
],
"explicit_aliases": [],
"version": "not encoded by these source declarations; not verified"
},
{
"name": "sceConsoleFeatureFlagManagerGetVersion",
"computed_nid": "dJrXJy9pZuE",
"declarations": [
"core/libs/prx/libSceCffMgr/include/Api.hpp"
],
"definitions": [
"core/libs/prx/libSceCffMgr/Export.cpp"
],
"explicit_aliases": [],
"version": "not encoded by these source declarations; not verified"
},
{
"name": "sceConsoleFeatureFlagManagerIsOn",
"computed_nid": "mD1xcf2VbtU",
"declarations": [
"core/libs/prx/libSceCffMgr/include/Api.hpp"
],
"definitions": [
"core/libs/prx/libSceCffMgr/Export.cpp"
],
"explicit_aliases": [],
"version": "not encoded by these source declarations; not verified"
},
{
"name": "sceConsoleFeatureFlagManagerIsWaitingReboot",
"computed_nid": "pCq+1Dq3UtA",
"declarations": [
"core/libs/prx/libSceCffMgr/include/Api.hpp"
],
"definitions": [
"core/libs/prx/libSceCffMgr/Export.cpp"
],
"explicit_aliases": [],
"version": "not encoded by these source declarations; not verified"
},
{
"name": "sceConsoleFeatureFlagManagerSetOn",
"computed_nid": "fuG73t4DqoM",
"declarations": [
"core/libs/prx/libSceCffMgr/include/Api.hpp"
],
"definitions": [
"core/libs/prx/libSceCffMgr/Export.cpp"
],
"explicit_aliases": [],
"version": "not encoded by these source declarations; not verified"
}
],
"findings": [],
"limitations": [
"This lexical audit does not parse C++ fully, prove calling-convention or binary ABI correctness, verify runtime version tables, or replace compilation.",
"An absent source declaration or explicit alias can be intentional for assembly exports, conditional platform code, or generated interfaces; inspect findings before treating them as defects."
]
}Findings
Blocking
- PR #13355 already introduces all seven named exports added here, in the same
Export.cpp, public API header, umbrella header, and debt file. That duplicate function/export scope needs to be coordinated before both PRs proceed as separate changes. Please agree on the shared implementation with #13355 and remove or otherwise resolve the duplicate scope here. This finding concerns only the seven named exports; #13355's additional exports are not duplicates introduced by this PR.
Non-blocking
- The parameter lists, return types, runtime versions, and behavior are marked unverified in this PR's debt entry; I have not independently validated them.
- The repository convention check, build, and tests remain unverified.
Sources
- #13399 export implementation at the reviewed head
- #13355 export implementation at the compared head
- #13355 public API declarations at the compared head
Not verified
- Compilation, tests, runtime behavior, binary ABI, and version-table behavior were not verified.
- The hosted checks were pending at the last check, and the local repository precheck did not complete after about three minutes.
To get this to a good state
Please coordinate with #13355 and update this PR so the two changes do not independently add the same seven exports. I will re-run the relevant checks on the updated head.
|
@Celegans12 thanks for the placeholders. #13355 (opened a few minutes earlier) adds the same library with all 14 exports from the 13.60 inventory, the 7 named ones in this PR included with the same names, so the two branches conflict in every file and this one adds nothing that is missing there. Could you close this PR, or check whether anything is absent from #13355 and put it there? |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
|
I checked the current patches and confirmed that #13355 already covers every export added here. Closing this duplicate in favor of that earlier PR. |
Progress report (d998343 → 816bd7e)📉 System libraries: 27.23% (-0.01%, +7 declared functions) 🆕 7 declared as stubs
Changed libraries (implemented exports)
|
What
Adds
libSceCffMgrwith 7 throwing export placeholders, one for every name the PS5 13.60 export inventory resolves for the library. The pinned ps5-nid-map module map assigns them to the physicallibSceCffMgr.sprxprovider. Each NID was recomputed from its name. Signatures are unknown, so each placeholder is a parameterlessintthat throws throughNotImplemented_nid_no_patch, anddocs/dev/debt/libSceCffMgr.mdrecords the gap.Tested
Not tested on a title.
python3 tools/check_conventions.py --base origin/mainpasses, andclang++ -std=c++20 -fsyntax-onlyon the library'sExport.cppis clean. Searchedmainand the heads of PRs #11000 to #13325 for the names and NIDs, and none define them.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)