Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dcrazy
19 days ago
|
parent
|
context
|
favorite
| on:
Reverse engineering Call of Duty anti-cheat
`ret` also updates the branch predictor’s shadow stack. Failing to balance `call` and `ret` can seriously impact performance.
dkersten
19 days ago
|
next
[–]
If anyone else is looking for more information on this, like I was, this stack is called the “return stack buffer”.
DSMan195276
18 days ago
|
prev
[–]
Right, I didn't want to get into it but definitely using 'ret' "properly" has big performance benefits. My point was just that it won't prevent your code from running, it's not like x86 will trigger an exception if they don't match up.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: