feat(appinstutil): add missing inventory exports #13077

Merged
Celegans12 merged 1 commit from upstream-pr/13077 into main 2026-10-30 10:33:14 +00:00
Celegans12 commented 2026-10-30 00:18:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-30T00:18:07Z.


What

Add the eight-record unreserved missing named group for the existing libSceAppInstUtil host, using LIBRARIES.md and its per-library metadata, pinned to bfec40deb4c47a17d7603ee2bc79aa6862c0c56b.

Export NID
sceAppInstUtilCheckLatestPatch2 +78trVvdQVs
sceAppInstUtilAppGetIrremovableAppList2 4s4aW4Rnv08
sceAppInstUtilGetAddons2 KXhNVXaVPgw
sceAppInstUtilInstallPatch2 LKn1-kgoTEA
sceAppInstUtilAppUnInstall3 MY+htcCxP0A
sceAppInstUtilGetPatchInstallStatus2 a5SESfNdyL0
sceAppInstUtilAppRequestMoveApps2 k1ugAupXfzA
sceAppInstUtilGetContentSize3 oToUim0TPY4

Every added function immediately throws through NotImplemented_nid_no_patch. The parameterless int declarations are unknown-ABI import placeholders, not recovered prototypes or working installer behavior. The technical debt records these limitations. No title compatibility or Ghost of Yōtei progress is claimed.

This extends the populated dedicated host and its canonical header. Existing source and debt establish the installer IPC service owner; maintainer commits 99e5cb5c1a87ab6cb0243db562d9655d8b4b484e and 964fe1116862dfc743a804e8982620dc9662f9cf restored argument slots for older calls. That evidence does not establish these eight signatures or behavior. Every existing definition is preserved, and no SDK/title replacement module, shared source, CMake or third-party code is added.

Tested

Prepared on Linux x86-64 from upstream main d65bff2679b627e6c1dde84f2e95af0bece3c476.

  • All eight exact pinned metadata records and independently recomputed SHA1/reversed-byte/base64 NIDs match; global main ownership and live 1,437-open-PR preflight found no candidate owner or export reservation.
  • Manual true-base three-way comparison against current peers #12539 (50513e0136c4b3ec320b0aedcc13da0ca13679f9) and #8346 (b1e6cc92dd9f6e75e98601c6013672972c1c18ad) merged all three owned files cleanly in both directions (12 comparisons), with zero candidate name/NID intersections. The group is placed away from their edits. Final unchanged branch overlap scan: The unchanged tools/pr_overlap.py --repo boykopovar/AnyPS5 --branch feat/appinstutil-inventory-exports-20261030 --jobs 4 completed against 1444 open PRs and reported No overlap with open pull requests.
  • Closed #8193 was author-closed to free a PR slot, with no review rejection; its 85 added names/NIDs have no intersection with these eight.
  • python3 tools/check_conventions.py --base origin/main: passed.
  • python3 core/libs/tests/test_public_headers.py --audit-only: passed; this audits unique reachable declarations without compiling headers.
  • git diff --check: passed. Removing the eight added bodies/declarations and debt bullet reproduces each original file byte-for-byte.
  • Native target libSceAppInstUtil built successfully in the configured Release runtime build with BUILD_TESTING=ON. Validation commit 4b80ce72b705b206fdab51e724568472500c8a5a, based on d65bff2679b627e6c1dde84f2e95af0bece3c476, combines four independent topics (ShellUIUtil 1, RnpsAppMgr 8, Acm 11 and AppInstUtil 8; 28 exports total). The existing guest_acm CPU regression passed on the baseline (1/1) and changed build; the changed run also passed public_headers (2/2 total). That CPU regression exercises prior ACM behavior; this service has no direct behavior test in the focused set. This topic’s modified source, public header and debt files are byte-identical to those in the validation commit.
  • Standard NID patching succeeded for libSceAppInstUtil. Dynamic-symbol inspection confirmed all 8 new NIDs are absent from its baseline patched library and occur exactly once each in its changed patched library.
  • The unchanged PatchedLibraries.cpp test source, compiled as a standalone loader, loaded all 6/6 staged modules with zero failures before and after the change: the four topic libraries plus libc and libkernel. This checks dependency resolution and loading without invoking the new unknown-ABI exports.

