fix(libSceFiber): copy info, name, and frame pointer via GuestCopyIn/Out #19385
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/19385"
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 PrivacyOnion on 2026-11-13T07:38:10Z.
What
GuestCopyIn_nid_no_patchandGuestCopyOut_nid_no_patch(preservingerrno) insceFiberGetInfo,sceFiberRename, andsceFiberGetThreadFramePointerAddressinstead of dereferencing guest pointers directly.Fiber.cppverifying that unmappedfiber_info,name, andaddr_frame_pointerpointers returnSCE_FIBER_ERROR_INVALIDwithout clobberingerrno.Tested
Windows 11, WinLibs MinGW-w64 GCC 16.1.0, Ninja Release (
-DBUILD_TESTING=ON):ctest --test-dir build -R "^fiber(_contextless)?$" --output-on-failurepassed (2/2 tests:fiber,fiber_contextless).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)