Repository navigation
refactor(libs): name the libc and Json2 stubs the NID database resolves - #1145
Merged
adriadam10 merged 1 commit intoOct 8, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 tasks done
Progress report (3c05400 → 42b88bf)➖ System libraries: 86.13% (+0.0%, +2 declared, -2 removed functions) 🆕 2 declared as stubs
🗑️ 2 removed
|
Collaborator
|
Checked both names with |
This was referenced Oct 9, 2026
10 tasks done
Merged
12 tasks done
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
tools/nid_names.pyresolves two unknown stubs that no open pull request touches. This renames them so the NIDs are unchanged and aNotImplementedfailure names the real function:u2tMGOLaqnElibcUnknown_u2tMGOLaqnE_ZSt14_Atomic_assertPKcS0_(std::_Atomic_assert(const char*, const char*))6i18OJSvFWksceJson2Unknown00_ZN3sce4Json17InitParameterRttiC1EPNS0_14AllocParamRttiEPvm(sce::Json::InitParameterRtti::InitParameterRtti(AllocParamRtti*, void*, unsigned long))Both names were checked with
compute_nid(name) == nid. Behaviour is unchanged: both still callNotImplemented_nid_no_patch. They are not implemented here: theInitParameterRttilayout is unknown, and_Atomic_assertis a dead import of PPSA04029 (per the existing comment), so there is no call site to confirm its arguments.The other
rename-readylibc stubs (_Mtx_*,_Cnd_*,__powidf2,_WStoul,_Iswctype,vsnprintf_s,vsscanf_s) are left alone because #492 and #1128 already replace them.Tested
python tools/nid_names.pyno longer lists either NID. No local C++ toolchain on this machine, so the build is left to CI. No title tested.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code