llvm/clang static analyzer reports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


Bugzilla bug report #39596 [1] is talking about finding a way to run automated reports of the llvm/clang static analyzer on the libreoffice codebase. I mentioned I was looking into picking this up briefly on irc, and it was suggested to just do a manual run first, just to see if results might be useful.

I managed to do a full clang-analyzer run on the libreoffice codebase, and uploaded the tar.gz html results to google drive [2]. I honestly have no idea if the results are valid/useful though. Perhaps someone could take a look at them ? As mentioned, the results should be here [2].

It looks like a lot, but it also seems that the same file(s) and line is included lots of times (for example, core/include/rtl/ref.hxx, function get, line 192, is listed a lot). As far as i can tell, the analyzer is supposed to filter these and only include one of the duplicates in the final report instead of listing all of them, so something must be going wrong here.

For what it's worth: the entire run took about 4 hours to complete on my system (Intel Core i7-10700, 32GB RAM)


Sincerely,


Maarten Hoes


[1]
https://bugs.documentfoundation.org/show_bug.cgi?id=39596

[2]
https://drive.google.com/file/d/1kbX_uo_jRqQkny1Qf6XYT1d72nUC8PO0/view?usp=sharing
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux