News for hackers. Stuff that matters.
Re:Being Sneaky in C by ikeboy on Friday June 12, 2015 @04:52PM (#9708463)
Why not generate random data then read it? Or even a constant, then read it?
Re:Being Sneaky in C by TheLoneWolfling on Friday June 12, 2015 @04:55PM (#9708478)
Because the compiler will optimize it out. Even if you return the random data / constant the compiler will optimize out the store to the variable and just pass it through directly.