Commit Graph
739 Commits
Author SHA1 Message Date
Adrià b3773d1a18 Merge pull request #12589 from JJenkx/windows/libc-strerror-s-constraints
fix(libc): report strerror_s violations as titles' libc.prx does
2026-10-30 10:19:26 +01:00
Adrià 1764ec5c60 Merge pull request #12420 from JJenkx/windows/libc-swscanf-ranges
fix(libc): read swscanf scanset ranges and string lengths as titles do
2026-10-30 07:16:41 +01:00
Adrià 0362b1521c Merge pull request #12861 from heditrigui/feat/libc-recallocarray
feat(libc): implement recallocarray
2026-10-30 06:36:10 +01:00
Adrià 0a2cda921d Merge pull request #12933 from heditrigui/feat/libc-dprintf
feat(libc): implement dprintf and vdprintf
2026-10-30 06:33:00 +01:00
Adrià 84368bddb2 Merge pull request #12160 from AlexFigas/feat/libc-pmr-resources
feat(libc): provide the pmr new-delete, null and default memory resources
2026-10-30 06:30:55 +01:00
Adrià 902c6ebfe9 Merge pull request #12111 from wanderingbug/cursor/upstream-macos-unwind-e22f
fix(libc): walk the Mach-O compact unwind index
2026-10-30 05:52:53 +01:00
Adrià b48afc66fb Merge pull request #12845 from heditrigui/feat/libc-qsort-r
feat(libc): implement qsort_r
2026-10-30 05:52:07 +01:00
Adrià 84e114e4eb Merge pull request #12715 from MarcZX10/feat/log-to-file
feat(libc): copy the runtime log into a file with ANYPS5_LOG_FILE
2026-10-30 05:51:34 +01:00
Adrià 18bf374028 Merge pull request #12178 from Henryisdjfunkyho/fix/libc-nearbyintf-current
fix(libc): raise inexact for nearbyintf
2026-10-30 02:00:49 +01:00
Adrià 76fd1c09e9 Merge pull request #11270 from AlexFigas/fix/libc-llog-dinkumware
fix(libc): compute _LLog with the bundled libc.prx's Dinkumware code
2026-10-30 01:40:35 +01:00
Adrià 96613bba67 Merge pull request #12060 from Ragbie/fix/windows-directory-flock
fix(libkernel): lock directories with flock on Windows as FreeBSD does
2026-10-30 01:04:03 +01:00
Adrià 5e216d6aed Merge pull request #10927 from edubox/feat/libc-throw-bad-array-new-length
feat(libc): implement std::_Throw(const std::bad_array_new_length&)
2026-10-30 00:18:44 +01:00
Adrià 202037c3d7 Merge pull request #12691 from JJenkx/codex/libc-bsearch-zero-stride-20261029
fix(libc): allow zero-stride bsearch_s as bundled libc does
2026-10-30 00:18:02 +01:00
Adrià e1dd37721c Merge pull request #12555 from JJenkx/codex/libc-fltrounds-x87-20261028
fix(libc): read x87 rounding in _Fltrounds
2026-10-29 23:28:14 +01:00
JJenkxandClaude Opus 5.5 fb4fb58c87 fix(libc): report strerror_s violations as titles' libc.prx does
The libc.prx that titles ship (PPSA07923, PPSA05916) rejects a
strerror_s capacity above SIZE_MAX >> 3, not SIZE_MAX >> 1, and calls
the constraint handler with "strerror_s: bad argument", EINVAL and a
null pointer for a null destination, a capacity of 0 or one past that
limit. main passed "strerror_s" and the destination, and wrote the
message for a capacity from 2^61 up.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 23:16:52 +01:00
Adrià 4740534186 Merge pull request #12527 from JJenkx/windows/libc-strerror-extended
fix(libc): name the extended errno values in strerror as titles' libc.prx does
2026-10-29 23:01:08 +01:00
Adrià cbc39db363 Merge pull request #12117 from plexerPK/codex/macos-write-watch-nonwrite-faults
fix(libc): forward non-write faults from watched macOS pages
2026-10-29 21:20:52 +01:00
Adrià c33785b183 fix(libc): reject vdprintf descriptors above SHRT_MAX with EMFILE and mark test hooks sysv_abi 2026-10-29 17:42:07 +01:00
Hedi Trigui 3dfc973fb8 fix(libc): address review feedback on vdprintf guest write path, short writes, ABI and test coverage 2026-10-29 17:30:21 +01:00
Hedi Trigui 106f689a8b fix(libc): address review feedback on recallocarray licence, errno and tests 2026-10-29 17:01:12 +01:00
Hedi Trigui dbb0ed1ae1 fix(libc): use 16 KiB page size shrink threshold and add boundary test in recallocarray 2026-10-29 17:01:12 +01:00
Hedi Trigui e999a37edd feat(libc): implement recallocarray 2026-10-29 17:01:12 +01:00
Hedi Trigui ed28f09157 feat(libc): implement dprintf and vdprintf 2026-10-29 16:04:11 +01:00
AdriàandClaude Sonnet 5.5 8e1b2c32d1 docs(libc): record the pmr memory resource exports in debt
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-29 15:02:10 +01:00
JJenkx 3961a1f069 docs(libc): qualify unknown wide scan conversions at EOF 2026-10-29 10:00:52 -04:00
Dean e73bc4c682 Merge pull request #12469 from BunnyFl/fix/libc-setvbuf-host-write
fix(libc): keep setvbuf stream buffers in host memory
2026-10-30 03:00:40 +13:00
Dean 1b75a2de11 Merge pull request #10433 from Retr0G28/fix/freopen-directory
fix(libc): open a directory with freopen in a read mode on Windows
2026-10-30 02:59:56 +13:00
Adrià e87f2d9394 Merge pull request #12162 from AlexFigas/feat/libc-aligned-array-operators
feat(libc): export the remaining aligned and array operator new and delete overloads
2026-10-29 14:39:44 +01:00
Adrià 157b02c4f1 Merge pull request #11852 from ionut27001/fix/wf-scanf-q-length-linux
fix(libc): end sscanf and vsscanf at a q length on Linux and macOS
2026-10-29 13:57:18 +01:00
Cursor Agentanddevindevsec 21d5544daf fix(libc): reject compact unwind entries without a real frame
A DWARF-mode index entry with no usable FDE, encoding 0, an unknown
personality, and a mode-3 immediate outside the function now fail the
unwind. A Linux test walks a synthetic __unwind_info blob.

