docs(libSceSystemService): record a PS5 measurement of sceSystemServiceInitializePlayerDialogParam #16546

Merged
xXPBSXx merged 1 commit from upstream-pr/16546 into main 2026-11-10 19:07:18 +00:00
xXPBSXx commented 2026-11-07 03:24:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-11-07T03:24:09Z.


What

The sceSystemServiceInitializePlayerDialogParam entry says a null param throws and that what the console does with it is not measured. On a PS5 (firmware 11.60) a null param faults the process (SIGSEGV), so AnyPS5's throw stays and the entry now states the measurement instead. A valid buffer receives the same 0x40 bytes the prosper run showed (size 0x40, user ID -1 at offset 0xC, zeros elsewhere), and nothing past 0x40 is written. This matches Export.cpp, so no code changes. The value left in rax was 0x800079318, not the 0x800693020 of the prosper run, so it is not a result. What the mode and target account fields do is still not measured and stays in the entry.

Tested

Measured on a PS5 with firmware 11.60 (kernel_get_fw_version 0x11600005), from a homebrew payload process (ps5-payload-sdk v0.45, elfldr), on 2026-11-06 at 19:00 UTC. A title process may differ. The call only fills a structure in the probe's own memory; no dialog is opened.

Call PS5, payload process, firmware 11.60 AnyPS5 main
sceSystemServiceInitializePlayerDialogParam(buf), 256-byte buffer prefilled with 0xAA writes 0x40 bytes: 0x40 in the first 8 bytes, -1 at 0xC, zeros elsewhere; bytes from 0x40 on untouched writes the same 0x40 bytes
same call again identical bytes identical bytes
sceSystemServiceInitializePlayerDialogParam(NULL) the process faults with SIGSEGV throws

The probe source and its raw output are in the first comment. tools/check_conventions.py --base upstream/main passes.

Overlap: the 14 open pull requests that change docs/dev/debt/libSceSystemService.md were checked on 2026-11-07 between 02:50 UTC and 03:10 UTC against main 74cafd409a. Four already conflict with main without this change (#16463, #15947, #14212 and #8651; #15947 and #8651 in that file). #14212 also conflicts in that file with this change, because it adds a blank line between every entry; it does not change the sceSystemServiceInitializePlayerDialogParam entry. The other ten merge cleanly with and without it.

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 (documentation only)
  • AI-assisted: yes

AI-assisted (Claude Code).

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5197978473 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16546). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-11-07T03:24:09Z. --- ### What The `sceSystemServiceInitializePlayerDialogParam` entry says a null param throws and that what the console does with it is not measured. On a PS5 (firmware 11.60) a null param faults the process (SIGSEGV), so AnyPS5's throw stays and the entry now states the measurement instead. A valid buffer receives the same 0x40 bytes the prosper run showed (size 0x40, user ID -1 at offset 0xC, zeros elsewhere), and nothing past 0x40 is written. This matches `Export.cpp`, so no code changes. The value left in `rax` was `0x800079318`, not the `0x800693020` of the prosper run, so it is not a result. What the mode and target account fields do is still not measured and stays in the entry. ### Tested Measured on a PS5 with firmware 11.60 (`kernel_get_fw_version` 0x11600005), from a homebrew payload process (ps5-payload-sdk v0.45, elfldr), on 2026-11-06 at 19:00 UTC. A title process may differ. The call only fills a structure in the probe's own memory; no dialog is opened. | Call | PS5, payload process, firmware 11.60 | AnyPS5 `main` | |---|---|---| | `sceSystemServiceInitializePlayerDialogParam(buf)`, 256-byte buffer prefilled with 0xAA | writes 0x40 bytes: `0x40` in the first 8 bytes, `-1` at 0xC, zeros elsewhere; bytes from 0x40 on untouched | writes the same 0x40 bytes | | same call again | identical bytes | identical bytes | | `sceSystemServiceInitializePlayerDialogParam(NULL)` | the process faults with SIGSEGV | throws | The probe source and its raw output are in the first comment. `tools/check_conventions.py --base upstream/main` passes. Overlap: the 14 open pull requests that change `docs/dev/debt/libSceSystemService.md` were checked on 2026-11-07 between 02:50 UTC and 03:10 UTC against `main` `74cafd409a`. Four already conflict with `main` without this change (#16463, #15947, #14212 and #8651; #15947 and #8651 in that file). #14212 also conflicts in that file with this change, because it adds a blank line between every entry; it does not change the `sceSystemServiceInitializePlayerDialogParam` entry. The other ten merge cleanly with and without it. ### 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: none <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a (documentation only) <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no --> AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
gabichuuuuu commented 2026-11-08 21:55:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-08T21:55:54Z.

Review: COMMENTED


Docs check of head 39a6a22f98 against main 0bae53facd: I compared what the entry says about the code with the code, and checked the links and counts. I can't check the console measurements themselves.

The code still throws for a null param, so the entry now records a divergence: the console faults.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5819834065 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16546#pullrequestreview-5819834065). Originally posted by [gabichuuuuu](https://github.com/gabichuuuuu) on 2026-11-08T21:55:54Z. **Review:** COMMENTED --- Docs check of head `39a6a22f98` against `main` `0bae53facd`: I compared what the entry says about the code with the code, and checked the links and counts. I can't check the console measurements themselves. The code still throws for a null param, so the entry now records a divergence: the console faults.
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!16546
No description provided.