<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Jiandong,<div><br></div><div>As Jean-Daniel said, the analyzer itself is contained within a library.  The 'clang' executable simply links in that library and has some boilerplate logic to drive it.  You are perfectly free to use the analyzer logic in a different context.</div><div><br><div><div>On May 12, 2010, at 2:31 AM, Jiandong Wang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">is that the case?  If it was true, it would be so frustrating.  Maybe I'll have to make another further research. Thank you all the same.<br><br><div class="gmail_quote">On Wed, May 12, 2010 at 5:09 PM, Jean-Daniel Dupas <span dir="ltr"><<a href="mailto:devlists@shadowlab.org">devlists@shadowlab.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">The Analyzer is clang.<div><br></div><div>To use it you do</div><div><br></div>

<div>clang --analyze ...</div><div><br></div><div>So your stand-alone code is llvm + clang</div><div><br></div><div>check out llvm</div><div>checkout clang in llvm/tool/clang</div><div>go to the llvm dir</div><div><br></div>

<div>configure && make</div><div><br></div><div>and you're done.</div><div><br></div><div><br><div><br><blockquote type="cite">_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>

<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br></blockquote></div><font color="#888888"><br><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>

-- Jean-Daniel</div><div><br></div><div><br></div></span><br>
</div>
<br></font></div></div></blockquote></div><br>
_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></div></body></html>