FEX-Emu / FEX-Emu/FEX

Detect executable stack functions and add telemetry for it

Open
#5,000 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8k
Forks
351
Avg merge
12h 31m
Merged PRs (30d)
102

Description

This is a massive SMC hurdle if anything is abusing stack functions. We need to dynamically detect that RIP is within the thread's stack space and flag that with telemetry. This will cause massive SMC invalidation overhead when hit but we won't know it's stack based without detection.

Next goal would be to make any stack executed code do self-validation/invalidation so we don't write-protect those pages and cause tons of overhead, but that's secondary until we can find games that hit it hard.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.