feat(libc): fundamental and pointer RTTI records #106
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/106"
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 asimplestray on 2026-09-28T21:52:43Z.
What
Declares the C++ ABI data a real game (Hades, 1006 imports) needs at load: the loader died on
undefined symbol: aeHxLWwq0gQwithBIND_NOW, so every one of these blocks boot.__class_type_infocategory tables and meta-vtables (_ZTVN10__cxxabiv119__pointer_type_infoE,_ZTVN10__cxxabiv120__function_type_infoE,_ZTVN10__cxxabiv116__enum_type_infoE), mirroring the existingClassTypeVtable/SingleTypeVtableshape so the repo'sMatch/Basesmatcher (which already handles pointer conversions) keeps working._ZTIb/i/l/v/d/f/Dn/PKcwith Itanium mangled names.rewind(FileStreamviafseeko+clearerr) andwcsftime(plainstd::wcsftimepassthrough, next tostrftime).Names were identified by hashing OpenOrbis-PS4-Toolchain identifiers with the PS5 NID suffix and matching the game's import NIDs (252 hits); each name in this PR is proven by hash equality with the imported NID.
Scope notes:
setjmp/longjmp(guest/hostjmp_buflayout differs) and_Mtx_*/_Cosh/_Sinh(signatures unconfirmed) are deliberately left out for follow-ups.Tested
Linux (GCC 16,
BUILD_TESTING=ON): full build,ctest56/56 pass, including extendedexception_runtime(record names + kinds for all 8 new records and the 3 meta-vtables) andguest_standard_streams(rewind reposition + error-clear). Patchedlibc.prxnow exports all 13 NIDs (verified withnm -D); the relinked Hades binary advances past them at load and now stops at the next unidentified import (p6lrRW8-MLY, single call site, follow-up).Checklist
main; no other open PR implements the same functions (checked #77-86, #98, #101)setjmpfamily untouched).mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-29T08:09:36Z.
Are the new exported symbols specific to a specific game? If so, they're likely present in that game's files in the sce_module folder. Relinker should be able to adapt files from there. If it doesn't work for your game, the problem is with Relinker. The prx files should only contain functions common to all games.
Imported from boykopovar/AnyPS5. Originally posted by asimplestray on 2026-09-29T20:16:10Z.
oh, ok. thanks
Pull request closed