feat(prx): declare exports for seven more confirmed system libraries #7840

Merged
akkadbakkad89 merged 2 commits from upstream-pr/7840 into main 2026-10-20 02:36:24 +00:00
akkadbakkad89 commented 2026-10-19 10:15:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-19T10:15:25Z.


What

Follow-up to #7835, same shape: declares the exported function names for seven more of the confirmed PS5 system libraries inventoried by bec9cf2e5, replacing each APS5_DUMMY_FUN placeholder with NotImplemented_nid_no_patch stubs:

  • libSceCompanionHttpd — 17 exports (sceCompanionHttpd*: second-screen HTTP daemon lifecycle, event, callback registration)
  • libSceOpusSilkEnc — 14 exports (sceOpusSilkEnc*: create/destroy, ctl, encode variants)
  • libSceOpusCeltEnc — 11 exports (sceOpusCeltEnc*: create/destroy, ctl, encode variants)
  • libSceShellUIUtil — 6 exports (sceShellUIUtil*: shell UI task launch/uri helpers)
  • libSceMoveTracker — 18 exports (sceMoveTracker*: controller tracking init/term, calibration, capture, state)
  • libSceCustomMusicCore — 18 exports (sceCustomMusicCore*: BGM open/close/output, system volume, events)
  • libSceHttpCache — 22 exports (sceHttpCache*: init/term, request lifecycle, retrieve/revalidate, system hooks)

106 exports total. All seven lists are now aligned to the per-module PS5 3.20 export inventory (the same source 1b5004d77 cites), not just prefix-matched from aerolib: review surfaced that 16 aerolib names (sceHttpCache*, sceOpus*Enc, sceShellUIUtil* service/debug variants) are absent from the 3.20 export tables, so they were dropped rather than declared on a prefix guess. Every prototype is declared () since no signature is verified for these libraries — the "unknown prototype" shape 1b5004d77 settled on, and each library now has a docs/dev/debt/<library>.md entry per the documentation rule.

Tested

Windows 11 worktree; configured and built under WSL gcc (Release).

  • All seven libraries compile and link as .prx; nm -D counts match exactly (17/14/11/6/18/18/22 declared sce* symbols each).
  • None of the 106 names is declared by any other core/libs/prx/ directory (set-intersection against all APS5_VABI exports on main).
  • python3 tools/check_conventions.py --base origin/main: clean; git diff --check: clean; tools/pr_overlap.py: no overlap.

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 (declaration-only change; .prx builds verified, no GPU path exercised)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4919372193 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7840). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-19T10:15:25Z. --- ### What Follow-up to #7835, same shape: declares the exported function names for seven more of the confirmed PS5 system libraries inventoried by `bec9cf2e5`, replacing each `APS5_DUMMY_FUN` placeholder with `NotImplemented_nid_no_patch` stubs: - `libSceCompanionHttpd` — 17 exports (`sceCompanionHttpd*`: second-screen HTTP daemon lifecycle, event, callback registration) - `libSceOpusSilkEnc` — 14 exports (`sceOpusSilkEnc*`: create/destroy, ctl, encode variants) - `libSceOpusCeltEnc` — 11 exports (`sceOpusCeltEnc*`: create/destroy, ctl, encode variants) - `libSceShellUIUtil` — 6 exports (`sceShellUIUtil*`: shell UI task launch/uri helpers) - `libSceMoveTracker` — 18 exports (`sceMoveTracker*`: controller tracking init/term, calibration, capture, state) - `libSceCustomMusicCore` — 18 exports (`sceCustomMusicCore*`: BGM open/close/output, system volume, events) - `libSceHttpCache` — 22 exports (`sceHttpCache*`: init/term, request lifecycle, retrieve/revalidate, system hooks) 106 exports total. All seven lists are now aligned to the per-module [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs) (the same source `1b5004d77` cites), not just prefix-matched from aerolib: review surfaced that 16 aerolib names (`sceHttpCache*`, `sceOpus*Enc`, `sceShellUIUtil*` service/debug variants) are absent from the 3.20 export tables, so they were dropped rather than declared on a prefix guess. Every prototype is declared `()` since no signature is verified for these libraries — the "unknown prototype" shape `1b5004d77` settled on, and each library now has a `docs/dev/debt/<library>.md` entry per the documentation rule. ### Tested Windows 11 worktree; configured and built under WSL gcc (Release). - All seven libraries compile and link as `.prx`; `nm -D` counts match exactly (17/14/11/6/18/18/22 declared `sce*` symbols each). - None of the 106 names is declared by any other `core/libs/prx/` directory (set-intersection against all `APS5_VABI` exports on `main`). - `python3 tools/check_conventions.py --base origin/main`: clean; `git diff --check`: clean; `tools/pr_overlap.py`: no overlap. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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 (declaration-only change; `.prx` builds verified, no GPU path exercised) - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-19 10:16:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T10:16:16Z.


