mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[PR #3822] [MERGED] Kernel.Vmm: Protect Fixes #3739
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#3739
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/3822
Author: @StevenMiller123
Created: 11/22/2025
Status: ✅ Merged
Merged: 11/22/2025
Merged by: @georgemoralis
Base:
main← Head:mprotect-hotfixes📝 Commits (3)
bea2c66Some mprotect fixes1425021Update memory.cpp5927b4cclang📊 Changes
1 file changed (+32 additions, -16 deletions)
View changed files
📝
src/core/memory.cpp(+32 -16)📄 Description
This PR fixes a bit of logic related to protections, based on tests I wrote in https://github.com/ps4emulation/integration_tests/pull/4
This PR fixes crashing that would occur when calling mprotect on reserved or pool reserved memory, which isn't mapped in address space. On real hardware, mprotect doesn't generally fail.
The changes related to pooled and pool reserved memory are assumptions, I haven't tested them on real hardware yet.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.