Debugging a Heisenbug. Among other efforts to probe it, making a small change to an unrelated function makes it go away. Years ago, I'd have left it at that... but now I'm not going to sleep until I know what's going on...
-
Show this thread
-
In case anyone's wondering, the undefined behaviour turned out to be caused by using memcpy on overlapping regions. I found this after sleeping :).
6 replies 0 retweets 61 likesShow this thread -
Replying to @edwinbrady
Would be interesting to see of memstomp would have caught it.https://www.systutorials.com/docs/linux/man/1-memstomp/ …
1 reply 0 retweets 0 likes
Replying to @JTParker09
I'm now considering trying all the gadgets to see which would have caught it. Also to see what else they catch... I eventually found this one with good old fashioned printf though!
3:10 AM - 25 Apr 2019
0 replies
0 retweets
5 likes
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.