Hacker News new | past | comments | ask | show | jobs | submit login

> and reliably corrupt memory

Who said memory corruption had to occur "reliably"??

"Permissible undefined behavior ranges from ignoring the situation completely with unpredictable results"

> compilers can't allocate local variables in register.

Why not?

> If it's on stack, out-of-bounds write may reliably corrupt stack, so how can it be on register?

"Permissible undefined behavior ranges from ignoring the situation completely with unpredictable results"

> And I am yet to see any good answer.

What would qualify an answer as "good" IYHO?




>> and reliably corrupt memory > Who said memory corruption had to occur "reliably"??

Usually when I write code that corrupts memory, it reliably corrupts memory an unreliable way.


What is that word salad supposed to mean?


Consistent inconsistency or inconsistent consistency. Similar, but slightly different.




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

Search: