47
I Use This!
High Activity

News

Analyzed about 8 hours ago. based on code collected about 9 hours ago.
Posted almost 13 years ago by Daniel Marjamäki
We have released a 1.56 pre - release. There are still known bugs that we intend to fix. But if you still want to download and test this then feel free to do it. If you see some problem then please report it so we can try to fix it before we release ... [More] the real 1.56. The pre-release is available here: http://sourceforge.net/projects/cppcheck/files/cppcheck/1.56/ [Less]
Posted almost 13 years ago by [email protected] (Daniel Marjamäki)
We have released a 1.56 pre - release.There are still known bugs that we intend to fix.But if you still want to download and test this then feel free to do it. If you see some problem then please report it so we can try to fix it before we release ... [More] the real 1.56.The pre-release is available here:http://sourceforge.net/projects/cppcheck/files/cppcheck/1.56/ [Less]
Posted about 13 years ago by [email protected] (Daniel Marjamäki)
Cppcheck can now analyse source files that are UTF-16 encodedFaster checking. Some projects, for instance sqlite, is much quicker now. The difference when checking other projects is not big.Removed deprecated command line options -s, --style, -a ... [More] , --all, --auto-dealloc, --test-2-pass.Improved C code analysis. Better analysis of unknown types etc.New check: comparison of modulo results that are always true/false. For instance: if (x % 5 == 5)Improved checks to detect more bugs:* improved array index out of bounds (#3893, #3907)* improved double deallocation (#3895)* delete non-dynamic memory (#1773)* missing break in switch (#3794)* member variable not initialized (#3801)* improved checking of format string parameters* improved 64-bit portability when returning pointer/intFor more details, see this page:http://sourceforge.net/apps/trac/cppcheck/milestone/1.55 [Less]
Posted about 13 years ago by Daniel Marjamäki
Cppcheck can now analyse source files that are UTF-16 encoded Faster checking. Some projects, for instance sqlite, is much quicker now. The difference when checking other projects is not big. Removed deprecated command line options -s, --style, -a ... [More] , --all, --auto-dealloc, --test-2-pass. Improved C code analysis. Better analysis of unknown types etc. New check: comparison of modulo results that are always true/false. For instance: if (x % 5 == 5) Improved checks to detect more bugs: * improved array index out of bounds (#3893, #3907) * improved double deallocation (#3895) * delete non-dynamic memory (#1773) * missing break in switch (#3794) * member variable not initialized (#3801) * improved checking of format string parameters * improved 64-bit portability when returning pointer/int For more details, see this page: http://sourceforge.net/apps/trac/cppcheck/milestone/1.55 [Less]
Posted over 13 years ago by Daniel Marjamäki
Command line: * Added --relative-path Improved checks to detect more bugs: * improved checking for buffer overruns on dynamically allocated memory (#3569) * when variable is compared against a value in condition, the variable value is known in the ... [More] conditional block. * null pointer checking - handle more standard functions and improved checking of loops - more standard functions are checked (#1171, #410) - improved checking of loops (#1927) - dangerous conditions (#3518) * detect more bugs related to std::find and string::find usage (#3162) * detect more sign extension problems (#3637) * detect redundant .c_str() for strings (#1079) * invalid pointer cast from float* to double* (#1255) * more strict about int vs. bool (#1877) * Preprocessor: extract more configurations => more code is checked * Unused functions - fixed false negatives for functions that returns reference * Better checking of sizeof * Improved "unused private function" checking GUI: * Faster recheck: The "Recheck files" only rechecks the files that has been modified since the last scan For more details, see this page: http://sourceforge.net/apps/trac/cppcheck/milestone/1.54 [Less]
Posted over 13 years ago by [email protected] (Daniel Marjamäki)
Command line: * Added --relative-pathImproved checks to detect more bugs: * improved checking for buffer overruns on dynamically allocated memory (#3569) * when variable is compared against a value in condition, the variable value is known in the ... [More] conditional block. * null pointer checking - handle more standard functions and improved checking of loops - more standard functions are checked (#1171, #410) - improved checking of loops (#1927) - dangerous conditions (#3518) * detect more bugs related to std::find and string::find usage (#3162) * detect more sign extension problems (#3637) * detect redundant .c_str() for strings (#1079) * invalid pointer cast from float* to double* (#1255) * more strict about int vs. bool (#1877) * Preprocessor: extract more configurations => more code is checked * Unused functions - fixed false negatives for functions that returns reference * Better checking of sizeof * Improved "unused private function" checkingGUI: * Faster recheck: The "Recheck files" only rechecks the files that has been modified since the last scanFor more details, see this page:http://sourceforge.net/apps/trac/cppcheck/milestone/1.54 [Less]
Posted over 13 years ago by Daniel Marjamäki
No major new features. No major changes to the command line flags. We have fixed many problems such as false positives, segmentation faults, etc. We improved existing checks to detect more errors: * type checking for format string parameters * ... [More] uninitialized variables * bad std::string usage * buffer overflow checking * iterator used on different containers * doublefree of pointer * null pointers * bad usage of isdigit/isgraph/isalpha/etc * wrong usage of std::find * more deprecated functions For details, see this page: http://sourceforge.net/apps/trac/cppcheck/milestone/1.53 [Less]
Posted over 13 years ago by [email protected] (Daniel Marjamäki)
No major new features. No major changes to the command line flags.We have fixed many problems such as false positives, segmentation faults, etc.We improved existing checks to detect more errors: * type checking for format string parameters * ... [More] uninitialized variables * bad std::string usage * buffer overflow checking * iterator used on different containers * doublefree of pointer * null pointers * bad usage of isdigit/isgraph/isalpha/etc * wrong usage of std::find * more deprecated functionsFor details, see this page:http://sourceforge.net/apps/trac/cppcheck/milestone/1.53 [Less]
Posted over 13 years ago by [email protected] (Daniel Marjamäki)
New checks * wrong value passed to isgraph * missuse of std::cout * some warnings when sizeof is used on pointer variable * endless loop because of unsigned comparison * better check for missing break in switch (redundant strcpy) * using && ... [More] instead of & in expression * wrong usage of printf/scanf/etc (format string and parameters mismatch) * useless calls of STL functions (wrong usage) * detect suspicicous use of semicolon after if/for/while (--inconclusive) * added checking of readlink() usage * boolean comparison with string literalsFor details, see this page:http://sourceforge.net/apps/trac/cppcheck/milestone/1.52 [Less]
Posted over 13 years ago by Daniel Marjamäki
New checks * wrong value passed to isgraph * missuse of std::cout * some warnings when sizeof is used on pointer variable * endless loop because of unsigned comparison * better check for missing break in switch (redundant strcpy) * using && ... [More] instead of & in expression * wrong usage of printf/scanf/etc (format string and parameters mismatch) * useless calls of STL functions (wrong usage) * detect suspicicous use of semicolon after if/for/while (--inconclusive) * added checking of readlink() usage * boolean comparison with string literals For details, see this page: http://sourceforge.net/apps/trac/cppcheck/milestone/1.52 [Less]