Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2016 13:32:32 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Svyatoslav Razmyslov <razmyslov@viva64.com>
Cc:        freebsd-doc@FreeBSD.org, Andrey Karpov <karpov@viva64.com>, wblock@FreeBSD.org
Subject:   Re: Checking FreeBSD kernel with static analyzer
Message-ID:  <alpine.BSF.2.20.1602171332030.44372@wonkity.com>
In-Reply-To: <56C48E65.8040309@viva64.com>
References:  <56BB00C3.5060309@viva64.com> <alpine.BSF.2.20.1602100806460.99531@wonkity.com> <56BB5718.1090700@viva64.com> <alpine.BSF.2.20.1602100927570.99531@wonkity.com> <56C48E65.8040309@viva64.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Added, thanks!

On Wed, 17 Feb 2016, Svyatoslav Razmyslov wrote:

> Hi, Warren.
>
> We've published the article on our site, here is the message from our PR:
>
> Analysis of FreeBSD kernel by PVS-Studio.
> The development team of PVS-Studio static code analyzer checked FreeBSD OS 
> kernel and published an article <link here>, describing the most suspicious 
> fragments.
>
> http://www.viva64.com/en/b/0377/
>
> Thanks!
>
> 10.02.2016 19:55, Warren Block пишет:
>> On Wed, 10 Feb 2016, Svyatoslav Razmyslov wrote:
>> 
>>> The analysis report (filtered for most interesting messages) is attached, 
>>> you can use it without any restrictions. To use the report, please append 
>>> the beginning of the paths to files with the path to a directory 
>>> containing kernel sources (replace |?| in case of csv).
>>> 
>>> Our article itself will be ready approximately in a week, we well 
>>> appreciate if you could post about it in a news section on 
>>> www.freebsd.org.
>> 
>> Please notify me or the freebsd-doc mailing list when the article is ready.
>> 
>> Thanks!
>> 
>
>
>
From owner-freebsd-doc@freebsd.org  Wed Feb 17 21:01:03 2016
Return-Path: <owner-freebsd-doc@freebsd.org>
Delivered-To: freebsd-doc@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 562CCAABAFE
 for <freebsd-doc@mailman.ysv.freebsd.org>;
 Wed, 17 Feb 2016 21:01:03 +0000 (UTC)
 (envelope-from russ.haley@gmail.com)
Received: from mail-pf0-x234.google.com (mail-pf0-x234.google.com
 [IPv6:2607:f8b0:400e:c00::234])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 276AD1396;
 Wed, 17 Feb 2016 21:01:03 +0000 (UTC)
 (envelope-from russ.haley@gmail.com)
Received: by mail-pf0-x234.google.com with SMTP id x65so17704690pfb.1;
 Wed, 17 Feb 2016 13:01:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=content-type:mime-version:content-transfer-encoding:message-id:date
 :subject:from:in-reply-to:references:to:cc;
 bh=9Tk6PRIF5ByLxwRxJKJXH90vlnkbJu3p5ZEHHhWCMrA=;
 b=ArZQ2NSSDu92dz/cxdU6CiiHlxsQQo9pHiFvDO7C7B9bUz9LyK21Lyta7hyoEdlmAv
 xDiGoBFnLV/4XZAdK+8R37pb7e/0vUAWOj1roG9GSjUwmg5kkjFz7Xi6TsGrqRf9rMbp
 CcfbCecmeVvBADH8svUuJH01RtwHBuXk8/pK5pZcK7y4WQbapfIgbYP/f/IguC6BxPeH
 ymIAmCPn9TdexDbTRX14jGeFqK0nnghmkc8wpTe/ydi5+/jMxJt+KOsaiDTktbCkuJeP
 0ZlNfuTyAm67N1Dl+khq2VOVDWEdmwoQAabEi0r+oc8EJLtKqT4jUURpHmBKwUxF2pYb
 GXbg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:content-type:mime-version
 :content-transfer-encoding:message-id:date:subject:from:in-reply-to
 :references:to:cc;
 bh=9Tk6PRIF5ByLxwRxJKJXH90vlnkbJu3p5ZEHHhWCMrA=;
 b=bU90Uk60B3skHewIa1HBCGRKrU9NodV7Yi7XAn95VwICw/u1yyfgDwDFCn2x2nr8iA
 Pg8CtP4/Zf82TM0sxDhsazcTBKxoPSetcCP0K8amPHux620rQHXYSvkbOBV91dT8sKoB
 NCGtGADV+C/8KtGc8i859K9kCvCah2BsSfZg1PoSQ8qHs2O0afBzxXHpJe5a17h7mrHe
 yoNInQRKg/7/HtQHI9zDysQDfvtNbwZzszve+N1DbjI+GVWY1ZvcmL8zEG0+mm33c0TV
 UI51wcFVapHrcB7dvCoCo+kFmfCqgATgogNcsnJC1QAyutA19KIgB2kw2G3Zdx9NJt1J
 EghA==
