Detect executable stack functions and add telemetry for it
Open
- 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
Assessment
This issue has not been assessed yet.