[cfe-dev] improvements to scan-build

Laszlo Nagy rizsotto.mailinglist at gmail.com
Tue Oct 28 03:42:15 PDT 2014


hi Anton,
hi David,

i was working on to re-implement scan-build functionality in python. (the
result you can find <https://github.com/rizsotto/Beye>) currently i am
struggling with python packaging. (but it's already works on Linux and
FreeBSD.)

and it works as you desired. ;) it has two major parts: one which capture
the compiler invocations and log those into a compilation database. and the
one which run the static analyzer against the compilation database and
generate the report. (in between the two you might run a program which
transforms/filters command line arguments, if that desired.)

regards,
Laszlo

On Mon, Oct 27, 2014 at 10:41 PM, David Chisnall <
David.Chisnall at cl.cam.ac.uk> wrote:

> On 27 Oct 2014, at 20:30, Anton Yartsev <anton.yartsev at gmail.com> wrote:
>
> > Any thoughts and suggestions are welcome!
>
> Better documentation of the flags that scan-build is going to pass to
> clang would be top of my list.  I don't want to tie running the static
> analyser to a build step, I want my build system to generate an analyse
> target.
>
> David
>
>
> _______________________________________________
> 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/20141028/4bb43321/attachment.html>


More information about the cfe-dev mailing list