Co-authored-by: devindevsec <[email protected]>
2026-10-29 12:53:13 +00:00
Adrià df53927b7b Merge pull request #10929 from Aspct3434/claude/modest-curie-705h76
fix(libc): read characters outside the BMP as surrogate pairs in fgetwc
2026-10-29 13:49:54 +01:00
Adrià aab650b4d3 Merge pull request #11893 from JJenkx/windows/libc-printf-ignored-lengths
fix(libc): ignore printf length modifiers that do not apply, as titles' libc.prx does
2026-10-29 13:49:01 +01:00
Adrià 7b57271358 Merge pull request #11504 from verusferro/feat/libc-xfilesystem-error
feat(libc): throw std::filesystem::filesystem_error from _Xfilesystem_error as the console's libc does
2026-10-29 13:47:45 +01:00
Cursor Agentanddevindevsec fef01787f8 fix(libc): walk the Mach-O compact unwind index
Co-authored-by: devindevsec <[email protected]>
2026-10-29 12:46:02 +00:00
Hedi Trigui 3f086c312a feat(libc): implement qsort_r 2026-10-29 13:28:05 +01:00
Alexandre Figueiredo 7b6c2e82ec fix(libc): compute _LLog with the bundled libc.prx's Dinkumware code 2026-10-29 10:12:06 +00:00
Adrià f99d7fece3 Merge pull request #12054 from Aspct3434/claude/libc-environment-strings-stay-alive
fix(libc): keep guest environment strings alive across setenv and uns…
2026-10-29 11:08:38 +01:00
MarcZX10 bef4e7d3bf docs(debt): record that long lines from two threads can interleave inside a stream's pipe 2026-10-29 07:52:45 +00:00
MarcZX10 31044bd335 docs(debt): say the ANYPS5_LOG_FILE stream order is the pipe's delivery order 2026-10-29 07:52:45 +00:00
Adrià 9365465457 Merge pull request #12186 from Gonic0/fix/libc-getifaddrs-af-link-macos
fix(libc): list getifaddrs AF_LINK entries on macOS hosts
2026-10-29 07:44:43 +01:00
Henryisdjfunkyho 472500cb80 fix(libc): honor rounding modes in nearbyintf 2026-10-28 22:06:25 -07:00
Henryisdjfunkyho f516dc406a docs(libc): record unmeasured nearbyint variants 2026-10-28 22:06:24 -07:00
Henryisdjfunkyho 3182d23266 fix(libc): raise inexact for nearbyintf 2026-10-28 22:06:24 -07:00
MarcZX10 c10620b57b docs(debt): record that ANYPS5_LOG_FILE starts under the Windows loader lock 2026-10-29 05:57:24 +01:00
MarcZX10 b5fa55d0d4 docs(debt): record the missing size cap and child-process limits of ANYPS5_LOG_FILE 2026-10-29 05:57:24 +01:00
MarcZX10 0fbd041ad7 docs(debt): record the stream ordering and kill limits of ANYPS5_LOG_FILE 2026-10-29 05:57:24 +01:00
MarcZX10 7c463369f2 docs(debt): record that the Windows ANYPS5_LOG_FILE path was not run 2026-10-29 05:57:24 +01:00
JJenkx 39f432f357 fix(libc): allow zero-stride bsearch_s as bundled libc does 2026-10-28 22:17:34 -04:00
Eduardo Ruiz f94297b8c2 docs(libc): drop the title name from the _Throw debt entry 2026-10-29 01:03:00 +01:00
Eduardo Ruiz c7b70f44b0 feat(libc): implement std::_Throw(const std::bad_array_new_length&)
Follow the console libc.prx (PPSA02530) at 0xcb2d0: ignore the argument and throw the static bad_array_new_length object. Star Wars Racer (PPSA28416) imports it.
2026-10-29 01:03:00 +01:00