libSceSysmodule: five internal exports need readings from the firmware module #21866

Open
opened 2026-11-16 20:09:27 +00:00 by zaryabzip · 0 comments
zaryabzip commented 2026-11-16 20:09:27 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by zaryabzip on 2026-11-16T20:09:27Z.


What happens

libSceSysmodule still has 5 exports that throw through NotImplemented_nid_no_patch, declared without parameters, because no prototype is known:

  • sceSysmoduleIsCalledFromSysModule
  • sceSysmoduleIsCameraPreloaded
  • sceSysmoduleMapLibcForLibkernel
  • sceSysmodulePreloadModuleForLibkernel
  • sceSysmoduleUnloadModuleByNameInternal

What's known

  • The rest of libSceSysmodule loads and unloads modules by id. These five are listed with no credible prototype.
  • No open pull request or issue touches these names. I searched every open PR's diff and the open issues for them.

What would settle it

@BunnyFl, if your 13.42 dump has it, from firmware 13.42's libSceSysmodule.sprx, for each export:

  1. The argument list.
  2. The checks, in order, with their codes.
  3. The argument lists. What does IsCalledFromSysModule compare (a return address against the module's range?), and what does IsCameraPreloaded read?
  4. For the three libkernel-facing calls, what they do, and whether a title process can reach them, or only libkernel's own start-up.

Calls on a console with no network, camera or extra devices are enough. Anything that needs real hardware can stay unsupported.

What was checked

main at 6ad2f4575c; core/libs/prx/libSceSysmodule; the diffs of all open PRs; open issues.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6429752511 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/21866). Originally posted by [zaryabzip](https://github.com/zaryabzip) on 2026-11-16T20:09:27Z. --- ### What happens `libSceSysmodule` still has 5 exports that throw through `NotImplemented_nid_no_patch`, declared without parameters, because no prototype is known: - `sceSysmoduleIsCalledFromSysModule` - `sceSysmoduleIsCameraPreloaded` - `sceSysmoduleMapLibcForLibkernel` - `sceSysmodulePreloadModuleForLibkernel` - `sceSysmoduleUnloadModuleByNameInternal` ### What's known - The rest of `libSceSysmodule` loads and unloads modules by id. These five are listed with no credible prototype. - No open pull request or issue touches these names. I searched every open PR's diff and the open issues for them. ### What would settle it @BunnyFl, if your 13.42 dump has it, from firmware 13.42's `libSceSysmodule.sprx`, for each export: 1. The argument list. 2. The checks, in order, with their codes. 3. The argument lists. What does `IsCalledFromSysModule` compare (a return address against the module's range?), and what does `IsCameraPreloaded` read? 4. For the three libkernel-facing calls, what they do, and whether a title process can reach them, or only libkernel's own start-up. Calls on a console with no network, camera or extra devices are enough. Anything that needs real hardware can stay unsupported. ### What was checked `main` at 6ad2f4575c; `core/libs/prx/libSceSysmodule`; the diffs of all open PRs; open issues. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
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#21866
No description provided.