feat(libSceNet): declare sceNetShowNetstat #2831

Merged
SleglJan merged 1 commit from upstream-pr/2831 into main 2026-10-10 18:23:26 +00:00
SleglJan commented 2026-10-10 16:15:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SleglJan on 2026-10-10T16:15:13Z.


What

Declares sceNetShowNetstat in libSceNet. PPSA11386 (007 First Light) imports it; on main 57f96fd2 it is one of the title's three missing imports, with sceSslGetCaList and sceSslFreeCaList (#2830), so the host loader refuses the title until all three exist (row 1 of #2523). The title has not been seen calling it: on the earlier base 8b393b6e, with #2830 and a fix for its next stop, the title ran to the shader stop in #1921 without calling it. The signature is unknown (shadPS4's stub has no parameters either), so it is declared without parameters and throws through NotImplemented_nid_no_patch; recorded in TechnicalDebt.

Overlap: no open pull request changes libSceNet/Export.cpp. Closed #2266 declared sceNetShowNetstatWithMemory and the other sceNetShow*WithMemory exports, not this one.

Tested

  • Linux (CachyOS, kernel 7.2.9, GCC 16.2.1), Ryzen 9 7950X3D, RTX 3080 (NVIDIA 615.71.09), Release with BUILD_TESTING=ON and ANYPS5_ENABLE_SPIRV_TOOLS=ON, this branch with #2830 on main 57f96fd2: of 701 tests, 696 pass, four video_out_flip_* tests (lifetime, reopen, controls, overlay) skip (no Vulkan in SDL's offscreen video driver), and agc_driver_dcc_keys_first_write fails, which is #2767 (NVIDIA, Linux). The patched libSceNet.prx exports WxislcDAW5I. tools/check_conventions.py --base upstream/main and git diff --check pass. No test: the export only throws, and a test that only checks the export is ruled out by CONTRIBUTING.
  • PPSA11386 v01.018.000, relinked on main 57f96fd2 and run in a bubblewrap sandbox: with this branch and #2830 the loader passes with no absent imports, and the title stops next on sceSharePlayInitialize: invalid argument (row 2 of #2523).

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 in TechnicalDebt
  • 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
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

https://claude.ai/code/session_01Fnrk5Dazjb2tLooVSpdRQq

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4812643580 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2831). Originally posted by [SleglJan](https://github.com/SleglJan) on 2026-10-10T16:15:13Z. --- ### What Declares `sceNetShowNetstat` in libSceNet. PPSA11386 (007 First Light) imports it; on `main` 57f96fd2 it is one of the title's three missing imports, with `sceSslGetCaList` and `sceSslFreeCaList` (#2830), so the host loader refuses the title until all three exist (row 1 of #2523). The title has not been seen calling it: on the earlier base 8b393b6e, with #2830 and a fix for its next stop, the title ran to the shader stop in #1921 without calling it. The signature is unknown (shadPS4's stub has no parameters either), so it is declared without parameters and throws through `NotImplemented_nid_no_patch`; recorded in TechnicalDebt. Overlap: no open pull request changes `libSceNet/Export.cpp`. Closed #2266 declared `sceNetShowNetstatWithMemory` and the other `sceNetShow*WithMemory` exports, not this one. ### Tested - Linux (CachyOS, kernel 7.2.9, GCC 16.2.1), Ryzen 9 7950X3D, RTX 3080 (NVIDIA 615.71.09), Release with `BUILD_TESTING=ON` and `ANYPS5_ENABLE_SPIRV_TOOLS=ON`, this branch with #2830 on `main` 57f96fd2: of 701 tests, 696 pass, four `video_out_flip_*` tests (lifetime, reopen, controls, overlay) skip (no Vulkan in SDL's offscreen video driver), and `agc_driver_dcc_keys_first_write` fails, which is #2767 (NVIDIA, Linux). The patched `libSceNet.prx` exports `WxislcDAW5I`. `tools/check_conventions.py --base upstream/main` and `git diff --check` pass. No test: the export only throws, and a test that only checks the export is ruled out by CONTRIBUTING. - PPSA11386 v01.018.000, relinked on `main` 57f96fd2 and run in a bubblewrap sandbox: with this branch and #2830 the loader passes with no absent imports, and the title stops next on `sceSharePlayInitialize: invalid argument` (row 2 of #2523). ### 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 in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [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] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Fnrk5Dazjb2tLooVSpdRQq
github-actions[bot] commented 2026-10-10 16:15:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T16:15:36Z.


Progress report (57f96fd → 875ff3f)

📉 System libraries: 84.49% (-0.03%, +1 declared functions)

🆕 1 declared as stubs
Library Name
libSceNet sceNetShowNetstat
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6099575395 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2831#issuecomment-6099575395). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T16:15:36Z. --- <!-- progress-report --> ### Progress report (57f96fd → 875ff3f) 📉 **System libraries**: 84.49% (-0.03%, +1 declared functions) <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libSceNet | `sceNetShowNetstat` | </details>
github-actions[bot] commented 2026-10-10 17:25:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T17:25:13Z.


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
#2854 docs/dev/TechnicalDebt.md L192
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6100221808 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2831#issuecomment-6100221808). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T17:25:13Z. --- <!-- 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 | |---|---|---|---| | #2854 | `docs/dev/TechnicalDebt.md` [L192](https://github.com/boykopovar/AnyPS5/blob/9c5d67fbe27518bb5485c34f2fdcfbcb249bd800/docs/dev/TechnicalDebt.md#L192) | | |
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!2831
No description provided.