Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ncmncm
on July 13, 2022
|
parent
|
context
|
favorite
| on:
Retbleed: New speculative execution attack sends I...
You may think so, and I may even agree. But those opinions do not control what compilers actually implement.
For example, in
void f() { volatile char sekrit[256]; sekrit[0] = 0; }
a compiler may reason that, since
sekrit
is on the stack, and no hardware device could know where it is, it may elide the whole block. And, some do.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
For example, in
a compiler may reason that, since sekrit is on the stack, and no hardware device could know where it is, it may elide the whole block. And, some do.