Repository navigation
Conversation
…-name-exports-320
…-name-exports-320
…-name-exports-320
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Expose 345 read-only runtime data objects through
libc: 146 RTTI type-name strings, six aliases to existing compiler-generated RTTI strings, 128 numeric-limit constants, 20 one-byte placeholder objects, and 45 additional floating-point, locale and standard-library constants. Each NID hashes from its corresponding public name. The strings, constant bytes, object sizes and distinct addresses match both version-labelled images; their labels do not authenticate retail firmware provenance.The RTTI entries are name strings only; the change does not implement the corresponding type-info objects. Cross-module type-info identity, the relationship between these strings and runtime-generated RTTI objects, the numeric constants’, placeholders’ and other constants’ underlying types and title behavior are unverified. The loader's
libSceLibcInternaltolibcdata fallback was checked with a separate macOS guest-import fixture using synthetic providers. No game unblock is claimed.The six RTTI aliases point to existing compiler-emitted objects, preserving their storage identity in the tested macOS build. Linux and Windows alias emission remains unverified. This branch includes and depends on boykopovar#13452, which teaches the public-header audit to accept data alias declarations.
The writable locale guard and facet-ID objects are excluded. Two inspected facet-ID paths in both version-labelled images assign IDs under a lock and register facets during classic-locale initialization; the current implementation has an incomplete classic facet table. The remaining paths and runtime lifecycle have not been verified.
Tested
Current Windows CI reported
duplicate patched export name: 22g2xONdXV4while patching libc. The branch remains draft until the provider collision is resolved and the Windows build is rechecked.macOS x86-64: compiled and NID-patched a standalone data library; dynamic lookup verified the 339 standalone objects, their bytes and distinct addresses, including string terminators and numeric alignment.
Compiled 71 of 72 libc source files and linked them with the new data using dynamic lookup and chained fixups. NID patching succeeded and each of the 345 new NIDs appeared once; the six compiler-generated aliases had the same addresses as their native objects. The remaining archive source could not be compiled without the archive dependency. This partial link is not a full production build or a runtime test.
Cross-compiled the data source to Linux ELF and Windows COFF objects; the 339 standalone aliases appear once at distinct read-only offsets within their respective object files. Cross-object linking was not checked, and neither platform was run.
Public-header audit, conventions and whitespace checks passed. Source/added-symbol scans found no other open PR adding these names or NIDs.
pr_overlapcould not compare shared CMake/debt files in feat(aot): consolidate native ARM64 compiler, runtime and consumers boykopovar/AnyPS5#5021, fix(libc): follow measured wide printf behavior boykopovar/AnyPS5#5303, feat(libc): export _FDsign/_Dsign like MSVC CRT (PPSA34015) boykopovar/AnyPS5#6085, fix(libs): share Sony CRT handler and lconv state between libc and libSceAmpr boykopovar/AnyPS5#7081, feat(libc): scan 16-bit wide conversions on Linux boykopovar/AnyPS5#7386, feat(libc): support archive-backed stdio reads boykopovar/AnyPS5#7447, fix(libc): provide ASOBI_ROOT environment variable for title path resolution boykopovar/AnyPS5#7715, fix(libc): support character reads from random device streams boykopovar/AnyPS5#8150, fix(libc): use the Annex K size limit and codes of the PS5 libc, as measured on a PS5 boykopovar/AnyPS5#8965, feat(libc): decode non-ASCII scanset members and non-BMP characters in the guest wide scanf boykopovar/AnyPS5#9340, fix(libc): follow a Windows symbolic link before .. in a guest path boykopovar/AnyPS5#9371, feat(libc): add the std::__sce_v2 thread start, timed wait, clock and processor count calls boykopovar/AnyPS5#9447, feat(libc): add std::__sce_v2::_Random_device, _Fiopen and setw boykopovar/AnyPS5#9526, fix(libc): retain short wide scanf character fields boykopovar/AnyPS5#9863, feat(libc): track stream orientation and implement fwide boykopovar/AnyPS5#10324, fix(libc): share multibyte state in fgetwc boykopovar/AnyPS5#10405, fix(libc): reopen a stream onto /dev/random or /dev/urandom with freopen boykopovar/AnyPS5#10620, fix(libc): reject an invalid _WStoul base like Dinkumware instead of … boykopovar/AnyPS5#10729, fix(libc): bound narrow formatting fields boykopovar/AnyPS5#11332, feat(relinker): execute supported scalar guest GS accesses on Windows boykopovar/AnyPS5#11628, feat(relinker): support short scalar guest GS instructions boykopovar/AnyPS5#11661, feat(relinker): support SSE guest GS memory accesses boykopovar/AnyPS5#11689, feat(relinker): support VEX guest GS memory accesses boykopovar/AnyPS5#11698, fix(libc): give an unbuffered stream FreeBSD's one-byte buffer on Windows boykopovar/AnyPS5#12057, feat(libc): implement _Hypot, _FHypot and _LHypot Dinkumware math helpers boykopovar/AnyPS5#12363, fix(libkernel): preserve blocking sockets over nonblocking native transport boykopovar/AnyPS5#12688, feat(libkernel): cancel blocked POSIX writes with partial progress boykopovar/AnyPS5#12700 and feat(libkernel): support deferred cancellation in POSIX accept boykopovar/AnyPS5#12965 because those branches conflict with main; their shared-file diffs were inspected, but future rebases may require reconciliation.No full production-library build, Linux or Windows execution, console or game run was performed.
Checklist
main; no other open PR implements the same functions (the scanner cannot compare the branches listed above)NotImplemented_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)