Re:Undefined behavior in C is a reading error
by vyodaiken on Friday May 21, 2021 @02:54PM
(#27238325)
So I create a thread with a custom stack which is an allocated buffer. At the top, I write a sequence of bytes in some order. Then I periodically read the top of the stack to see if the stack is getting close to overflow. Meanwhile, the thread code is also addressing the same store.
[ Parent
| on HN ]
There are no comments on this comment yet.