<HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE id=mysingle_style type=text/css>P {
        MARGIN-BOTTOM: 5px; FONT-SIZE: 12pt; FONT-FAMILY: Verdana, arial; MARGIN-TOP: 5px
}
TD {
        MARGIN-BOTTOM: 5px; FONT-SIZE: 12pt; FONT-FAMILY: Verdana, arial; MARGIN-TOP: 5px
}
LI {
        MARGIN-BOTTOM: 5px; FONT-SIZE: 12pt; FONT-FAMILY: Verdana, arial; MARGIN-TOP: 5px
}
BODY {
        FONT-SIZE: 12pt; FONT-FAMILY: Verdana, arial; MARGIN: 10px; LINE-HEIGHT: 1.4
}
</STYLE>

<META content=IE=5 http-equiv=X-UA-Compatible>
<META name=GENERATOR content="MSHTML 11.00.9600.18212"></HEAD>
<BODY>
<P>Dear Clang Users,</P>
<P>We are trying to use the clang analyser for our product source code but cant seem to get it working for even the basic use cases! </P>
<P>We use the command</P>
<P>scan-build -enable-checker alpha.unix.Stream clang hello.c</P>
<P>where hello.c is a test file for the double fclose checker as detailed in <A href="http://llvm.org/devmtg/2012-11/Zaks-Rose-Checker24Hours.pdf">http://llvm.org/devmtg/2012-11/Zaks-Rose-Checker24Hours.pdf</A></P>
<P> </P>
<P>       FILE *fp;<BR>        fp= fopen("hello.txt","w");<BR>        if(len0==0)<BR>                fclose(fp);<BR>        else<BR>                fputc(len0, fp);<BR>        fclose(fp);</P>
<P>        return 0;</P><!--SP:manjun-->
<P>On running we get the message </P>
<P>scan-build: Using '/usr/local/bin/clang-3.9' for static analysis<BR>scan-build: Removing directory '/tmp/scan-build-2016-06-16-112854-24350-1' because it contains no reports.<BR>scan-build: No bugs found</P>
<P> </P>
<P>Any help on this issue would be appreciated. </P>
<P> </P>
<P>Thanks and warm regards, </P>
<P>Manjunath N </P>
<P>=========================== </P>
<P>System LSI Group, DS India Lab, Samsung Research India - Bangalore</P><!--manjun:EP-->
<P> </P>
<TABLE id=confidentialsignimg>
<TBODY>
<TR>
<TD NAMO_LOCK>
<P><IMG border=0 src="cid:Z5JE7EUABGFC@namo.co.kr"></P></TD></TR></TBODY></TABLE></BODY></HTML><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=36e611fbbc499bdbfb8709fa0031256461a96b08b9b4ab6245365c1df6c3e734a95da81ae0f7d7778811b2cd7e9e9e2649e5ff3dfdc8681d76f80bf81d31c863cf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>