Progress report (b106f6f → 7ccf4da)

📉 System libraries: 79.9% (-1.77%, +106 declared functions)

🆕 106 declared as stubs
Library Name
libSceCompanionHttpd sceCompanionHttpdAddHeader
libSceCompanionHttpd sceCompanionHttpdGet2ndScreenStatus
libSceCompanionHttpd sceCompanionHttpdGetEvent
libSceCompanionHttpd sceCompanionHttpdGetUserId
libSceCompanionHttpd sceCompanionHttpdInitialize
libSceCompanionHttpd sceCompanionHttpdInitialize2
libSceCompanionHttpd sceCompanionHttpdOptParamInitialize
libSceCompanionHttpd sceCompanionHttpdRegisterRequestBodyReceptionCallback
libSceCompanionHttpd sceCompanionHttpdRegisterRequestCallback
libSceCompanionHttpd sceCompanionHttpdRegisterRequestCallback2
libSceCompanionHttpd sceCompanionHttpdSetBody
libSceCompanionHttpd sceCompanionHttpdSetStatus
libSceCompanionHttpd sceCompanionHttpdStart
libSceCompanionHttpd sceCompanionHttpdStop
libSceCompanionHttpd sceCompanionHttpdTerminate
libSceCompanionHttpd sceCompanionHttpdUnregisterRequestBodyReceptionCallback
libSceCompanionHttpd sceCompanionHttpdUnregisterRequestCallback
libSceCustomMusicCore sceCustomMusicCoreBgmClose
libSceCustomMusicCore sceCustomMusicCoreBgmOpen
libSceCustomMusicCore sceCustomMusicCoreBgmOpen2
libSceCustomMusicCore sceCustomMusicCoreBgmOutput
libSceCustomMusicCore sceCustomMusicCoreBgmSetAudioVolume
libSceCustomMusicCore sceCustomMusicCoreBgmStart
libSceCustomMusicCore sceCustomMusicCoreBgmStop
libSceCustomMusicCore sceCustomMusicCoreGetBgmAuthorityStatus
libSceCustomMusicCore sceCustomMusicCoreGetHdcpStatus
libSceCustomMusicCore sceCustomMusicCoreGetSystemAudioVolume
libSceCustomMusicCore sceCustomMusicCorePostEvent
libSceCustomMusicCore sceCustomMusicCoreSendEvent
libSceCustomMusicCore sceCustomMusicCoreSendMulticastEvent
libSceCustomMusicCore sceCustomMusicCoreSendSpMessage
libSceCustomMusicCore sceCustomMusicCoreSetSystemAudioVolume
libSceCustomMusicCore sceCustomMusicCoreStartOperation
libSceCustomMusicCore sceCustomMusicCoreStartOperation2
libSceCustomMusicCore sceCustomMusicCoreStopOperation
libSceHttpCache sceHttpCacheClear
libSceHttpCache sceHttpCacheClearAll
libSceHttpCache sceHttpCacheCompleteRequest
libSceHttpCache sceHttpCacheCreateRequest
libSceHttpCache sceHttpCacheCreateRequestWithTag
libSceHttpCache sceHttpCacheDeleteRequest
libSceHttpCache sceHttpCacheInit
libSceHttpCache sceHttpCacheReadData
libSceHttpCache sceHttpCacheRetrieve
libSceHttpCache sceHttpCacheRetrieveWithMemoryPool
libSceHttpCache sceHttpCacheRevalidate
libSceHttpCache sceHttpCacheRevalidateWithMemoryPool
libSceHttpCache sceHttpCacheSetCacheSharing
libSceHttpCache sceHttpCacheSetData
libSceHttpCache sceHttpCacheSetQuota
libSceHttpCache sceHttpCacheSetResponseHeader
libSceHttpCache sceHttpCacheSystemClearAll
libSceHttpCache sceHttpCacheSystemInit
libSceHttpCache sceHttpCacheSystemSendStatistics
libSceHttpCache sceHttpCacheSystemShutdown
libSceHttpCache sceHttpCacheSystemTerm
libSceHttpCache sceHttpCacheTerm
libSceMoveTracker sceMoveTrackerCalibrateReset
libSceMoveTracker sceMoveTrackerCalibrateYaw
libSceMoveTracker sceMoveTrackerCameraUpdate
libSceMoveTracker sceMoveTrackerCaptureInit
libSceMoveTracker sceMoveTrackerCaptureTerm
libSceMoveTracker sceMoveTrackerControllersUpdate
libSceMoveTracker sceMoveTrackerGetState
libSceMoveTracker sceMoveTrackerGetVersion
libSceMoveTracker sceMoveTrackerGetWorkingMemorySize
libSceMoveTracker sceMoveTrackerInit
libSceMoveTracker sceMoveTrackerPlayGetImages
libSceMoveTracker sceMoveTrackerPlayGetStates
libSceMoveTracker sceMoveTrackerPlayStart
libSceMoveTracker sceMoveTrackerPlayStep
libSceMoveTracker sceMoveTrackerRecordSave
libSceMoveTracker sceMoveTrackerRecordStart
libSceMoveTracker sceMoveTrackerRecordStop
libSceMoveTracker sceMoveTrackerTerm
libSceOpusCeltEnc sceOpusCeltEncCreate
libSceOpusCeltEnc sceOpusCeltEncCreateEx
libSceOpusCeltEnc sceOpusCeltEncCtl
libSceOpusCeltEnc sceOpusCeltEncDestroy
libSceOpusCeltEnc sceOpusCeltEncEncode
libSceOpusCeltEnc sceOpusCeltEncEncodeFloat
libSceOpusCeltEnc sceOpusCeltEncEncodeFloatWithPriority
libSceOpusCeltEnc sceOpusCeltEncEncodeWithPriority
libSceOpusCeltEnc sceOpusCeltEncGetSize
libSceOpusCeltEnc sceOpusCeltEncInitialize
libSceOpusCeltEnc sceOpusCeltEncTerminate
libSceOpusSilkEnc sceOpusSilkEncCancel
libSceOpusSilkEnc sceOpusSilkEncCreate
libSceOpusSilkEnc sceOpusSilkEncCreateEx
libSceOpusSilkEnc sceOpusSilkEncCtl
libSceOpusSilkEnc sceOpusSilkEncDestroy
libSceOpusSilkEnc sceOpusSilkEncEncode
libSceOpusSilkEnc sceOpusSilkEncEncodeFloat
libSceOpusSilkEnc sceOpusSilkEncEncodeFloatWithPriority
libSceOpusSilkEnc sceOpusSilkEncEncodeFloatWithPriorityAndTimeout
libSceOpusSilkEnc sceOpusSilkEncEncodeWithPriority
libSceOpusSilkEnc sceOpusSilkEncEncodeWithPriorityAndTimeout
libSceOpusSilkEnc sceOpusSilkEncGetSize
libSceOpusSilkEnc sceOpusSilkEncInitialize
libSceOpusSilkEnc sceOpusSilkEncTerminate
... 6 more
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6264898283 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7840#issuecomment-6264898283). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T10:16:16Z. --- <!-- progress-report --> ### Progress report (b106f6f → 7ccf4da) 📉 **System libraries**: 79.9% (-1.77%, +106 declared functions) <details> <summary>🆕 106 declared as stubs</summary> | Library | Name | | - | - | | libSceCompanionHttpd | `sceCompanionHttpdAddHeader` | | libSceCompanionHttpd | `sceCompanionHttpdGet2ndScreenStatus` | | libSceCompanionHttpd | `sceCompanionHttpdGetEvent` | | libSceCompanionHttpd | `sceCompanionHttpdGetUserId` | | libSceCompanionHttpd | `sceCompanionHttpdInitialize` | | libSceCompanionHttpd | `sceCompanionHttpdInitialize2` | | libSceCompanionHttpd | `sceCompanionHttpdOptParamInitialize` | | libSceCompanionHttpd | `sceCompanionHttpdRegisterRequestBodyReceptionCallback` | | libSceCompanionHttpd | `sceCompanionHttpdRegisterRequestCallback` | | libSceCompanionHttpd | `sceCompanionHttpdRegisterRequestCallback2` | | libSceCompanionHttpd | `sceCompanionHttpdSetBody` | | libSceCompanionHttpd | `sceCompanionHttpdSetStatus` | | libSceCompanionHttpd | `sceCompanionHttpdStart` | | libSceCompanionHttpd | `sceCompanionHttpdStop` | | libSceCompanionHttpd | `sceCompanionHttpdTerminate` | | libSceCompanionHttpd | `sceCompanionHttpdUnregisterRequestBodyReceptionCallback` | | libSceCompanionHttpd | `sceCompanionHttpdUnregisterRequestCallback` | | libSceCustomMusicCore | `sceCustomMusicCoreBgmClose` | | libSceCustomMusicCore | `sceCustomMusicCoreBgmOpen` | | libSceCustomMusicCore | `sceCustomMusicCoreBgmOpen2` | | libSceCustomMusicCore | `sceCustomMusicCoreBgmOutput` | | libSceCustomMusicCore | `sceCustomMusicCoreBgmSetAudioVolume` | | libSceCustomMusicCore | `sceCustomMusicCoreBgmStart` | | libSceCustomMusicCore | `sceCustomMusicCoreBgmStop` | | libSceCustomMusicCore | `sceCustomMusicCoreGetBgmAuthorityStatus` | | libSceCustomMusicCore | `sceCustomMusicCoreGetHdcpStatus` | | libSceCustomMusicCore | `sceCustomMusicCoreGetSystemAudioVolume` | | libSceCustomMusicCore | `sceCustomMusicCorePostEvent` | | libSceCustomMusicCore | `sceCustomMusicCoreSendEvent` | | libSceCustomMusicCore | `sceCustomMusicCoreSendMulticastEvent` | | libSceCustomMusicCore | `sceCustomMusicCoreSendSpMessage` | | libSceCustomMusicCore | `sceCustomMusicCoreSetSystemAudioVolume` | | libSceCustomMusicCore | `sceCustomMusicCoreStartOperation` | | libSceCustomMusicCore | `sceCustomMusicCoreStartOperation2` | | libSceCustomMusicCore | `sceCustomMusicCoreStopOperation` | | libSceHttpCache | `sceHttpCacheClear` | | libSceHttpCache | `sceHttpCacheClearAll` | | libSceHttpCache | `sceHttpCacheCompleteRequest` | | libSceHttpCache | `sceHttpCacheCreateRequest` | | libSceHttpCache | `sceHttpCacheCreateRequestWithTag` | | libSceHttpCache | `sceHttpCacheDeleteRequest` | | libSceHttpCache | `sceHttpCacheInit` | | libSceHttpCache | `sceHttpCacheReadData` | | libSceHttpCache | `sceHttpCacheRetrieve` | | libSceHttpCache | `sceHttpCacheRetrieveWithMemoryPool` | | libSceHttpCache | `sceHttpCacheRevalidate` | | libSceHttpCache | `sceHttpCacheRevalidateWithMemoryPool` | | libSceHttpCache | `sceHttpCacheSetCacheSharing` | | libSceHttpCache | `sceHttpCacheSetData` | | libSceHttpCache | `sceHttpCacheSetQuota` | | libSceHttpCache | `sceHttpCacheSetResponseHeader` | | libSceHttpCache | `sceHttpCacheSystemClearAll` | | libSceHttpCache | `sceHttpCacheSystemInit` | | libSceHttpCache | `sceHttpCacheSystemSendStatistics` | | libSceHttpCache | `sceHttpCacheSystemShutdown` | | libSceHttpCache | `sceHttpCacheSystemTerm` | | libSceHttpCache | `sceHttpCacheTerm` | | libSceMoveTracker | `sceMoveTrackerCalibrateReset` | | libSceMoveTracker | `sceMoveTrackerCalibrateYaw` | | libSceMoveTracker | `sceMoveTrackerCameraUpdate` | | libSceMoveTracker | `sceMoveTrackerCaptureInit` | | libSceMoveTracker | `sceMoveTrackerCaptureTerm` | | libSceMoveTracker | `sceMoveTrackerControllersUpdate` | | libSceMoveTracker | `sceMoveTrackerGetState` | | libSceMoveTracker | `sceMoveTrackerGetVersion` | | libSceMoveTracker | `sceMoveTrackerGetWorkingMemorySize` | | libSceMoveTracker | `sceMoveTrackerInit` | | libSceMoveTracker | `sceMoveTrackerPlayGetImages` | | libSceMoveTracker | `sceMoveTrackerPlayGetStates` | | libSceMoveTracker | `sceMoveTrackerPlayStart` | | libSceMoveTracker | `sceMoveTrackerPlayStep` | | libSceMoveTracker | `sceMoveTrackerRecordSave` | | libSceMoveTracker | `sceMoveTrackerRecordStart` | | libSceMoveTracker | `sceMoveTrackerRecordStop` | | libSceMoveTracker | `sceMoveTrackerTerm` | | libSceOpusCeltEnc | `sceOpusCeltEncCreate` | | libSceOpusCeltEnc | `sceOpusCeltEncCreateEx` | | libSceOpusCeltEnc | `sceOpusCeltEncCtl` | | libSceOpusCeltEnc | `sceOpusCeltEncDestroy` | | libSceOpusCeltEnc | `sceOpusCeltEncEncode` | | libSceOpusCeltEnc | `sceOpusCeltEncEncodeFloat` | | libSceOpusCeltEnc | `sceOpusCeltEncEncodeFloatWithPriority` | | libSceOpusCeltEnc | `sceOpusCeltEncEncodeWithPriority` | | libSceOpusCeltEnc | `sceOpusCeltEncGetSize` | | libSceOpusCeltEnc | `sceOpusCeltEncInitialize` | | libSceOpusCeltEnc | `sceOpusCeltEncTerminate` | | libSceOpusSilkEnc | `sceOpusSilkEncCancel` | | libSceOpusSilkEnc | `sceOpusSilkEncCreate` | | libSceOpusSilkEnc | `sceOpusSilkEncCreateEx` | | libSceOpusSilkEnc | `sceOpusSilkEncCtl` | | libSceOpusSilkEnc | `sceOpusSilkEncDestroy` | | libSceOpusSilkEnc | `sceOpusSilkEncEncode` | | libSceOpusSilkEnc | `sceOpusSilkEncEncodeFloat` | | libSceOpusSilkEnc | `sceOpusSilkEncEncodeFloatWithPriority` | | libSceOpusSilkEnc | `sceOpusSilkEncEncodeFloatWithPriorityAndTimeout` | | libSceOpusSilkEnc | `sceOpusSilkEncEncodeWithPriority` | | libSceOpusSilkEnc | `sceOpusSilkEncEncodeWithPriorityAndTimeout` | | libSceOpusSilkEnc | `sceOpusSilkEncGetSize` | | libSceOpusSilkEnc | `sceOpusSilkEncInitialize` | | libSceOpusSilkEnc | `sceOpusSilkEncTerminate` | | ... | 6 more | </details>
fogydes commented 2026-10-19 12:08:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by fogydes on 2026-10-19T12:08:06Z.