No direct AppInstUtil runtime regression target was found in current main. Patched-library loading checks dependency integrity, not installer behavior or the unknown ABIs. No Windows, GPU, PS5 hardware, title, Ghost of Yōtei or full-suite validation is claimed.

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
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5077472882 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13077). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-30T00:18:07Z. --- ### What Add the eight-record unreserved missing named group for the existing `libSceAppInstUtil` host, using [LIBRARIES.md](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/bfec40deb4c47a17d7603ee2bc79aa6862c0c56b/LIBRARIES.md) and its [per-library metadata](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/bfec40deb4c47a17d7603ee2bc79aa6862c0c56b/data/firmware-13.60/libsceappinstutil-783ade3c34.jsonl), pinned to `bfec40deb4c47a17d7603ee2bc79aa6862c0c56b`. | Export | NID | | --- | --- | | `sceAppInstUtilCheckLatestPatch2` | `+78trVvdQVs` | | `sceAppInstUtilAppGetIrremovableAppList2` | `4s4aW4Rnv08` | | `sceAppInstUtilGetAddons2` | `KXhNVXaVPgw` | | `sceAppInstUtilInstallPatch2` | `LKn1-kgoTEA` | | `sceAppInstUtilAppUnInstall3` | `MY+htcCxP0A` | | `sceAppInstUtilGetPatchInstallStatus2` | `a5SESfNdyL0` | | `sceAppInstUtilAppRequestMoveApps2` | `k1ugAupXfzA` | | `sceAppInstUtilGetContentSize3` | `oToUim0TPY4` | Every added function immediately throws through `NotImplemented_nid_no_patch`. The parameterless `int` declarations are unknown-ABI import placeholders, not recovered prototypes or working installer behavior. The technical debt records these limitations. No title compatibility or Ghost of Yōtei progress is claimed. This extends the populated dedicated host and its canonical header. Existing source and debt establish the installer IPC service owner; maintainer commits `99e5cb5c1a87ab6cb0243db562d9655d8b4b484e` and `964fe1116862dfc743a804e8982620dc9662f9cf` restored argument slots for older calls. That evidence does not establish these eight signatures or behavior. Every existing definition is preserved, and no SDK/title replacement module, shared source, CMake or third-party code is added. ### Tested Prepared on Linux x86-64 from upstream main `d65bff2679b627e6c1dde84f2e95af0bece3c476`. - All eight exact pinned metadata records and independently recomputed SHA1/reversed-byte/base64 NIDs match; global main ownership and live 1,437-open-PR preflight found no candidate owner or export reservation. - Manual true-base three-way comparison against current peers #12539 (`50513e0136c4b3ec320b0aedcc13da0ca13679f9`) and #8346 (`b1e6cc92dd9f6e75e98601c6013672972c1c18ad`) merged all three owned files cleanly in both directions (12 comparisons), with zero candidate name/NID intersections. The group is placed away from their edits. Final unchanged branch overlap scan: The unchanged `tools/pr_overlap.py --repo boykopovar/AnyPS5 --branch feat/appinstutil-inventory-exports-20261030 --jobs 4` completed against 1444 open PRs and reported `No overlap with open pull requests.` - Closed #8193 was author-closed to free a PR slot, with no review rejection; its 85 added names/NIDs have no intersection with these eight. - `python3 tools/check_conventions.py --base origin/main`: passed. - `python3 core/libs/tests/test_public_headers.py --audit-only`: passed; this audits unique reachable declarations without compiling headers. - `git diff --check`: passed. Removing the eight added bodies/declarations and debt bullet reproduces each original file byte-for-byte. - Native target `libSceAppInstUtil` built successfully in the configured Release runtime build with `BUILD_TESTING=ON`. Validation commit `4b80ce72b705b206fdab51e724568472500c8a5a`, based on `d65bff2679b627e6c1dde84f2e95af0bece3c476`, combines four independent topics (ShellUIUtil 1, RnpsAppMgr 8, Acm 11 and AppInstUtil 8; 28 exports total). The existing `guest_acm` CPU regression passed on the baseline (1/1) and changed build; the changed run also passed `public_headers` (2/2 total). That CPU regression exercises prior ACM behavior; this service has no direct behavior test in the focused set. This topic’s modified source, public header and debt files are byte-identical to those in the validation commit. - Standard NID patching succeeded for `libSceAppInstUtil`. Dynamic-symbol inspection confirmed all 8 new NIDs are absent from its baseline patched library and occur exactly once each in its changed patched library. - The unchanged `PatchedLibraries.cpp` test source, compiled as a standalone loader, loaded all 6/6 staged modules with zero failures before and after the change: the four topic libraries plus `libc` and `libkernel`. This checks dependency resolution and loading without invoking the new unknown-ABI exports. No direct AppInstUtil runtime regression target was found in current main. Patched-library loading checks dependency integrity, not installer behavior or the unknown ABIs. No Windows, GPU, PS5 hardware, title, Ghost of Yōtei or full-suite validation is claimed. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### 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 - [x] AI-assisted: yes
MarcZX10 commented 2026-10-30 00:22:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T00:22:33Z.

