mailing list of musl libc
 help / color / mirror / code / Atom feed
* Clang static analyser results
@ 2016-03-03  6:32 Khem Raj
  2016-03-03  6:56 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2016-03-03  6:32 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

All,

I ran clang static analyser on tip of git today for x86_64 build. The results are here


https://busybox.net/~kraj/scan-build-2016-03-02-222206-32091-1/

Thanks

-Khem


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 204 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clang static analyser results
  2016-03-03  6:32 Clang static analyser results Khem Raj
@ 2016-03-03  6:56 ` Khem Raj
  2016-03-03 19:21   ` Rich Felker
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2016-03-03  6:56 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]


> On Mar 2, 2016, at 10:32 PM, Khem Raj <raj.khem@gmail.com> wrote:
> 
> All,
> 
> I ran clang static analyser on tip of git today for x86_64 build. The results are here
> 
> 
> https://busybox.net/~kraj/scan-build-2016-03-02-222206-32091-1/
> 

and

https://busybox.net/~kraj/scan-build-2016-03-02-225259-30448-1/

is arm cross built with clang as CC

> Thanks
> 
> -Khem
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 204 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: Clang static analyser results
  2016-03-03  6:56 ` Khem Raj
@ 2016-03-03 19:21   ` Rich Felker
  2016-03-03 22:30     ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Rich Felker @ 2016-03-03 19:21 UTC (permalink / raw)
  To: musl

On Wed, Mar 02, 2016 at 10:56:33PM -0800, Khem Raj wrote:
> 
> > On Mar 2, 2016, at 10:32 PM, Khem Raj <raj.khem@gmail.com> wrote:
> > 
> > All,
> > 
> > I ran clang static analyser on tip of git today for x86_64 build. The results are here

Thanks!

> > https://busybox.net/~kraj/scan-build-2016-03-02-222206-32091-1/
> 
> and
> 
> https://busybox.net/~kraj/scan-build-2016-03-02-225259-30448-1/
> 
> is arm cross built with clang as CC

Any idea why the results are different for arm? Most of the code where
things are reported does not differ by arch.

I think everything reported has been investigated before and found to
be false positives. Do any of them look new/interesting?

Rich


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clang static analyser results
  2016-03-03 19:21   ` Rich Felker
@ 2016-03-03 22:30     ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2016-03-03 22:30 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]


> On Mar 3, 2016, at 11:21 AM, Rich Felker <dalias@libc.org> wrote:
> 
> On Wed, Mar 02, 2016 at 10:56:33PM -0800, Khem Raj wrote:
>> 
>>> On Mar 2, 2016, at 10:32 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>> 
>>> All,
>>> 
>>> I ran clang static analyser on tip of git today for x86_64 build. The results are here
> 
> Thanks!
> 
>>> https://busybox.net/~kraj/scan-build-2016-03-02-222206-32091-1/
>> 
>> and
>> 
>> https://busybox.net/~kraj/scan-build-2016-03-02-225259-30448-1/
>> 
>> is arm cross built with clang as CC
> 
> 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
> 
> 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

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 204 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-03 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-03  6:32 Clang static analyser results Khem Raj
2016-03-03  6:56 ` Khem Raj
2016-03-03 19:21   ` Rich Felker
2016-03-03 22:30     ` Khem Raj

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).