Review: COMMENTED


The export coverage and clean .prx linking are great additions, and following NotImplemented_nid_no_patch(__func__) matches the project's non-silent stub requirements.

One documentation gap to address before merge:
Commit 1b5004d77 (which established the pattern of declaring unverified prototypes without parameters) paired each library change with a technical debt entry under docs/dev/debt/<library>.md (e.g. libSceAppInstUtil.md, libSceVrTracker.md).

Per CONTRIBUTING.md#documentation, unknown signatures and throwing stubs must be documented in docs/dev/debt/<name>.md. Adding entries for the seven libraries:

  • docs/dev/debt/libSceCompanionHttpd.md
  • docs/dev/debt/libSceCustomMusicCore.md
  • docs/dev/debt/libSceHttpCache.md
  • docs/dev/debt/libSceMoveTracker.md
  • docs/dev/debt/libSceOpusCeltEnc.md
  • docs/dev/debt/libSceOpusSilkEnc.md
  • docs/dev/debt/libSceShellUIUtil.md

Each can follow the standard 1b5004d77 shape:

# <library> technical debt

### Unknown function info

- [sceExportA, sceExportB, ...](../../../core/libs/prx/<library>/Export.cpp) (<library>) - names and NIDs are present in the aerolib database, but no verified prototype is known. They are declared without parameters calling NotImplemented_nid_no_patch(__func__) strictly to resolve known import tables without making an ABI claim; callers must not invoke them until prototypes are verified.

