From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9457 Path: news.gmane.org!not-for-mail From: Khem Raj Newsgroups: gmane.linux.lib.musl.general Subject: Re: Clang static analyser results Date: Thu, 3 Mar 2016 14:30:23 -0800 Message-ID: <026CC71A-1873-4CD0-8738-2A542BE5FFB2@gmail.com> References: <1A7CA8D6-05F7-4FF6-A2FD-55AE8DA356AE@gmail.com> <20160303192100.GX9349@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_1432EC18-ECD9-4CDF-8143-AF8C87F18746"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Trace: ger.gmane.org 1457044244 9254 80.91.229.3 (3 Mar 2016 22:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2016 22:30:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9470-gllmg-musl=m.gmane.org@lists.openwall.com Thu Mar 03 23:30:44 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1abblb-0004lC-5t for gllmg-musl@m.gmane.org; Thu, 03 Mar 2016 23:30:43 +0100 Original-Received: (qmail 21654 invoked by uid 550); 3 Mar 2016 22:30:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 21636 invoked from network); 3 Mar 2016 22:30:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:message-id:references:to; bh=2gvSRmI+YWfy+U3DZ6y+d0OY6GqHeYO4A5GfzsO8Pro=; b=e2GELkAPs4DWk4XWKWZm2aKGv/SbocSYGqwgEbK7YHi5tRB7aGPOyFCrwu0S65INUz K+FloBJ1FZScfpR5TM2Hl5DTbdpUK0NXz23cpxk+BTNzERejLKs6merwi8epm6HTdKmF UI60Y6J0TqmL0eX9iZo3Sc5cO1rRBfVtZVV6KGxqivHYbqmizgmP3ntAPGoEzxo3JmnV LnQynYvQSwPfb2ATZqSErqX/9+WFKzpzCX+zdAUEge7QfYt1U01NURt5K06TiEnmFHUd 0LktjLs5La3MqjZQiQ4BKrbi5ZKHBuC5uwgzZUvxsPjbsqkHSwdKLRgNqHHs3A8BR6QV FRSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :message-id:references:to; bh=2gvSRmI+YWfy+U3DZ6y+d0OY6GqHeYO4A5GfzsO8Pro=; b=h8jyekITO4ZONcGWj284jbxavD1gU7f7JgP2pPJpIHQuZLECiDfgOGwCU+MCsF/DRl aWEZy8G08hvokLGNEUhnT2FTrzoLKSDIICHhKoTp2d8sR02QJxOQQx6j9EBEBklSXkR6 eDlujdUWLmzgyVVI2XEZApMLaj3U87gIppergs4LoiaAzwT4pzF95SpTq5GLR9mmFvnn ffQPyF+Ox4RLIMKzqpyTakpK+9tzAV5SeGTPv9sAA17VTX+oIWN1XtMblzMSrtY7k+vH YibNqMys97/0bDp6rhZ1+08Il3deotFnfC9DD59W0i+4SJhWz8il0/967OgE4tlZC7rw rnUQ== X-Gm-Message-State: AD7BkJLc11YqwDzS77lW85fdToLFnoqfNPYmGTAv/N8jCnKOiN7nCkyRnjHS518AfIfisw== X-Received: by 10.66.160.231 with SMTP id xn7mr7316711pab.134.1457044228954; Thu, 03 Mar 2016 14:30:28 -0800 (PST) X-Pgp-Agent: GPGMail 2.6b2 In-Reply-To: <20160303192100.GX9349@brightrain.aerifal.cx> X-Mailer: Apple Mail (2.3112) Xref: news.gmane.org gmane.linux.lib.musl.general:9457 Archived-At: --Apple-Mail=_1432EC18-ECD9-4CDF-8143-AF8C87F18746 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Mar 3, 2016, at 11:21 AM, Rich Felker wrote: >=20 > On Wed, Mar 02, 2016 at 10:56:33PM -0800, Khem Raj wrote: >>=20 >>> On Mar 2, 2016, at 10:32 PM, Khem Raj wrote: >>>=20 >>> All, >>>=20 >>> I ran clang static analyser on tip of git today for x86_64 build. = The results are here >=20 > Thanks! >=20 >>> https://busybox.net/~kraj/scan-build-2016-03-02-222206-32091-1/ >>=20 >> and >>=20 >> https://busybox.net/~kraj/scan-build-2016-03-02-225259-30448-1/ >>=20 >> is arm cross built with clang as CC >=20 > Any idea why the results are different for arm? Most of the code where > things are reported does not differ by arch. ARM is cross compiled using clang itself while x86_64 was using native = gcc. another difference is that arm was using clang 3.8 for static analysis = while x86_64 was using clang 3.7 >=20 > I think everything reported has been investigated before and found to > be false positives. Do any of them look new/interesting? I did not look into details myself yet, its good to know that nothing = new is found we want to keep it that way --Apple-Mail=_1432EC18-ECD9-4CDF-8143-AF8C87F18746 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iEYEARECAAYFAlbYuwMACgkQuwUzVZGdMxQSgwCgjmbsjjYxskqIn9N4XG+ziQ6V ozkAni0hL5+y+lkHgvXYDLqc/Q5sm6cU =wpaY -----END PGP SIGNATURE----- --Apple-Mail=_1432EC18-ECD9-4CDF-8143-AF8C87F18746--