miniblog.
← Back to all posts
Mar 25, 2016 at 10:30
Brilliant blog post on debugging code gen bugs in VC++:
How to Report a VC++ Code-Gen Bug
My coworkers recently found a bug in the x64 code generated by Visual C++. This bug exists in VC++ 2010 to VC++ 2013 RC. We put in a workaround (the traditional one of disabling optimizations for t…
Wilfred Hughes
Related Posts
Oct 29, 2014 at 20:43
Local state is harmful
https://scattered-thoughts.net/blog/2014/02/17/local-state-is-harmful/
Fascinating blog post on modelling debugging on a transaction log.
Redirect
scattered-thoughts.net/blog/2014/02/17/local-state-is-harmful/
Wilfred Hughes
Shared words: debugging, blog, post Score: 53.2
May 13, 2013 at 16:55
Fixing injection bugs properly
https://www.more-magic.net/posts/structurally-fixing-injection-bugs.html
(longer blog post, worth your time)
Structurally fixing injection bugs | More magic
www.more-magic.net/posts/structurally-fixing-injection-bugs.html
Wilfred Hughes
Shared words: blog, post, bugs Score: 37.1
Jul 17, 2018 at 18:22
Cute idea (in a rather dramatic blog post): randomly generate strings for PL keywords, and apply the same transformation to your source code. This prevents code injection:
https://blog.polyverse.io/introducing-polyscripting-the-beginning-of-the-end-of-code-injection-fe0c99d6f199
(I suppose you could brute force, and they don't say if it breaks eval.)
Wilfred Hughes
Shared words: blog, post, code Score: 32