Adding these debt files will bring the PR into full alignment with conventions.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5571299849 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7840#pullrequestreview-5571299849). Originally posted by [fogydes](https://github.com/fogydes) on 2026-10-19T12:08:06Z. **Review:** COMMENTED --- The export coverage and clean `.prx` linking are great additions, and following `NotImplemented_nid_no_patch(__func__)` matches the project's non-silent stub requirements. One documentation gap to address before merge: Commit `1b5004d77` (which established the pattern of declaring unverified prototypes without parameters) paired each library change with a technical debt entry under `docs/dev/debt/<library>.md` (e.g. `libSceAppInstUtil.md`, `libSceVrTracker.md`). Per [`CONTRIBUTING.md#documentation`](https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md#documentation), unknown signatures and throwing stubs must be documented in `docs/dev/debt/<name>.md`. Adding entries for the seven libraries: - `docs/dev/debt/libSceCompanionHttpd.md` - `docs/dev/debt/libSceCustomMusicCore.md` - `docs/dev/debt/libSceHttpCache.md` - `docs/dev/debt/libSceMoveTracker.md` - `docs/dev/debt/libSceOpusCeltEnc.md` - `docs/dev/debt/libSceOpusSilkEnc.md` - `docs/dev/debt/libSceShellUIUtil.md` Each can follow the standard `1b5004d77` shape: ```markdown # <library> technical debt ### Unknown function info - [sceExportA, sceExportB, ...](../../../core/libs/prx/<library>/Export.cpp) (<library>) - names and NIDs are present in the aerolib database, but no verified prototype is known. They are declared without parameters calling NotImplemented_nid_no_patch(__func__) strictly to resolve known import tables without making an ABI claim; callers must not invoke them until prototypes are verified. ``` Adding these debt files will bring the PR into full alignment with conventions. AI-assisted: yes
akkadbakkad89 commented 2026-10-19 12:27:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-19T12:27:45Z.


