Article: Finding memory bugs in D code with AddressSanitizer

Johan Engelen j at j.nl
Mon Dec 25 17:03:37 UTC 2017


I've been writing this article since August, and finally found 
some time to finish it:

http://johanengelen.github.io/ldc/2017/12/25/LDC-and-AddressSanitizer.html

"LDC comes with improved support for Address Sanitizer since the 
1.4.0 release. Address Sanitizer (ASan) is a runtime memory 
write/read checker that helps discover and locate memory access 
bugs. ASan is part of the official LDC release binaries; to use 
it you must build with -fsanitize=address. In this article, I’ll 
explain how to use ASan, what kind of bugs it can find, and what 
bugs it will be able to find in the (hopefully near) future."

Thanks for your proof-reading.

cheers,
   Johan



More information about the Digitalmars-d-announce mailing list