fix(libSceNpCppWebApi): add missing NID stubs #11475

Closed
sktharunbalaji13-cmd wants to merge 0 commits from upstream-pr/11475 into main
sktharunbalaji13-cmd commented 2026-10-26 16:08:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by sktharunbalaji13-cmd on 2026-10-26T16:08:47Z.


What

Add four unresolved libSceNpCppWebApi exports reported by #8052 as explicit _nid_no_patch stubs. The aliases preserve the exact NIDs after patching, compile into the library, and throw NotImplemented_nid_no_patch because their signatures and behavior are unknown. Record the gap in the library debt file.

Tested

Windows worktree checks: git diff --check and python tools/check_conventions.py --base origin/main passed. The local environment has no usable C++ compiler or build program, so compilation was not 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; related to #8052
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5020679305 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11475). Originally posted by [sktharunbalaji13-cmd](https://github.com/sktharunbalaji13-cmd) on 2026-10-26T16:08:47Z. --- ### What Add four unresolved `libSceNpCppWebApi` exports reported by #8052 as explicit `_nid_no_patch` stubs. The aliases preserve the exact NIDs after patching, compile into the library, and throw `NotImplemented_nid_no_patch` because their signatures and behavior are unknown. Record the gap in the library debt file. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of the change from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Windows worktree checks: `git diff --check` and `python tools/check_conventions.py --base origin/main` passed. The local environment has no usable C++ compiler or build program, so compilation was not run. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: <!-- #PR, or none --> none - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none; related to #8052 - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> n/a - [x] AI-assisted: <!-- yes / no --> yes
MarcZX10 commented 2026-10-26 16:14:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T16:14:46Z.

Review: CHANGES_REQUESTED


Reviewed exact head be3f2afca52b. The issue supports adding explicit throwing stubs for these four unresolved NIDs, and the conventions, diff-check and current-main merge preview pass.

I found a blocking compile error in MissingExports.cpp: compiling this exact file with g++ 12.2.0 -std=c++20 -Wall -Wextra -Werror -Icore/libs -c fails in the assembler on the two asm labels that begin with digits (8x++mBOUeso_nid_no_patch and 52AlYvq+dmk_nid_no_patch), with “expected symbol name” / “unrecognized symbol type” errors. Please define these exports using an assembler-safe quoted-symbol mechanism while preserving the exact resolver-required symbol spelling, then build the library target and verify the four symbols in the resulting object/shared library.

The PR's build jobs were skipped by path policy, so the hosted checks did not catch this. The branch's merge base is ea42f4f48c03, while live main is 518d36eaec0a; the intervening change does not touch this PR's files, but CONTRIBUTING requires branches to stay current. Please sync after fixing the compile error and rerun the relevant build/checks. I am requesting changes for the confirmed compile failure and branch freshness.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5655244228 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11475#pullrequestreview-5655244228). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T16:14:46Z. **Review:** CHANGES_REQUESTED --- Reviewed exact head `be3f2afca52b`. The issue supports adding explicit throwing stubs for these four unresolved NIDs, and the conventions, diff-check and current-main merge preview pass. I found a blocking compile error in `MissingExports.cpp`: compiling this exact file with `g++ 12.2.0 -std=c++20 -Wall -Wextra -Werror -Icore/libs -c` fails in the assembler on the two asm labels that begin with digits (`8x++mBOUeso_nid_no_patch` and `52AlYvq+dmk_nid_no_patch`), with “expected symbol name” / “unrecognized symbol type” errors. Please define these exports using an assembler-safe quoted-symbol mechanism while preserving the exact resolver-required symbol spelling, then build the library target and verify the four symbols in the resulting object/shared library. The PR's build jobs were skipped by path policy, so the hosted checks did not catch this. The branch's merge base is `ea42f4f48c03`, while live `main` is `518d36eaec0a`; the intervening change does not touch this PR's files, but CONTRIBUTING requires branches to stay current. Please sync after fixing the compile error and rerun the relevant build/checks. I am requesting changes for the confirmed compile failure and branch freshness.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!11475
No description provided.