Review: APPROVED


Reviewed — looks good

The eight added names and NIDs match the pinned firmware inventory, and the declarations clearly identify unknown-ABI throwing placeholders rather than implemented installer behavior.

What I ran

Reviewed head c8c14f4a29a1cd6e3d7adfde097620ce513733cc against main at 02e89573e5b81146f173c5ef4f66950828686ae7; the local merge preview was clean (tree bcee94ab6dbd75f9706c67c6094e1026bb2e2c06). Linux x86-64; no build was run.

python3 tools/check_conventions.py --base upstream/main --head refs/review/pr-13077-current
git worktree add --detach /tmp/anyps5-review-13077 refs/review/pr-13077-current
(cd /tmp/anyps5-review-13077 && python3 core/libs/tests/test_public_headers.py --audit-only)
git worktree remove /tmp/anyps5-review-13077
git diff --check d65bff2679b627e6c1dde84f2e95af0bece3c476 c8c14f4a29a1cd6e3d7adfde097620ce513733cc
git merge-tree --write-tree 02e89573e5b81146f173c5ef4f66950828686ae7 c8c14f4a29a1cd6e3d7adfde097620ce513733cc
python3 tools/nid_names.py --name sceAppInstUtilCheckLatestPatch2 --name sceAppInstUtilAppGetIrremovableAppList2 --name sceAppInstUtilGetAddons2 --name sceAppInstUtilInstallPatch2 --name sceAppInstUtilAppUnInstall3 --name sceAppInstUtilGetPatchInstallStatus2 --name sceAppInstUtilAppRequestMoveApps2 --name sceAppInstUtilGetContentSize3

Results

Check Result
Conventions Passed
Public-header audit Passed: 373 libraries and 14,015 exports audited
NID recomputation Passed: all 8 names match the PR's NIDs and pinned inventory
Patch whitespace check Passed (exit 0; no output)
Current-base merge preview Passed; clean merge
Command output
All conventions checks passed.
368 libraries, 12239 exports: unique declarations and umbrella coverage verified
bcee94ab6dbd75f9706c67c6094e1026bb2e2c06
NAME                                     NID
sceAppInstUtilAppGetIrremovableAppList2  4s4aW4Rnv08
sceAppInstUtilAppRequestMoveApps2        k1ugAupXfzA
sceAppInstUtilAppUnInstall3              MY+htcCxP0A
sceAppInstUtilCheckLatestPatch2          +78trVvdQVs
sceAppInstUtilGetAddons2                 KXhNVXaVPgw
sceAppInstUtilGetContentSize3            oToUim0TPY4
sceAppInstUtilGetPatchInstallStatus2     a5SESfNdyL0
sceAppInstUtilInstallPatch2              LKn1-kgoTEA

