Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

cheat. after resetting the memory, copy the first and last bytes and log them out somewhere. that'll prevent any optimizations


If only it were so simple. You underestimate the evilness of compilers.

The compiler can (and will!) just propagate the values through directly and skip the memset.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: