feat(libkernel): implement missing PRX function stubs #4065
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4065"
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 YousefMohsen0 on 2026-10-11T22:33:37Z.
What
Implemented C++ signatures for 5 previously unparameterized PRX function stubs in libSceAudioOut, libSceNet, and libkernel:
sceAudioOut2UserGetSupportedAttributesint(user_id, void* attributes, uint32_t* num_attributes)sceNetResolverAbortint(rid)sceCoredumpWriteUserStringint(const char* string)sceCoredumpAttachUserMemoryFileint(const void* addr, size_t size)sceCoredumpAttachMemoryRegionint(const void* addr, size_t size)Each stub validates its arguments, returns appropriate error codes for invalid pointers, and calls
NotImplemented_nid_no_patch(__func__)for the unimplemented body.sceNetResolverAbortadditionally removes the resolver from the registry and notifies waiters.Tested
Linux (Ubuntu 24.04, GCC 13.3),
BUILD_TESTING=ON:ninja -C build: default target (all libraries, tools and tests) builds clean, 0 errorsctest --test-dir build -R 'audio_out|guest_pad|guest_rtc|patched_libraries|nid': 14/14 passctest --test-dir build: 685/685 passpython3 tools/check_conventions.py --base origin/main: all conventions checks passed.prxfiles vianm -DNo title run: stubs throw at runtime per convention.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-11T22:33:42Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T22:45:04Z.
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)sceNetResolverAbortcore/libs/prx/libkernel/System/src/Coredump.cppL76-78, L81-83sceCoredumpAttachMemoryRegionsceCoredumpAttachUserMemoryFileImported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-12T07:26:22Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Pull request closed