Done in 7ccf4da48, plus a second pass that your 1b5004d77 pointer enabled.

While writing the debt entries I found that commit cites a per-module source — the PS5 3.20 export inventory — which is better than the flat aerolib table I had used. All seven libraries exist there, so I aligned every declaration to the inventory instead of the prefix heuristic:

  • libSceHttpCache: 29 -> 22 (dropped 7 aerolib names absent from the 3.20 table)
  • libSceOpusSilkEnc: 16 -> 14, libSceOpusCeltEnc: 12 -> 11 (dropped *GetAjmContext and a timeout variant not exported in 3.20)
  • libSceShellUIUtil: 12 -> 6 (dropped the Service*/debug names not in the inventory)
  • libSceCompanionHttpd, libSceMoveTracker, libSceCustomMusicCore: exact match already

106 exports now, each dump-verified. The seven docs/dev/debt/<library>.md files follow the 1b5004d77 shape and cite the inventory entry per library.

The removed names still exist in aerolib — presumably from other firmware revisions or a sibling module — so if a title's import audit ever names one of them for this module specifically, that's a quick re-add with a verified attribution.

Verified: all four touched libraries relink, nm -D counts match the inventory exactly (17/14/11/6/18/18/22), check_conventions clean.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6267199258 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7840#issuecomment-6267199258). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-19T12:27:45Z. --- Done in `7ccf4da48`, plus a second pass that your `1b5004d77` pointer enabled. While writing the debt entries I found that commit cites a per-module source — the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs) — which is better than the flat aerolib table I had used. All seven libraries exist there, so I aligned every declaration to the inventory instead of the prefix heuristic: - `libSceHttpCache`: 29 -> 22 (dropped 7 aerolib names absent from the 3.20 table) - `libSceOpusSilkEnc`: 16 -> 14, `libSceOpusCeltEnc`: 12 -> 11 (dropped `*GetAjmContext` and a timeout variant not exported in 3.20) - `libSceShellUIUtil`: 12 -> 6 (dropped the `Service*`/debug names not in the inventory) - `libSceCompanionHttpd`, `libSceMoveTracker`, `libSceCustomMusicCore`: exact match already 106 exports now, each dump-verified. The seven `docs/dev/debt/<library>.md` files follow the `1b5004d77` shape and cite the inventory entry per library. The removed names still exist in aerolib — presumably from other firmware revisions or a sibling module — so if a title's import audit ever names one of them for this module specifically, that's a quick re-add with a verified attribution. Verified: all four touched libraries relink, `nm -D` counts match the inventory exactly (17/14/11/6/18/18/22), `check_conventions` clean.
savvaniss commented 2026-10-19 22:08:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by savvaniss on 2026-10-19T22:08:50Z.


