Dean
b39d90bf14
Merge pull request #7357 from T3cm0/bionic/seed48-lcong48
...
feat(libc): implement seed48 and lcong48
2026-10-18 15:20:36 +13:00
Dean
5cc435f02f
Merge pull request #7355 from T3cm0/bionic/uchar-conversions
...
feat(libc): implement the uchar.h conversions, mblen and wctomb
2026-10-18 15:20:29 +13:00
T3cm0 and Claude Opus 5.5
26898755e5
feat(libc): implement seed48 and lcong48
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-17 20:44:32 -05:00
T3cm0 and Claude Opus 5.5
58697488a2
feat(libc): implement the uchar.h conversions, mblen and wctomb
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-17 20:43:39 -05:00
T3cm0 and Claude Opus 5.5
24a999c499
feat(libc): implement long double, Bessel and integer math exports
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-17 20:43:13 -05:00
Dean
eeea684a0b
Merge pull request #7280 from T3cm0/bionic/mspace-reallocalign-order
...
fix(libc): take sceLibcMspaceReallocalign's alignment before its size
2026-10-18 13:26:35 +13:00
Dean
6eea4e0c2e
Merge pull request #7282 from T3cm0/bionic/unlocked-stream-queries
...
feat(libc): implement clearerr_unlocked, fileno_unlocked and fgetln
2026-10-18 13:26:31 +13:00
Dean
8532632d4e
Merge pull request #7249 from Lorkydey/feat/libc-binary-word-io
...
feat(libc): implement getw and putw
2026-10-18 10:18:50 +13:00
T3cm0 and Claude Opus 5.5
22c584acd3
feat(libc): implement clearerr_unlocked, fileno_unlocked and fgetln
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-17 16:17:27 -05:00
T3cm0 and Claude Opus 5.5
3802f887f2
fix(libc): take sceLibcMspaceReallocalign's alignment before its size
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-17 16:17:22 -05:00
Dean
cf217c51c6
Merge pull request #7211 from simonbronk/codex/secure-scan-null-20261017
...
fix(libc): reject null secure scan destinations
2026-10-18 10:16:38 +13:00
Dean
0f0d4004a4
Merge pull request #6517 from Wild-Badger/fix/libc-wide-collate-layout
...
fix(libc): count wide collate string elements
2026-10-18 09:41:21 +13:00
lorkydey
7c07ebd095
feat(libc): implement getw and putw
2026-10-17 21:28:18 +02:00
Adrià
5859889b29
Merge pull request #6133 from AkulTyagi11/feat/libc-modti3
...
feat(libc): implement __modti3
2026-10-17 21:06:42 +02:00
simonbronk
f0d68fb436
fix(libc): reject null secure scan destinations
...
Prevent reached null conversion destinations from crashing sscanf_s and vsscanf_s. Return EOF before writes and retain earlier assignments. Add regression coverage through both guest ABI entry points.
AI-assisted: yes (OpenAI Codex). Windows WinLibs GCC 15.2 Release: production baseline crashes with the new regression; fixed shared libc passes guest_scan_count, guest_formatting, guest_wide_formatting and guest_strings (4/4). Conventions pass. Full all-target build was deliberately stopped after 83s with 3691 pending targets, not completed. No title or console run; constraint-handler invocation remains unimplemented as documented. No performance or coverage-percentage claim.
2026-10-17 18:46:36 +02:00
Dean
66702f1cff
Merge pull request #7060 from Aryansh1520/fix/libc-backtrace-self-linux
...
feat(libc): implement sceLibcBacktraceSelf and GetBufferSize on Linux
2026-10-18 04:49:45 +13:00
Dean
7b763e6359
Merge pull request #7068 from AlexOfTheForest/fix/fopen-errno
...
fix(libc): translate host errno from fopen, freopen and fopen_s
2026-10-18 04:49:08 +13:00
Dean
05b235498a
Merge pull request #7099 from Lorkydey/feat/libc-safe-error-messages
...
feat(libc): implement bounded error message APIs
2026-10-18 01:58:23 +13:00
Dean
df92748a30
Merge pull request #6318 from hypermoist/fix/libc-lgamma-signgam
...
fix(libc): store the sign of gamma in an exported signgam from lgamma
2026-10-18 00:32:04 +13:00
lorkydey
14acf7f444
feat(libc): implement bounded error message APIs
2026-10-17 13:26:23 +02:00
Alexej Szpevák
5433b32b7d
fix(libc): return the open error from fopen_s instead of ENOENT
...
fopen_s returned ENOENT for every failed open, including an invalid mode, a directory opened for writing and the loop and long-name cases. C11 K.3.5.2.1 only asks for a nonzero value; Microsoft's CRT, which shares Dinkumware's library, returns errno. fopen_s now returns the errno fopen set.
2026-10-17 11:52:14 +02:00
Aryan Sharma
2e0d310c91
docs(debt): link the backtrace entry from its debt file
2026-10-17 14:57:32 +05:30
Aryan Sharma
ec832e0bcb
fix(libc): limit sceLibcBacktraceSelf to Linux and test its record layout
2026-10-17 14:56:56 +05:30
Aryan Sharma
ce57c2d799
feat(libc): implement sceLibcBacktraceSelf on Linux
...
PPSA28997 (IL2CPP) calls sceLibcBacktraceGetBufferSize and
sceLibcBacktraceSelf. On Linux the host call stack is captured with
backtrace and each frame is resolved to its module and offset with
dladdr, then written as a linked list of frame records. The record
layout is inferred and listed in TechnicalDebt. Windows throws.
2026-10-17 14:56:56 +05:30
Dean
437f157d31
Merge pull request #6319 from hypermoist/docs/debt-duplicate-entries
...
docs(debt): drop the call tracing entry that --trace-imports superseded
2026-10-17 17:28:35 +13:00
Adrià
d96e0e554c
Merge pull request #5772 from DavidSamir/fix/libc-empty-guest-environment
...
fix(libc): start the guest environment empty instead of copying the host's
2026-10-16 21:23:35 +02:00
Alexej Szpevák
b71434d9b7
feat(libc): read app0.zar beside app0 and refuse archive-only paths elsewhere
...
A ZArchive named app0.zar beside app0/ is a read-only layer under it. libc opens it at the first path resolution, looks paths missing from app0/ up case-insensitively, reads files across compressed blocks and keeps the archived descriptor table with shared positions.
Resolving an archive-only path through a call that does not read the archive throws instead of failing with ENOENT, as do opendir of a directory present in both places, fdopen of an archived descriptor and chdir into the archive. A path through .. in an archive-only directory resolves.
2026-10-16 20:03:26 +02:00
hypermist and Claude Opus 5.5
20edd079e4
fix(libc): store the sign of gamma in an exported signgam from lgamma
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-16 16:11:02 +13:00
Adrià
7663bc63bb
Merge pull request #5092 from MrMha/fix/scripting-heap-694
...
feat(libc): provide the runtime scripting allocator hooks
2026-10-15 22:58:23 +02:00
Anthony
2b567cda34
fix(libc): count wide collate string elements
2026-10-15 15:30:40 -03:00
Adrià
d67b79a7e4
Merge pull request #5709 from fogydes/fix/libc-formatting-allocation-and-bounds
...
fix(libc): check allocation result in vasprintf and guard null pointer in strndup
2026-10-15 17:04:33 +02:00
Adrià
f5a55a11d0
Merge pull request #5662 from Roojool/contrib/g15-libc-pending
...
feat(libc): implement collate<wchar_t>::_Getcat
2026-10-15 17:03:49 +02:00
Adrià
08290338aa
Merge pull request #5599 from JJenkx/feat/libc-isfinitel
...
feat(libc): implement x87 long-double finite classification
2026-10-15 17:03:18 +02:00
Adrià
0dab493f5b
Merge pull request #5816 from Nawasfadili/feat/libc-wide-and-unlocked-stream-io
...
feat(libc): implement wide and unlocked stream I/O
2026-10-15 15:58:44 +02:00
MrMha
aea1dd601a
feat(libc): provide the runtime scripting allocator hooks
...
Use the registered application allocator and the source-backed alignment/size signature. Add callback ownership and failure checks; record unmeasured console behavior.
2026-10-15 17:21:14 +04:00
Adrià Franch and Claude
bc3f81c198
test(libc): pin vasprintf allocation failure; move debt line off the section end
...
Co-Authored-By: Claude <[email protected] >
2026-10-15 14:44:16 +02:00
fogydes
ceb963c6dd
fix(libc): check allocation result in vasprintf and guard null pointer in strndup
2026-10-15 14:43:04 +02:00
hypermist and Claude Opus 5.5
7d7515b632
docs(debt): drop the call tracing entry that --trace-imports superseded
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-16 00:14:25 +13:00
Rujul Talekar
3dffc8ca9e
fix(libc): give collate<wchar_t> its own 16-bit vtable
2026-10-15 11:07:58 +05:30
Akul Tyagi
ec2acea5bd
feat(libc): implement __modti3
...
Implement __modti3, the signed 128-bit integer modulo runtime helper complementing __divti3, __udivti3 and __umodti3. Add unit test coverage in guest_crt_tests and document zero-divisor exception behavior in technical debt.
2026-10-15 04:25:52 +05:30
Rujul Talekar
661b1671ff
feat(libc): implement collate<wchar_t>::_Getcat
2026-10-14 22:27:59 +05:30
Nawasfadili
6509ec274a
feat(libc): implement wide and unlocked stream I/O
2026-10-14 14:24:37 +00:00
Adrià Franch
32a11a57d1
docs(libc): move the fegetenv debt line off the end of its section
2026-10-14 14:02:31 +02:00
Karim Ibrahim and Claude Opus 5.5
34cf0e223f
test(libc): cover fegetenv with a null environment and pending x87 flags
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-14 14:02:31 +02:00
Karim Ibrahim and Claude Opus 5.5
74b93adb6c
feat(libc): implement fegetenv
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-14 14:02:31 +02:00
Dean
c3bad39372
Merge pull request #5434 from milescoviello/fix/relinked-module-name-case
...
fix(libc): find a relinked module whose name differs in case
2026-10-14 22:41:23 +13:00
David
69715e8393
docs(debt): record that the guest environment starts empty
2026-10-14 13:15:53 +04:00
Dean
3152609030
Merge pull request #5454 from mohammad-alosta/feat/libc-swprintf-s
...
feat(libc): implement swprintf_s
2026-10-14 20:12:15 +13:00
Dean
6546a33944
Merge pull request #4728 from Ondra97/codex/fix-fdopen-access-mode
...
fix(libc): reject incompatible fdopen access modes on Windows
2026-10-14 19:06:55 +13:00
Dean
1c95691fb5
Merge pull request #5290 from veosett/codex/allocator-failure-results
...
fix(libc): return allocation failures to guest callers
2026-10-14 17:26:13 +13:00