Date: Fri, 26 Feb 2016 23:31:16 +0100 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: svn-src-all@freebsd.org Subject: Re: svn commit: r296124 - in head: share/man/man7 share/mk sys/conf Message-ID: <20160226223116.GA19301@britannica.bec.de> In-Reply-To: <56D0CF75.9050306@FreeBSD.org> References: <201602262214.u1QME0oM033474@repo.freebsd.org> <56D0CF75.9050306@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 26, 2016 at 02:19:33PM -0800, Bryan Drewery wrote: > On 2/26/16 2:14 PM, Bryan Drewery wrote: > > Author: bdrewery > > Date: Fri Feb 26 22:14:00 2016 > > New Revision: 296124 > > URL: https://svnweb.freebsd.org/changeset/base/296124 > > > > Log: > > Import bsd.clang-analyze.mk based on NetBSD's version. > > > > This allows 'make analyze' or 'make OBJ.clang-analyzer' to run the > > Clang static analyzer and present results on stdout. > > > > Obtained from: NetBSD (CVS Rev. 1.3) > > Sponsored by: EMC / Isilon Storage Division > > Differential Revision: https://reviews.freebsd.org/D5449 > > > > I just wanted to call special attention to this one. You may find it > useful to run in something you maintain. scan-build can achieve the > same thing but this one is at least built-in and dependency-free. The primary limitation is that it only gives the text report and that generally doesn't include the reasoning, i.e. which pre-conditions the analyzer has been taking into account for deriving with a specific warning. That sadly makes it quite a bit less useful. Joerg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160226223116.GA19301>