[PR #2877] [MERGED] Clear stack before executing guest code #3049

Closed
opened 2026-02-27 22:02:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2877
Author: @viniciuslrangel
Created: 5/3/2025
Status: Merged
Merged: 5/7/2025
Merged by: @squidbus

Base: mainHead: stack-trash


📝 Commits (2)

  • 3f9f7ad Clear stack before executing guest code
  • 108f960 clang, don't optimize me 🚨

📊 Changes

1 file changed (+11 additions, -0 deletions)

View changed files

📝 src/core/tls.h (+11 -0)

📄 Description

Not really sure if 13Kb is the magical number

Fixes Catherine Full Body. Finally, we don't need patches anymore


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2877 **Author:** [@viniciuslrangel](https://github.com/viniciuslrangel) **Created:** 5/3/2025 **Status:** ✅ Merged **Merged:** 5/7/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `stack-trash` --- ### 📝 Commits (2) - [`3f9f7ad`](https://github.com/shadps4-emu/shadPS4/commit/3f9f7adae49b029933d3e57bb0abef4a11bbbf15) Clear stack before executing guest code - [`108f960`](https://github.com/shadps4-emu/shadPS4/commit/108f96096b037339ce29bcb85de8ba0b2fd052df) clang, don't optimize me :rotating_light: ### 📊 Changes **1 file changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/core/tls.h` (+11 -0) </details> ### 📄 Description Not really sure if 13Kb is the magical number Fixes Catherine Full Body. Finally, we don't need patches anymore --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:15 +03:00
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3049
No description provided.