Article: Fuzzing D code with LDC

Johan Engelen j at j.nl
Sat Jan 13 23:59:52 UTC 2018


It's been a work-in-progress for half a year, but finished now:

http://johanengelen.github.io/ldc/2018/01/14/Fuzzing-with-LDC.html

"A not-so-well-written article about the fuzzing capability 
recently added to LDC, using LLVM’s libFuzzer. Compiling code 
with -fsanitize=fuzzer adds control-flow instrumentation used to 
guide the fuzzing and links-in the libFuzzer library that drives 
the fuzz testing (same as Clang). -fsanitize=fuzzer is available 
from LDC 1.4.0, not on Windows. LDC 1.6.0 was used for the 
examples in this article."

Hope the article gives you enough information to start fuzz 
testing your own projects.

cheers,
   Johan

(per Ali's request, the article has a nice fuzzy font for some of 
you :P)


More information about the Digitalmars-d-announce mailing list