mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #2850] [MERGED] Implement sceKernelGetModuleInfo, sceKernelGetModuleInfoInternal, and sceKernelGetModuleList #3028
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3028
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2850
Author: @StevenMiller123
Created: 4/27/2025
Status: ✅ Merged
Merged: 4/27/2025
Merged by: @georgemoralis
Base:
main← Head:moduleinfo📝 Commits (7)
a4fb108Fix GetModule exceptionce4a00aPrevent OOB writes in add_segment0a0d76eImplement sceKernelGetModuleInfo, sceKernelGetModuleInfoInternal, sceKernelGetModuleList29c6f1dClangc6fab33Accurate error returns7c60601Accurate error checks in ModuleInfo functions52222faClang📊 Changes
3 files changed (+68 additions, -5 deletions)
View changed files
📝
src/core/libraries/kernel/process.cpp(+59 -0)📝
src/core/linker.h(+1 -1)📝
src/core/module.cpp(+8 -4)📄 Description
These are implemented based on real hardware behavior and a homebrew sample written by red_prig.
Also contains a bugfix for a broken index check in Linker::GetModule, and prevents possible OOB memory writes in Module::LoadModuleToMemory
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.