Clang static analysis results for dmd

Robert Clipsham robert at octarineparrot.com
Sun Jul 24 14:06:31 PDT 2011


Hi all,

I took the liberty of running dmd through clang's static analysis, and 
it's turned up quite a few (486) potential bugs in dmd:

http://octarineparrot.com/assets/dmd/

There's bound to be a few false positives in there (please feel free to 
report them to the nice folk over at llvm), and the dead code won't 
cause any problems (and most of the "dead code" in the backend is 
probably in use with dmc or something), but there are still a few 
hundred potential crashes in there.

The link above is rather slow - if anyone wants a local copy to work 
with let me know and I'll see about getting one to you... The compressed 
source to those pages is ~206MB, it's about 2.8GB without compression!

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d mailing list