Sources

The pinned firmware 13.60 AppInstUtil inventory identifies these as defined exports and marks their signatures unknown.

Not verified

No build, runtime tests, console behavior, or independent ABI recovery was performed. The PR's description reports author-run build and test checks; I did not rerun those. GitHub eligibility, conventions, intake, labels, and progress-report checks were queued when I reviewed this head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5706650025 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13077#pullrequestreview-5706650025). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-30T00:22:33Z. **Review:** APPROVED --- # Reviewed — looks good The eight added names and NIDs match the pinned firmware inventory, and the declarations clearly identify unknown-ABI throwing placeholders rather than implemented installer behavior. ## What I ran Reviewed head `c8c14f4a29a1cd6e3d7adfde097620ce513733cc` against `main` at `02e89573e5b81146f173c5ef4f66950828686ae7`; the local merge preview was clean (tree `bcee94ab6dbd75f9706c67c6094e1026bb2e2c06`). Linux x86-64; no build was run. ```sh python3 tools/check_conventions.py --base upstream/main --head refs/review/pr-13077-current git worktree add --detach /tmp/anyps5-review-13077 refs/review/pr-13077-current (cd /tmp/anyps5-review-13077 && python3 core/libs/tests/test_public_headers.py --audit-only) git worktree remove /tmp/anyps5-review-13077 git diff --check d65bff2679b627e6c1dde84f2e95af0bece3c476 c8c14f4a29a1cd6e3d7adfde097620ce513733cc git merge-tree --write-tree 02e89573e5b81146f173c5ef4f66950828686ae7 c8c14f4a29a1cd6e3d7adfde097620ce513733cc python3 tools/nid_names.py --name sceAppInstUtilCheckLatestPatch2 --name sceAppInstUtilAppGetIrremovableAppList2 --name sceAppInstUtilGetAddons2 --name sceAppInstUtilInstallPatch2 --name sceAppInstUtilAppUnInstall3 --name sceAppInstUtilGetPatchInstallStatus2 --name sceAppInstUtilAppRequestMoveApps2 --name sceAppInstUtilGetContentSize3 ``` ## Results | Check | Result | | --- | --- | | Conventions | Passed | | Public-header audit | Passed: 373 libraries and 14,015 exports audited | | NID recomputation | Passed: all 8 names match the PR's NIDs and pinned inventory | | Patch whitespace check | Passed (exit 0; no output) | | Current-base merge preview | Passed; clean merge | <details> <summary>Command output</summary> ```text All conventions checks passed. 368 libraries, 12239 exports: unique declarations and umbrella coverage verified bcee94ab6dbd75f9706c67c6094e1026bb2e2c06 NAME NID sceAppInstUtilAppGetIrremovableAppList2 4s4aW4Rnv08 sceAppInstUtilAppRequestMoveApps2 k1ugAupXfzA sceAppInstUtilAppUnInstall3 MY+htcCxP0A sceAppInstUtilCheckLatestPatch2 +78trVvdQVs sceAppInstUtilGetAddons2 KXhNVXaVPgw sceAppInstUtilGetContentSize3 oToUim0TPY4 sceAppInstUtilGetPatchInstallStatus2 a5SESfNdyL0 sceAppInstUtilInstallPatch2 LKn1-kgoTEA ``` </details> ## Sources The pinned [firmware 13.60 AppInstUtil inventory](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/bfec40deb4c47a17d7603ee2bc79aa6862c0c56b/data/firmware-13.60/libsceappinstutil-783ade3c34.jsonl) identifies these as defined exports and marks their signatures unknown. ## Not verified No build, runtime tests, console behavior, or independent ABI recovery was performed. The PR's description reports author-run build and test checks; I did not rerun those. GitHub eligibility, conventions, intake, labels, and progress-report checks were queued when I reviewed this head.
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!13077
No description provided.