Heads-up on an overlap: #8112 implements eight of the libSceCompanionHttpd exports this PR declares (initialize, callback registration, start and stop, events, with no companion device ever connecting) and declares the other nine the same way you do. Whichever lands second only needs to drop its libSceCompanionHttpd part; the six other libraries here are untouched by it.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6278459931 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7840#issuecomment-6278459931). Originally posted by [savvaniss](https://github.com/savvaniss) on 2026-10-19T22:08:50Z. --- Heads-up on an overlap: #8112 implements eight of the `libSceCompanionHttpd` exports this PR declares (initialize, callback registration, start and stop, events, with no companion device ever connecting) and declares the other nine the same way you do. Whichever lands second only needs to drop its `libSceCompanionHttpd` part; the six other libraries here are untouched by it. AI-assisted: yes (Claude Code)
github-actions[bot] commented 2026-10-19 22:16:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T22:16:19Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 8112 core/libs/prx/libSceCompanionHttpd/Export.cpp L8
docs/dev/debt/libSceCompanionHttpd.md
sceCompanionHttpdAddHeader
sceCompanionHttpdGet2ndScreenStatus
sceCompanionHttpdGetEvent
sceCompanionHttpdGetUserId
sceCompanionHttpdInitialize
sceCompanionHttpdInitialize2
sceCompanionHttpdOptParamInitialize
sceCompanionHttpdRegisterRequestBodyReceptionCallback
sceCompanionHttpdRegisterRequestCallback
sceCompanionHttpdRegisterRequestCallback2
sceCompanionHttpdSetBody
sceCompanionHttpdSetStatus
sceCompanionHttpdStart
sceCompanionHttpdStop
sceCompanionHttpdTerminate
sceCompanionHttpdUnregisterRequestBodyReceptionCallback
sceCompanionHttpdUnregisterRequestCallback
docs/dev/debt/libSceCompanionHttpd.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6278576089 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7840#issuecomment-6278576089). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T22:16:19Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 8112](https://www.github.com/boykopovar/AnyPS5/pull/8112) | `core/libs/prx/libSceCompanionHttpd/Export.cpp` [L8](https://github.com/boykopovar/AnyPS5/blob/0929be5e8d32e5dcfae605e1629d4df0915a30cf/core/libs/prx/libSceCompanionHttpd/Export.cpp#L8)<br>`docs/dev/debt/libSceCompanionHttpd.md` | `sceCompanionHttpdAddHeader`<br>`sceCompanionHttpdGet2ndScreenStatus`<br>`sceCompanionHttpdGetEvent`<br>`sceCompanionHttpdGetUserId`<br>`sceCompanionHttpdInitialize`<br>`sceCompanionHttpdInitialize2`<br>`sceCompanionHttpdOptParamInitialize`<br>`sceCompanionHttpdRegisterRequestBodyReceptionCallback`<br>`sceCompanionHttpdRegisterRequestCallback`<br>`sceCompanionHttpdRegisterRequestCallback2`<br>`sceCompanionHttpdSetBody`<br>`sceCompanionHttpdSetStatus`<br>`sceCompanionHttpdStart`<br>`sceCompanionHttpdStop`<br>`sceCompanionHttpdTerminate`<br>`sceCompanionHttpdUnregisterRequestBodyReceptionCallback`<br>`sceCompanionHttpdUnregisterRequestCallback` | `docs/dev/debt/libSceCompanionHttpd.md` |
adriadam10 commented 2026-10-20 02:36:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-20T02:36:42Z.


Checked the 106 declarations against the pattern on main (78fc2c175, 1b5004d77): every stub throws via NotImplemented_nid_no_patch, prototypes are (), each library has its "Unknown function info" debt entry, and no name overlaps another open PR; merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6282024860 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7840#issuecomment-6282024860). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-20T02:36:42Z. --- Checked the 106 declarations against the pattern on main (`78fc2c175`, `1b5004d77`): every stub throws via `NotImplemented_nid_no_patch`, prototypes are `()`, each library has its "Unknown function info" debt entry, and no name overlaps another open PR; merged.
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!7840
No description provided.