| View previous topic :: View next topic |
| Author |
Message |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Tue Apr 04, 2006 7:10 am Post subject: Automated defect detection within open source software |
|
|
Department of Homeland Security is sponsoring a project that detects defects in open source software written in C/C++.
It has scanned more then 15 Million lines of code of very popular codes so far.
http://scan.coverity.com
You can submit your own code of a free trial (see link on above mentioned page) and will get a list of 30 defects back within hours.
@Chris: I do not know how you feel about it, but maybe it would be of interest to send AHK for a check? _________________ Ciao
toralf  |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Tue Apr 04, 2006 9:19 am Post subject: |
|
|
Whooopee, that way we might get a new AHK command - proudly added by the DoHS: SpyYourNeighbour <-- hell, isn't that icon wearing already one of their standard FBI agent sunglases  |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Tue Apr 04, 2006 10:36 am Post subject: |
|
|
I don't think there is anything bad in the service they offer.
1) The code is public anyway, so if anyone wants to take a look, it's there.
2) They do not change anything, they just give you a report on defects that might result in a crash. The code has to be fixed by the owner himself.
3) DoHS is sponsoring the project, yes, but I can hardly imagine what benefit they have if someone sends them their code, since they could get the code from the web anyway. So their only interest I can imagine is to secure the software they would like to use to cut costs. And making their "homeland software infrastructure" more secure against attacks. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 440 Location: Germany
|
Posted: Tue Apr 04, 2006 11:36 am Post subject: |
|
|
Another good software is LINT. It's not free, it's only a command-line-tool, but helped me a lot of times.
Ciao
Micha |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Tue Apr 04, 2006 12:23 pm Post subject: |
|
|
The lint I know is a Unix command, so it is available in all Unices.
I suppose you are referring to a commercial version of this tool.
There are free versions too. Well, I just searched lint on SF.net, but they seems in very early stages... There is a more comprehensive list (mostly for Unix though) and another one.
Note that setting warnings at highest level is already a good practice.
Of course, there is also the commercial BoundsChecker and Purify as well as VSTS and PC-lint _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 440 Location: Germany
|
Posted: Tue Apr 04, 2006 12:41 pm Post subject: |
|
|
Hi,
yes I meant PC-Lint from gimpel, but I can't remember the company-name
Ciao
Micha |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Tue Apr 04, 2006 1:47 pm Post subject: Re: Automated defect detection within open source software |
|
|
| toralf wrote: | | You can submit your own code of a free trial (see link on above mentioned page) and will get a list of 30 defects back within hours. | I applied for a free trial. I was a little wary of giving them my e-mail address since I didn't see a prominent mention of their privacy policy (for example, a lot of sites nowadays state right on the e-mail field that "we will not sell or share your e-mail address". But this site doesn't -- in fact it invites you to check boxes to receive additional/commercial mailings).
This is what I got back so far: | Quote: | Thank you registering for a free trial. Someone from Coverity will be contacting you shortly.
In the meantime, please download Coverity’s documents to learn more about our products, services and customers. |
When they contact me, I'll send them the code (there doesn't appear to be any way to do it until then).
Thanks for the info. |
|
| Back to top |
|
 |
Laughing Man
Joined: 28 Apr 2005 Posts: 84 Location: Maryland
|
Posted: Tue Apr 04, 2006 9:52 pm Post subject: |
|
|
| toralf wrote: | | 3) DoHS is sponsoring the project, yes, but I can hardly imagine what benefit they have if someone sends them their code, since they could get the code from the web anyway. So their only interest I can imagine is to secure the software they would like to use to cut costs. And making their "homeland software infrastructure" more secure against attacks. |
pfft, you have to remember people are lazy. With this fools send in their code and now DoHS doesn't have to scour the web for it.  _________________ "I thought what I'd do was I'd pretend I was one of those deaf-mutes" ~ Laughing Man - GITS:SAC |
|
| Back to top |
|
 |
|