Dead Store Elimination (Still) Considered Harmful http://cseweb.ucsd.edu/~klevchen/yjoll-usesec17.pdf …
-
-
Sure, but what's the alternative?
-
the only guaranteed one'd be an extension to the language, but... *looks at memset_s*
-
even something like that is no guarantee since the compiler is free to make copies of the data before you wipe it
-
I saw a demo of this (compiler slyly making a copy) a while back but don't have the link handy
-
The best is when the compiler makes a copy for the sole purpose of passing it to explicit_bzero.
-
Ha! I'd love to see an example of that, if you have one handy.
-
me too, that's compiler comedy gold
-
It happens any time the data fits in registers & the address wasn't already taken.
- 1 more reply
New conversation -
-
-
A) Nope, fairly recent. B) You can still hit it with a big enough rock to make it Do What You Said To Do.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.