From owner-svn-src-all@freebsd.org Fri Feb 26 22:31:23 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0855FAB4548 for ; Fri, 26 Feb 2016 22:31:23 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5E007D4 for ; Fri, 26 Feb 2016 22:31:21 +0000 (UTC) (envelope-from joerg@britannica.bec.de) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQuEfXeSt/nWoxdY2dvuAIbsw5PvjGQjhWhuX/mG/shwhw9rRCBciS5mQe7wz2w== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (p20030057E21B0F00614EE524315B4F0E.dip0.t-ipconnect.de [IPv6:2003:57:e21b:f00:614e:e524:315b:4f0e]) by smtp.strato.de (RZmta 37.19 AUTH) with ESMTPSA id m0082fs1QMVITCd (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Fri, 26 Feb 2016 23:31:18 +0100 (CET) Date: Fri, 26 Feb 2016 23:31:16 +0100 From: Joerg Sonnenberger 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> References: <201602262214.u1QME0oM033474@repo.freebsd.org> <56D0CF75.9050306@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56D0CF75.9050306@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 22:31:23 -0000 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