[cfe-dev] About Clang Static Analyzer
Ted Kremenek
kremenek at apple.com
Wed May 12 08:25:48 PDT 2010
Hi Jiandong,
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.
On May 12, 2010, at 2:31 AM, Jiandong Wang wrote:
> 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.
>
> On Wed, May 12, 2010 at 5:09 PM, Jean-Daniel Dupas <devlists at shadowlab.org> wrote:
> The Analyzer is clang.
>
> To use it you do
>
> clang --analyze ...
>
> So your stand-alone code is llvm + clang
>
> check out llvm
> checkout clang in llvm/tool/clang
> go to the llvm dir
>
> configure && make
>
> and you're done.
>
>
>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
> -- Jean-Daniel
>
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100512/4fa47f8a/attachment.html>
More information about the cfe-dev
mailing list