Commit Graph
3 Commits
Author SHA1 Message Date
B-HowellandCodex 5efebf56ff fix(libSceLibcInternal): preserve overlapping string assigns
Co-Authored-By: Codex <noreply@openai.com>
2026-11-06 10:06:01 -05:00
B-HowellandCodex d887251dd0 fix(libSceLibcInternal): avoid cross-module string allocator imports
Co-Authored-By: Codex <noreply@openai.com>
2026-11-05 22:00:39 -05:00
B-HowellandClaude Opus 5.5 ae98516e81 feat(libSceLibcInternal): implement basic_string erase, append, assign, _Xran and _Xlen
Implement the unversioned std::string modifiers erase(pos, n),
append(str, pos, n), append(n, c), assign(s, n), assign(str, pos, n)
and assign(n, c) on the guest GuestLocale::String layout per ISO C++
[string.erase], [string.append] and [string.assign], and the _Xran and
_Xlen reporters through libc's _Xout_of_range and _Xlength_error.

The string capacity constants and a DeallocateStringStorage helper move
into GuestLocale.hpp so both libraries share libc's allocation policy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 00:41:12 -05:00