[cfe-dev] Clang Static analyzer without building

suyash singh via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 25 10:54:47 PDT 2020


Okay, thank-you
 I will run with scan-build then. I asked this as I want to add "clang
static analyzer and llvm sanitizers" in the most simplest way.

On Wed, Mar 25, 2020 at 8:51 PM Artem Dergachev <noqnoqneo at gmail.com> wrote:

> As of now we only analyze code that compiles without errors to begin
> with. This does force us to have some amount of interaction with the
> build system.
>
> What are your problems with scan-build though? Is it somehow not working
> for your build system? RTEMS looks like it has a plain old Makefile; as
> long as it respects environment variables CC and CXX, "scan-build make"
> should work just fine.
>
> On 3/25/20 4:59 PM, suyash singh via cfe-dev wrote:
> > Hello everyone,
> > This is my first mail to the mailing list.
> >
> > I wanted to ask is there a way to use the Clang Static Analyzer
> > without integrating it with the build process of a project? I want to
> > use the analyzer for analysis of RTEMS codebase
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200325/8bb6001e/attachment.html>


More information about the cfe-dev mailing list