<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">Hello All,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Scan-build, the current bug viewer Clang Static Analyzer front-end tool has some scalability issues and limitations.<o:p></o:p></p>
<p class="MsoPlainText">For example, scan-build creates static HTML reports, storing whole source files as many times as they are included in a report.<o:p></o:p></p>
<p class="MsoPlainText">Incremental bug reporting (show only new bugs compared to a baseline) and false positive suppression is not supported either.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">To address these issues, back in July we published CodeChecker on GitHub (
<a href="https://github.com/Ericsson/codechecker"><span style="color:windowtext;text-decoration:none">https://github.com/Ericsson/codechecker</span></a> ),
<o:p></o:p></p>
<p class="MsoPlainText">a new defect storage and management infrastructure for Clang Static Analyzer (written in python). We also gave a talk about this in Euro LLVM 2015 (http://llvm.org/devmtg/2015-04/).<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The most important features are the following:<o:p></o:p></p>
<p class="MsoPlainText"> - scalable dynamic web based defect viewer (instead of static html)<o:p></o:p></p>
<p class="MsoPlainText"> - a new command line tool for analyzing projects which is usable in CI scripts<o:p></o:p></p>
<p class="MsoPlainText"> - a PostgreSQL based defect storage & management<o:p></o:p></p>
<p class="MsoPlainText"> - incremental bug reporting (show only new bugs compared to a baseline)<o:p></o:p></p>
<p class="MsoPlainText"> - suppression of false positives<o:p></o:p></p>
<p class="MsoPlainText"> - better integration with build systems (through the LD_PRELOAD mechanism)<o:p></o:p></p>
<p class="MsoPlainText"> - Apache Thrift API based server-client model for storing bugs and viewing results.<o:p></o:p></p>
<p class="MsoPlainText"> - It is possible to connect multiple bug viewers. Currently a web-based viewer and a command line viewer are provided.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Since its publication we have fixed many errors, addressed user-feedbacks and now I think it is mature enough.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">We could release the tool under LLVM license.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">If you agree, this tool could be part of the llvm/clang source tree, possibly besides scan-build (or a separate llvm repository?).
<o:p></o:p></p>
<p class="MsoPlainText">I am not sure about the official process.<o:p></o:p></p>
<p class="MsoPlainText">Can anyone help with this?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards,<o:p></o:p></p>
<p class="MsoPlainText">Daniel<o:p></o:p></p>
</div>
</body>
</html>