Skip to content

feat(libSceImeBackend): add export placeholders - #13403

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
Celegans12:feat/imebackend-inventory-exports-20261030
Oct 30, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
Celegans12:feat/imebackend-inventory-exports-20261030

Conversation

@Celegans12

Copy link
Copy Markdown
Contributor

What

Adds 5 throwing export placeholders to libSceImeBackend for the names in the PS5 13.60 export inventory that main does not define yet. Each NID was recomputed from its name. Signatures are unknown, so each placeholder is a parameterless int that throws through NotImplemented_nid_no_patch, and docs/dev/debt/libSceImeBackend.md records the gap.

Tested

Not tested on a title. python3 tools/check_conventions.py --base origin/main passes, and clang++ -std=c++20 -fsyntax-only on the library's Export.cpp is clean. Searched main and the heads of PRs #11000 to #13325 for the names and NIDs, and none define them.

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

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — looks good

The five added names match the pinned firmware 13.60 export inventory and verified NID bindings, and each placeholder throws while its signature and behavior remain unknown.

What I ran

Reviewed head f36a43ce08642e410a49d926d2cfd3dd7dfac941 against base d998343ced21f2c5b9c76dc06ef3a77507311565. Environment: Linux x86-64, Python 3.11.2, Git 2.39.5, GCC 12.2.0. I did not build or compile.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13403 --no-negative-controls
python3 tools/nid_names.py --name sceImeBackendGetConvertMode --name sceImeBackendTemporalConfirm --name sceImeBackendSetConvertMode --name sceImeBackendForTestFunction --name sceImeBackendDeleteCharacter --json
gh api 'repos/xdCloudy/PS5-13.60-Function-Stub-Library/contents/data/firmware-13.60/libsceimebackend-877b15bc21.jsonl?ref=226383a7fa4b1275d6cebf61eb1c1e7ca7b58bcb' --jq .content | base64 -d | grep -E 'sceImeBackend(GetConvertMode|TemporalConfirm|SetConvertMode|ForTestFunction|DeleteCharacter)'
gh pr list --repo boykopovar/AnyPS5 --state open --search 'sceImeBackendGetConvertMode OR sceImeBackendTemporalConfirm OR sceImeBackendSetConvertMode OR sceImeBackendForTestFunction OR sceImeBackendDeleteCharacter' --json number,title,headRefOid,isDraft --limit 20

Results

Check Result
Diff check Passed.
Repository conventions and PR template Passed.
Dependency/mergeability Passed; PR head and base remained unchanged during precheck.
NID binding Passed: the five computed NIDs match the pinned firmware inventory's verified name bindings.
Duplicate search No other open PR matched these five names.
ABI audit and test-quality helper Could not run because the helper scripts were absent from the isolated precheck checkout.
Tests and hosted CI No build or tests run; hosted policy checks were queued at the snapshot. The PR's reported syntax-only check was not independently run.
Unedited output from completed checks
All conventions checks passed.
{
 "symbols": [
  {
   "name": "sceImeBackendGetConvertMode",
   "nid": "-2B4DKWlSTY"
  },
  {
   "name": "sceImeBackendTemporalConfirm",
   "nid": "4YClXOfFOdk"
  },
  {
   "name": "sceImeBackendSetConvertMode",
   "nid": "HbAX1cSb+hw"
  },
  {
   "name": "sceImeBackendForTestFunction",
   "nid": "Z2S47QoVtYg"
  },
  {
   "name": "sceImeBackendDeleteCharacter",
   "nid": "mJlVV44ycU0"
  }
 ]
}
{"firmware_13_60_export_confirmed":true,"firmware_versions":["13.60"],"kind":"defined_function_export","library":"libSceImeBackend","name":"sceImeBackendGetConvertMode","name_status":"verified_nid_binding","nid":"-2B4DKWlSTY","scope":"existing_firmware_system_library","signature_status":"unknown","source_evidence":["firmware_export_table","verified_nid_name_map"],"stub_assessment":"throwing_stub_candidate_validation_required"}
{"firmware_13_60_export_confirmed":true,"firmware_versions":["13.60"],"kind":"defined_function_export","library":"libSceImeBackend","name":"sceImeBackendTemporalConfirm","name_status":"verified_nid_binding","nid":"4YClXOfFOdk","scope":"existing_firmware_system_library","signature_status":"unknown","source_evidence":["firmware_export_table","verified_nid_name_map"],"stub_assessment":"throwing_stub_candidate_validation_required"}
{"firmware_13_60_export_confirmed":true,"firmware_versions":["13.60"],"kind":"defined_function_export","library":"libSceImeBackend","name":"sceImeBackendSetConvertMode","name_status":"verified_nid_binding","nid":"HbAX1cSb+hw","scope":"existing_firmware_system_library","signature_status":"unknown","source_evidence":["firmware_export_table","verified_nid_name_map"],"stub_assessment":"throwing_stub_candidate_validation_required"}
{"firmware_13_60_export_confirmed":true,"firmware_versions":["13.60"],"kind":"defined_function_export","library":"libSceImeBackend","name":"sceImeBackendForTestFunction","name_status":"verified_nid_binding","nid":"Z2S47QoVtYg","scope":"existing_firmware_system_library","signature_status":"unknown","source_evidence":["firmware_export_table","verified_nid_name_map"],"stub_assessment":"throwing_stub_candidate_validation_required"}
{"firmware_13_60_export_confirmed":true,"firmware_versions":["13.60"],"kind":"defined_function_export","library":"libSceImeBackend","name":"sceImeBackendDeleteCharacter","name_status":"verified_nid_binding","nid":"mJlVV44ycU0","scope":"existing_firmware_system_library","source_evidence":["firmware_export_table","verified_nid_name_map"],"stub_assessment":"throwing_stub_candidate_validation_required"}

Sources

Not verified

I did not independently compile the changed C++, run a title or console test, or verify function signatures and runtime behavior. Hosted checks were queued when inspected.

@github-actions

Copy link
Copy Markdown

Progress report (d998343 → f36a43c)

📉 System libraries: 27.23% (-0.01%, +5 declared functions)

🆕 5 declared as stubs
Library Name
libSceImeBackend sceImeBackendDeleteCharacter
libSceImeBackend sceImeBackendForTestFunction
libSceImeBackend sceImeBackendGetConvertMode
libSceImeBackend sceImeBackendSetConvertMode
libSceImeBackend sceImeBackendTemporalConfirm

Changed libraries (implemented exports)

Library Before After Change
libSceImeBackend 0/22 (0.00%) 0/27 (0.00%) +0.00%

@adriadam10 adriadam10 self-assigned this Oct 30, 2026
@adriadam10
adriadam10 merged commit 567837f into boykopovar:main Oct 30, 2026
12 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked that the five names hash to the listed NIDs, none were defined on main, each export throws through NotImplemented_nid_no_patch, and the debt entry sits under "Unknown function info"; merged.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants