* Static analysis: Code weaknesses
@ 2012-03-09 18:10 Jeffrey Karrels
2012-03-13 16:47 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 10+ messages in thread
From: Jeffrey Karrels @ 2012-03-09 18:10 UTC (permalink / raw)
To: xen-devel
Hello All,
I am in the starting stages of research into static code analysis of
Xen (as well as correction/remediation). I noticed a lot of comments
towards code {sonar, surfer}, coverity, splint, etc in the forums, but
most of the activity was back from the 2006-2008 era. Is anyone active
in this area right now? I don't want to duplicate work and even better
it would be nice to get a group together with a specific common
objective. From a licensing perspective I am not sure how it works yet
as I know some of the commercial tools have very strict contracts on
releasing analysis output. With that said though perhaps others are
using commercial tools already and we could be steered to utilize
similar tools in order to collaborate.
Thoughts?
Jeff
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-09 18:10 Static analysis: Code weaknesses Jeffrey Karrels
@ 2012-03-13 16:47 ` Konrad Rzeszutek Wilk
2012-03-13 17:03 ` Dario Faggioli
0 siblings, 1 reply; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-03-13 16:47 UTC (permalink / raw)
To: Jeffrey Karrels; +Cc: xen-devel
On Fri, Mar 09, 2012 at 10:10:52AM -0800, Jeffrey Karrels wrote:
> Hello All,
>
> I am in the starting stages of research into static code analysis of
> Xen (as well as correction/remediation). I noticed a lot of comments
> towards code {sonar, surfer}, coverity, splint, etc in the forums, but
> most of the activity was back from the 2006-2008 era. Is anyone active
> in this area right now? I don't want to duplicate work and even better
> it would be nice to get a group together with a specific common
> objective. From a licensing perspective I am not sure how it works yet
> as I know some of the commercial tools have very strict contracts on
> releasing analysis output. With that said though perhaps others are
> using commercial tools already and we could be steered to utilize
> similar tools in order to collaborate.
Have you looked at smatch and sparse?
>
> Thoughts?
>
> Jeff
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-13 16:47 ` Konrad Rzeszutek Wilk
@ 2012-03-13 17:03 ` Dario Faggioli
2012-03-14 18:01 ` Jeffrey Karrels
0 siblings, 1 reply; 10+ messages in thread
From: Dario Faggioli @ 2012-03-13 17:03 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel, Jeffrey Karrels
[-- Attachment #1.1: Type: text/plain, Size: 594 bytes --]
On Tue, 2012-03-13 at 12:47 -0400, Konrad Rzeszutek Wilk wrote:
> Have you looked at smatch and sparse?
>
And, perhaps, to Coccinelle (http://coccinelle.lip6.fr/)... I've heard
it does great things (together with Smatch) in Linux. :-)
Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-------------------------------------------------------------------
Dario Faggioli, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
PhD Candidate, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa (Italy)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-13 17:03 ` Dario Faggioli
@ 2012-03-14 18:01 ` Jeffrey Karrels
2012-03-14 18:58 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 10+ messages in thread
From: Jeffrey Karrels @ 2012-03-14 18:01 UTC (permalink / raw)
To: xen-devel; +Cc: Dario Faggioli, Konrad Rzeszutek Wilk
>> Have you looked at smatch and sparse?
>>
> And, perhaps, to Coccinelle (http://coccinelle.lip6.fr/)... I've heard
> it does great things (together with Smatch) in Linux. :-)
Thanks, I will take a look.
Another question. There was mention of submitting Xen to Coverity a
while back (Pratt 2006). Is there any reason not to submit the source
into that as a project? I would be willing to be the point of contact,
but am I stepping on anyone's toes if I submit it for scanning?
Thanks
Jeff
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-14 18:01 ` Jeffrey Karrels
@ 2012-03-14 18:58 ` Konrad Rzeszutek Wilk
2012-03-14 19:14 ` Jeffrey Karrels
0 siblings, 1 reply; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-03-14 18:58 UTC (permalink / raw)
To: Jeffrey Karrels; +Cc: xen-devel, Dario Faggioli
On Wed, Mar 14, 2012 at 11:01:08AM -0700, Jeffrey Karrels wrote:
> >> Have you looked at smatch and sparse?
> >>
> > And, perhaps, to Coccinelle (http://coccinelle.lip6.fr/)... I've heard
> > it does great things (together with Smatch) in Linux. :-)
>
> Thanks, I will take a look.
>
> Another question. There was mention of submitting Xen to Coverity a
> while back (Pratt 2006). Is there any reason not to submit the source
I am not sure what is involved in it? Is it free? If you are up for
doing it you are more than welcome to do it.
> into that as a project? I would be willing to be the point of contact,
> but am I stepping on anyone's toes if I submit it for scanning?
>
> Thanks
> Jeff
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-14 18:58 ` Konrad Rzeszutek Wilk
@ 2012-03-14 19:14 ` Jeffrey Karrels
2012-03-16 15:44 ` Jeffrey Karrels
0 siblings, 1 reply; 10+ messages in thread
From: Jeffrey Karrels @ 2012-03-14 19:14 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel
> I am not sure what is involved in it? Is it free? If you are up for
> doing it you are more than welcome to do it.
I will check it out. It is free, but I am not sure how much
functionality one gets. We will see.
http://scan.coverity.com/developers-faq.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-14 19:14 ` Jeffrey Karrels
@ 2012-03-16 15:44 ` Jeffrey Karrels
2012-03-16 15:51 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 10+ messages in thread
From: Jeffrey Karrels @ 2012-03-16 15:44 UTC (permalink / raw)
To: xen-devel
> I will check it out. It is free, but I am not sure how much
> functionality one gets. We will see.
> http://scan.coverity.com/developers-faq.html
To keep track of this topic, the coverity scanner project will not
accept the GPLv2 license for acceptance to the project because of
Xen's association with Citrix. I will continue to work on our
licensed analyzers and post patches back into the community, it is
just a little harder to collaborate...
"As you may well have read in our Developer FAQ, license is only one of the
criteria that determines eligibility, and the association between Xen and
Citrix is close enough that I think Xen doesn't qualify."
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-16 15:44 ` Jeffrey Karrels
@ 2012-03-16 15:51 ` Konrad Rzeszutek Wilk
2012-03-16 16:10 ` Jeffrey Karrels
2012-09-05 20:13 ` Jeffrey Karrels
0 siblings, 2 replies; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-03-16 15:51 UTC (permalink / raw)
To: Jeffrey Karrels; +Cc: xen-devel, lars.kurth
On Fri, Mar 16, 2012 at 08:44:16AM -0700, Jeffrey Karrels wrote:
> > I will check it out. It is free, but I am not sure how much
> > functionality one gets. We will see.
> > http://scan.coverity.com/developers-faq.html
>
> To keep track of this topic, the coverity scanner project will not
> accept the GPLv2 license for acceptance to the project because of
> Xen's association with Citrix. I will continue to work on our
> licensed analyzers and post patches back into the community, it is
> just a little harder to collaborate...
>
> "As you may well have read in our Developer FAQ, license is only one of the
> criteria that determines eligibility, and the association between Xen and
> Citrix is close enough that I think Xen doesn't qualify."
Huh? That really does not compute - as there are developers who are not
Citrix employeed - and the sources/trees, etc are all on xenbits.org which
is a non-prof organization I think? CC-ing Lars here as he might know better.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-16 15:51 ` Konrad Rzeszutek Wilk
@ 2012-03-16 16:10 ` Jeffrey Karrels
2012-09-05 20:13 ` Jeffrey Karrels
1 sibling, 0 replies; 10+ messages in thread
From: Jeffrey Karrels @ 2012-03-16 16:10 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel, lars.kurth
> Huh? That really does not compute
Agreed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Static analysis: Code weaknesses
2012-03-16 15:51 ` Konrad Rzeszutek Wilk
2012-03-16 16:10 ` Jeffrey Karrels
@ 2012-09-05 20:13 ` Jeffrey Karrels
1 sibling, 0 replies; 10+ messages in thread
From: Jeffrey Karrels @ 2012-09-05 20:13 UTC (permalink / raw)
To: lars.kurth; +Cc: xen-devel
> Huh? That really does not compute - as there are developers who are not
> Citrix employeed - and the sources/trees, etc are all on xenbits.org which
> is a non-prof organization I think? CC-ing Lars here as he might know better.
Lars, sorry to revive an ancient thread. Do you have any idea why
Coverity would not accept Xen into its opensource program?
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-09-05 20:13 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09 18:10 Static analysis: Code weaknesses Jeffrey Karrels
2012-03-13 16:47 ` Konrad Rzeszutek Wilk
2012-03-13 17:03 ` Dario Faggioli
2012-03-14 18:01 ` Jeffrey Karrels
2012-03-14 18:58 ` Konrad Rzeszutek Wilk
2012-03-14 19:14 ` Jeffrey Karrels
2012-03-16 15:44 ` Jeffrey Karrels
2012-03-16 15:51 ` Konrad Rzeszutek Wilk
2012-03-16 16:10 ` Jeffrey Karrels
2012-09-05 20:13 ` Jeffrey Karrels
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.