Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #19190
| From | "Like Learn" <like2learn@live.ca> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Tips to analyze a project with thousands of files |
| Date | 2012-10-21 22:39 -0600 |
| Organization | Netfront http://www.netfront.net/ |
| Message-ID | <k62ip0$1jme$1@adenine.netfront.net> (permalink) |
| References | <k5tbim$ua7$1@adenine.netfront.net> <65d52104-da7b-4eb6-8174-4177810002e1@googlegroups.com> |
I will five them a try. Thanks! <ctgqumgf@sharklasers.com> wrote in message news:65d52104-da7b-4eb6-8174-4177810002e1@googlegroups.com... > Given such a task it might be an option using a static code analyzer. As > far as I know fixing a bug also a deadline... > > My hope would be that the output of the static code checker can give me > some ideas. Well, reading your description I guess there will be hundreds > of warnings. I know this game too good. > > The art is then to ignore minor warnings (e.g. signed/unsigned > assignments/comparisons, ...) and filter out real bad ones (possible > division by 0, array out of bounds, access of memory already released, > ...). > > Given a vague description of the bug (the crash happens when I do this or > that) you might be lucky... > > I have been working with QAC++ and PC-Lint so far. There might also be > open-source tools, like cppcheck which I never had a look at. > > [BTW: I cannot tell you how good these tools are at finding dynamic memory > problems. There are other tools (like Boundschecker, Purify, ...). But I > guess in your case (Qualcomm) they won't help as they normally run > instrumented binaries on the host.] > > [BTW: GCC with -pedantic option and highest warning level isn't that bad > at finding problems either] --- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Tips to analyze a project with thousands of files "Like Learn" <like2learn@live.ca> - 2012-10-19 23:07 -0600
Re: Tips to analyze a project with thousands of files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-20 07:49 +0000
Re: Tips to analyze a project with thousands of files "Like Learn" <like2learn@live.ca> - 2012-10-21 00:09 -0600
Re: Tips to analyze a project with thousands of files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-21 11:42 +0000
Re: Tips to analyze a project with thousands of files Öö Tiib <ootiib@hot.ee> - 2012-10-20 09:14 -0700
Re: Tips to analyze a project with thousands of files "Like Learn" <like2learn@live.ca> - 2012-10-21 00:12 -0600
Re: Tips to analyze a project with thousands of files ctgqumgf@sharklasers.com - 2012-10-21 01:34 -0700
Re: Tips to analyze a project with thousands of files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-21 11:55 +0000
Re: Tips to analyze a project with thousands of files "Like Learn" <like2learn@live.ca> - 2012-10-21 22:39 -0600
Re: Tips to analyze a project with thousands of files Stuart <DerTopper@web.de> - 2012-10-23 13:00 +0200
Re: Tips to analyze a project with thousands of files drew@furrfu.invalid (Drew Lawson) - 2012-10-24 15:33 +0000
Re: Tips to analyze a project with thousands of files Werner <werasm@gmail.com> - 2012-10-24 09:29 -0700
Re: Tips to analyze a project with thousands of files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-25 20:44 +0000
Re: Tips to analyze a project with thousands of files Luca Risolia <luca.risolia@studio.unibo.it> - 2012-10-24 22:42 +0200
csiph-web