X-Gm-Message-State: AG10YOR3hQCPMZQZO2JYOlW+5yCh8+tdmwS6Eu6qWC5aR85V2qLV7lnWrpq7h58GJIPsMg==
X-Received: by 10.98.67.149 with SMTP id l21mr5168722pfi.112.1455742862236;
 Wed, 17 Feb 2016 13:01:02 -0800 (PST)
Received: from [127.0.0.1] ([209.52.88.26])
 by smtp.gmail.com with ESMTPSA id s21sm4789236pfi.29.2016.02.17.13.00.59
 (version=TLSv1/SSLv3 cipher=OTHER);
 Wed, 17 Feb 2016 13:01:01 -0800 (PST)
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Mailer: BlackBerry Email (10.3.2.2876)
Message-ID: <20160217210059.4382803.34711.3054@gmail.com>
Date: Wed, 17 Feb 2016 13:00:59 -0800
Subject: Re: Checking FreeBSD kernel with static analyzer
From: Russell Haley <russ.haley@gmail.com>
In-Reply-To: <86wpq3nwuf.fsf@desk.des.no>
References: <56BB00C3.5060309@viva64.com>
 <alpine.BSF.2.20.1602141134380.80955@wonkity.com>
 <20160215014958.4403283.67999.2948@gmail.com>
 <CABx9NuSfUykXspDj8x_FMsYhAT9oSsZELGUwf8OZrKqm--d61w@mail.gmail.com>
 <56C18380.90405@viva64.com> <86y4aktt97.fsf@desk.des.no>
 <56C401EB.3080800@viva64.com> <86lh6jpn3p.fsf@desk.des.no>
 <20160217153319.4382803.13333.3048@gmail.com>
 <86wpq3nwuf.fsf@desk.des.no>
To: =?utf-8?q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
Cc: Warren Block <wblock@wonkity.com>, freebsd-doc@freebsd.org,
 wblock@freebsd.org
X-BeenThere: freebsd-doc@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Documentation project <freebsd-doc.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-doc>,
 <mailto:freebsd-doc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-doc/>;
List-Post: <mailto:freebsd-doc@freebsd.org>
List-Help: <mailto:freebsd-doc-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-doc>,
 <mailto:freebsd-doc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Feb 2016 21:01:03 -0000

Ah, okay. I realize now that my method won't work because there are differe=
nt trees under the same repository.=A0

Thanks for sharing!
Russ

Sent=A0from=A0my=A0BlackBerry=A010=A0smartphone=A0on=A0the=A0Koodo=A0networ=
k.
=A0 Original Message =A0
From: Dag-Erling Sm=F8rgrav
Sent: Wednesday, February 17, 2016 8:08 AM
To: Russell Haley
Cc: Warren Block; freebsd-doc@freebsd.org; wblock@freebsd.org
Subject: Re: Checking FreeBSD kernel with static analyzer

Russell Haley <russ.haley@gmail.com> writes:
> Any chance you can divulge how you calculated that?

In a git clone of the same repo:

% git show -s 46763fd4ca8a37f836c9bf2333f9d687509278f3
commit 46763fd4ca8a37f836c9bf2333f9d687509278f3
Author: mmel <mmel@FreeBSD.org>
Date: Thu Feb 4 06:39:20 2016 +0000

ARM: Remove unused symbols from genassym.c.

(I should have just asked Svyatoslav to run "git show -s HEAD")

Then, in an svn working copy of head:

% svn log | less

and look for the same date and log message.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1602171332030.44372>