Skip to content

refactor(prx): name the LibcInternal Err.cpp pending stubs the NID database resolves - #15989

Open
ItsJustChrisE wants to merge 1 commit into
boykopovar:mainfrom
ItsJustChrisE:auto/name-libcinternal-err-stubs
Open

ItsJustChrisE wants to merge 1 commit into
boykopovar:mainfrom
ItsJustChrisE:auto/name-libcinternal-err-stubs

Conversation

@ItsJustChrisE

Copy link
Copy Markdown
Contributor

What

Names 78 of the 149 sceLibcInternalPending3_*_nid_no_patch placeholders in libSceLibcInternal/Err.cpp after the symbols tools/nid_names.py resolves through its pinned aerolib database, the same names the libSceLibcInternal debt file already lists for them. As in #15678 and #15777, the names carry the _nid_postfix suffix so they never collide with the host C++ runtime, and they are declared once in the new include/ErrExports.hpp, which the library umbrella header includes.

The other 71 are left as they are, because #15582, #15711, #15712, #15715 and #15830 implement or edit them or the stubs next to them; renaming them here would conflict with those PRs. They can be named once those land.

Every renamed body still throws through NotImplemented_nid_no_patch, and the library exports the same NIDs as on main. A title that reaches one now fails with the function's name instead of the placeholder's. The debt entries already name each export, so they are unchanged.

Tested

Ubuntu 26.04.1 on WSL2, GCC 15.2.0, Release, main 1e24993fa3. No title or homebrew run.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

…tabase resolves

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Progress report (1e24993 → fe854e0)

➖ System libraries: 26.48% (+0.0%, +78 declared, -78 removed functions)

🆕 78 declared as stubs
Library Name
libSceLibcInternal _ZNKSt7_MpunctIcE16do_negative_signEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIcE16do_positive_signEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIcE16do_thousands_sepEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE11do_groupingEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE13do_neg_formatEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE13do_pos_formatEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE14do_curr_symbolEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE14do_frac_digitsEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE16do_decimal_pointEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE16do_negative_signEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE16do_positive_signEv_nid_postfix
libSceLibcInternal _ZNKSt7_MpunctIwE16do_thousands_sepEv_nid_postfix
libSceLibcInternal _ZNKSt7codecvtIDic9_MbstatetE10do_unshiftERS0_PcS3_RS3__nid_postfix
libSceLibcInternal _ZNKSt7codecvtIDsc9_MbstatetE9do_lengthERS0_PKcS4_m_nid_postfix
libSceLibcInternal _ZNKSt7codecvtIcc9_MbstatetE10do_unshiftERS0_PcS3_RS3__nid_postfix
libSceLibcInternal _ZNKSt7codecvtIcc9_MbstatetE16do_always_noconvEv_nid_postfix
libSceLibcInternal _ZNKSt7codecvtIcc9_MbstatetE2inERS0_PKcS4_RS4_PcS6_RS6__nid_postfix
libSceLibcInternal _ZNKSt7codecvtIcc9_MbstatetE3outERS0_PKcS4_RS4_PcS6_RS6__nid_postfix
libSceLibcInternal _ZNKSt7codecvtIcc9_MbstatetE5do_inERS0_PKcS4_RS4_PcS6_RS6__nid_postfix
libSceLibcInternal _ZNKSt7codecvtIcc9_MbstatetE6do_outERS0_PKcS4_RS4_PcS6_RS6__nid_postfix
libSceLibcInternal _ZNKSt7codecvtIcc9_MbstatetE6lengthERS0_PKcS4_m_nid_postfix
libSceLibcInternal _ZNKSt7codecvtIcc9_MbstatetE7unshiftERS0_PcS3_RS3__nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERd_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERe_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERf_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERj_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERl_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERm_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERt_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERx_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERy_nid_postfix
libSceLibcInternal _ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE8_GetffldEPcRS3_S6_RSt8ios_basePi_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERd_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERe_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERf_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERj_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERl_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERm_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERt_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERx_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE6do_getES3_S3_RSt8ios_baseRNSt5_IosbIiE8_IostateERy_nid_postfix
libSceLibcInternal _ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE8_GetffldEPcRS3_S6_RSt8ios_basePi_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE5_FfmtEPccNSt5_IosbIiE9_FmtflagsE_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE5_FputES3_RSt8ios_basecPKcm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE5_FputES3_RSt8ios_basecPKcmmmm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE5_IfmtEPcPKcNSt5_IosbIiE9_FmtflagsE_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE5_IputES3_RSt8ios_basecPcm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecPKv_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecb_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecd_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basece_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecl_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecx_nid_postfix
libSceLibcInternal _ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecy_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE3putES3_RSt8ios_basewPKv_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE3putES3_RSt8ios_basewb_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE3putES3_RSt8ios_basewd_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE3putES3_RSt8ios_basewe_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE3putES3_RSt8ios_basewl_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE3putES3_RSt8ios_basewm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE3putES3_RSt8ios_basewx_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE3putES3_RSt8ios_basewy_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE4_PutES3_PKwm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE4_RepES3_wm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE5_FfmtEPccNSt5_IosbIiE9_FmtflagsE_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE5_FputES3_RSt8ios_basewPKcm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE5_FputES3_RSt8ios_basewPKcmmmm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE5_IfmtEPcPKcNSt5_IosbIiE9_FmtflagsE_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE5_IputES3_RSt8ios_basewPcm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewPKv_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewb_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewd_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewe_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewl_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewm_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewx_nid_postfix
libSceLibcInternal _ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewy_nid_postfix
🗑️ 78 removed
Library Name
libSceLibcInternal sceLibcInternalPending3_001_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_002_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_003_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_004_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_005_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_006_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_007_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_008_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_009_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_010_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_011_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_012_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_013_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_026_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_027_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_028_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_029_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_030_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_031_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_032_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_033_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_034_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_068_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_069_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_070_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_071_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_072_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_073_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_074_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_075_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_076_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_077_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_093_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_094_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_095_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_096_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_097_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_098_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_099_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_100_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_101_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_102_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_115_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_116_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_117_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_118_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_119_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_120_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_121_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_122_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_123_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_124_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_125_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_126_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_127_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_128_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_129_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_130_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_131_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_132_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_133_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_134_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_135_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_136_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_137_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_138_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_139_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_140_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_141_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_142_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_143_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_144_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_145_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_146_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_147_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_148_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_149_nid_no_patch
libSceLibcInternal sceLibcInternalPending3_150_nid_no_patch

Changed libraries (implemented exports)

Library Before After Change
libSceLibcInternal 95/1140 (8.33%) 95/1140 (8.33%) +0.00%

@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 15581 core/libs/prx/libSceLibcInternal/libSceLibcInternal.hpp L4

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 15712 core/libs/prx/libSceLibcInternal/Err.cpp
PR 15715 core/libs/prx/libSceLibcInternal/Err.cpp
PR 15801 core/libs/prx/libSceLibcInternal/Err.cpp
PR 15802 core/libs/prx/libSceLibcInternal/Err.cpp
PR 15803 core/libs/prx/libSceLibcInternal/Err.cpp
PR 15804 core/libs/prx/libSceLibcInternal/Err.cpp
PR 15807 core/libs/prx/libSceLibcInternal/Err.cpp
PR 16024 core/libs/prx/libSceLibcInternal/libSceLibcInternal.hpp

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant