refactor(prx): name six FreeTypeOt, LibreSsl3 and LibcInternal stubs the NID database resolves #18367
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18367"
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 Gineex on 2026-11-11T12:29:00Z.
What
Names six placeholders after the symbols
tools/nid_names.pyresolves:libSceFreeTypeOt(Export.cpp)0rKmI1ZbMAcsceFreeTypeOtUnknown_0rKmI1ZbMAc_nid_no_patchFT_Glyph_StrokelibSceFreeTypeOt(Export.cpp)WIvTHYs7ZQQsceFreeTypeOtUnknown_WIvTHYs7ZQQ_nid_no_patchFT_New_GlyphSlotlibSceFreeTypeOt(Export.cpp)uK7vGxAQVxMsceFreeTypeOtUnknown_uK7vGxAQVxM_nid_no_patchFT_Set_Debug_HooklibSceLibreSsl3(AdditionalExports.cpp)4pEl-5DmrrMUnknown_4pEl_minus_5DmrrM_nid_no_patchERR_print_errors_fplibSceLibreSsl3(AdditionalExports.cpp)qGsc6uT6p1EUnknown_qGsc6uT6p1E_nid_no_patchECDSA_do_verifylibSceLibcInternal(InventoryExports6.cpp)izmoTISVoF8sceLibcInternalUnknown6_108_izmoTISVoF8_nid_no_patch_ZTv0_n24_NSt13basic_istreamIwSt11char_traitsIwEED0Ev(virtual thunk tobasic_istream<wchar_t>::~basic_istream(), deleting)tools/nid_names.py --namehashes each name to the placeholder's NID, so all three libraries export the same NIDs as onmain. Each name is declared once: the three FreeTypeOt ones at the start oflibSceFreeTypeOt.hpp'sextern "C"block, the LibreSsl3 ones replace their placeholder declarations ininclude/Api.hpp, and the LibcInternal one is added toinclude/InventoryExports6.hpp. All bodies still throw throughNotImplemented_nid_no_patch; a title that reaches one now fails with the function's name. Prototypes are not claimed.On
aece3f1a22,nid_names.pyreports 123 placeholders as rename-ready; 114 of them are named by an open pull request (#17300, #17297, #17298, #15052 and others, found by scanning the added lines of every open PR that touches these libraries for the name or NID). Of the nine none of them name, three are left out because their lines are next to lines that open pull requests change, so either side would need a rebase:ft_module_get_service(uSNqxrARpEQ, below the helpers #16823 and #16825 add),FT_Lookup_Renderer(4LY5pyZ5IQk, below the block #17865 removes) andi2d_PUBKEY(A-Hs-8mau+8, above the declaration #17246 changes). They can follow once those are merged.git merge-tree --write-treeof this branch with #16823, #16825, #17246, #17580 and #17865 merges cleanly with each; the first version of this PR, with all nine, conflicted with all five.Tested
Windows 11 Pro 10.0.26200, WinLibs GCC 15.2.0 posix-seh UCRT r7, Release,
BUILD_TESTING=ON.ctest -R 'public_headers|unknown_nids|[Ff]ree[Tt]ype|[Ll]ibre[Ss]sl|[Ll]ibc_?[Ii]nternal|nid': 334 of 334 passed.python tools/nid_names.py: rename-ready goes from 123 to 117, none of the six is listed;--where --nidfinds each NID at its new name.python tools/check_conventions.py --base upstream/main: passed.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