feat(libSceNet): return success from ShowIfconfig and ShowNetstat #5928
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5928"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Kurenaiiiii on 2026-10-14T16:11:21Z.
What
sceNetShowIfconfig and sceNetShowNetstat return success instead of throwing. The () signatures and the success return follow shadPS4, which stubs both the same way. Recorded as silent stubs in the libSceNet debt file. This leaves no throwing stub in the library. Test asserts both returns in CheckNetstat.
Tested
Not run here (no full toolchain in this container). Export.cpp parses clean, conventions check passes. Left guest_sce_net to CI.
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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T16:12:00Z.
Progress report (
c842491→8c6f08b)📈 System libraries: 88.88% (+0.05%, +2 implemented functions)
✅ 2 implemented
sceNetShowIfconfigsceNetShowNetstat⚪ 2 behaviourally empty (constant return or throw)
sceNetShowIfconfigsceNetShowNetstatImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T16:31:08Z.
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.
main)core/libs/tests/GuestPPSA01530Exports.cppL8-9, L20-21docs/dev/debt/libSceNet.mdL5docs/dev/debt/libScePad.mdL11docs/dev/debt/libSceNet.mdL2, L7docs/dev/debt/libScePad.mdL11docs/dev/debt/libSceNet.mdL7docs/dev/debt/libSceUlt.mdL7Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
docs/dev/debt/libScePad.mdcore/libs/tests/GuestPPSA01530Exports.cppcore/libs/tests/GuestSceNet.cppcore/libs/prx/libSceNet/Export.cppdocs/dev/debt/libSceNet.mddocs/dev/debt/libScePad.mdImported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-15T18:15:34Z.
Review: COMMENTED
Linux run:
guest_sce_netpasses, but the PR breaks the existingguest_ppsa01530_exportstest.Machine: Ubuntu 26.04, Intel i7-8700, GCC 15.2, Release, full build (
-DBUILD_TESTING=ON), non-GPU tests. Headfca8c3c5emerged onto main03c4cb5e7(clean merge).guest_sce_netpasses with the PR. With only the test applied (Export.cpp from main) it aborts withsceNetShowNetstat not implemented, so the new assertions cover the change.file_writer_binaryandfile_writer_textalso fail on plain main on this machine. The new one isguest_ppsa01530_exports:core/libs/tests/GuestPPSA01530Exports.cppasserts thatsceNetShowIfconfigstill throwsnot implemented. It passes on main. The PR has to dropsceNetShowIfconfigfrom that test'sexports[]table (and its declaration), keepingscePadUnknown_n3kSX62fgNo. The full CI did not run on this PR (linuxis skipped), so it has not caught this yet.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T18:55:40Z.
Checked on a local Linux build merged onto current main:
guest_sce_netpasses, and the only failure wasguest_ppsa01530_exports(found by @jotitadev as well), which still asserted thatsceNetShowIfconfigthrows.Added on top of your branch:
core/libs/tests/GuestPPSA01530Exports.cpp: droppedsceNetShowIfconfigfrom the not-implemented table and its declaration, keepingscePadUnknown_n3kSX62fgNo.Scoped ctest (37 tests) is green after that; merging once the full build is green.