feat(libSceNKWebKitRequirements): name 122 unknown exports from their NIDs #13745
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13745"
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 CodingBreadd on 2026-10-31T03:56:43Z.
What
Names 122 of the 133
sceNKWebKitRequirementsUnknown_*_nid_no_patchexports of libSceNKWebKitRequirements. Each new name is the identifier whosetools/nid_names.pyhash equals the stub's NID; candidates were every identifier in the zlib 1.3.1, libjpeg-turbo 3.0.4, libpsl 0.21.5, SQLite 3.46.1 and libxml2 2.13.4 sources: 10 zlib (deflate,inflateInit2_,uncompress, ...), 15 libjpeg (jpeg_read_header,jpeg_std_error, ...), 22 libpsl (psl_builtin,psl_is_public_suffix, ...), 50 SQLite (sqlite3_open_v2,sqlite3_step, ...), 23 libxml2 (xmlParseChunk,xmlSAX2StartDocument, ...) and the two__ubsan_handle_cfi_check_failhandlers.Every renamed export still throws through
NotImplemented_nid_no_patch, keeps the no-parameter import-resolution convention and is declared once ininclude/Identified.hpp. All carry_nid_postfix, so none collides with the zlib and libjpeg-turbo symbols linked into the build; the two ubsan handlers also carry_nid_disambig1because libkernel_sys already defines__ubsan_handle_cfi_check_fail_nid_postfixand__ubsan_handle_cfi_check_fail_abort_nid_postfix. Missing-import and unimplemented-call errors now name the function instead of the NID. The debt entry records that a name match does not establish the prototype or behavior.The other 11 inventory unknowns and the 32 additional exports from #13225 hash to no identifier of those sources or of ICU 76.1, HarfBuzz 10.0.1, cairo 1.18.2, pixman 0.42.2, FreeType 2.13.3, libpng 1.6.44, Expat 2.6.3, libxslt 1.1.42, libwebp 1.4.0, Brotli 1.1.0, WOFF2 1.0.2, curl 8.10.1, Little CMS 2.16, OpenJPEG 2.5.2 and Fontconfig 2.15.0, and stay unchanged.
Tested
Windows 11, WinLibs GCC 15.2.0 (UCRT, POSIX, SEH). Built
libSceNKWebKitRequirementsand the patchedlibSceNKWebKitRequirements.prxonmainand on this branch; the patched export table holds the same 165 NIDs as onmain.ctest -R public_headers: 63 of the 64public_headers_compile_*batches passed; on this loaded machine thepublic_headersaudit (81 s) and batch 20 (35 s) exceeded their 90 s and 30 s CTest limits, and both passed when run directly with the CTest command lines (393 libraries, 24658 exports verified; 13 units).tools/check_conventions.py --base origin/mainpasses. No title tested.Checklist
main; no other open PR implements the same functionsNotImplemented_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)🤖 Generated with Claude Code