cppcheck/lib
Simon Kagstrom 1e4288fe2e preprocessor: Don't access empty lists
libc aborts with:

/usr/include/c++/4.4/debug/list:256:error: attempt to access an element in
    an empty container.

Objects involved in the operation:
sequence "this" @ 0x0xbfffe5f0 {
  type = NSt7__debug4listISsSaISsEEE;
}

otherwise.
2012-12-28 12:43:43 +01:00
..
check.h Add some unused private copy ctors and operator=. 2012-12-01 02:17:46 +01:00
check64bit.cpp astyle formatting 2012-10-12 06:12:52 +02:00
check64bit.h lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:23 +02:00
checkassignif.cpp Fixed #4434 (false positive: (style) Mismatching assignment and comparison, comparison 'pen!=-1' is always true.) 2012-12-27 15:40:00 +01:00
checkassignif.h assignif: Fixed testcase. parse while loops if variable is local and not external. 2012-09-29 10:54:09 +02:00
checkautovariables.cpp SymbolDatabase: Improved find function functionality. Taking arguments into account 2012-10-14 17:30:37 +02:00
checkautovariables.h Attempt to fix all doxygen warnings. 2012-10-24 01:32:07 +02:00
checkboost.cpp speed up checks by caching commonly looked up stuff in the symbol database (CheckBufferOverrun, CheckBoost) 2012-10-13 11:16:48 +02:00
checkboost.h lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:23 +02:00
checkbufferoverrun.cpp Fix comment about wrong magic number 2012-12-28 11:31:50 +01:00
checkbufferoverrun.h Fixed #4262 (Small Request/Suggestion for checks on array size of args (bounty offer)) 2012-12-22 09:23:34 +01:00
checkclass.cpp Fixed #4442 (crash of cppcheck while scanning gcc-testsuite (invalid code)) 2012-12-28 08:36:20 +01:00
checkclass.h Class: Show inconclusive warnings about unknown types that are not initialized in copy constructors. Ticket: #3611 2012-09-20 19:16:26 +02:00
checkexceptionsafety.cpp speed up checks by caching commonly looked up stuff in the symbol database (checkexceptionsafety) 2012-10-14 17:40:17 +02:00
checkexceptionsafety.h lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:23 +02:00
checkinternal.cpp Token::Match: add a new pattern: '%comp%'. 2012-12-01 00:55:24 +01:00
checkinternal.h New internal check: checkRedundantNextPrevious(). 2012-09-07 12:36:40 +02:00
checkio.cpp Fixed regression #4368. 2012-12-08 00:26:10 -08:00
checkio.h Fixed #4189 (Improve check (printf('%l') not detected)) 2012-10-21 08:50:29 +02:00
checkleakautovar.cpp Fixed #4237 (False positive: (error) Memory Leak: data (assign reference variable value to a shadow variable in inner scope)) 2012-10-27 16:36:14 +02:00
checkleakautovar.h Fixed #4237 (False positive: (error) Memory Leak: data (assign reference variable value to a shadow variable in inner scope)) 2012-10-27 16:36:14 +02:00
checkmemoryleak.cpp Support for Sun Studio C++ compiler 2012-12-27 11:51:12 +01:00
checkmemoryleak.h Fix #4045: memory leak not reported after usage of " + p[]" 2012-12-09 08:59:21 +01:00
checknonreentrantfunctions.cpp Removed Java/C# handling 2012-10-02 18:44:36 +02:00
checknonreentrantfunctions.h lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:23 +02:00
checknullpointer.cpp Null pointer: Fixed FP when there are 'return p?p->x:0;' 2012-12-25 14:23:50 +01:00
checknullpointer.h Fixed #3302 (new check: nullpointer dereference) 2012-11-20 23:56:17 -08:00
checkobsoletefunctions.cpp Refactorized CheckObsoleteFunctions: 2012-12-08 02:46:30 -08:00
checkobsoletefunctions.h Obsolete functions: removed 'ctime' warning. The function is obsolete but the message don't point out a good replacement nor where it's documented that this function is obsolete 2012-12-09 09:35:57 +01:00
checkother.cpp Opposite inner conditions: Clean up copy/pasted code 2012-12-24 12:21:48 +01:00
checkother.h New check: Find suspicious case labels like 'case A||B:' 2012-12-07 12:27:32 -08:00
checkpostfixoperator.cpp speedup checkpostfixoperator.cpp by caching commonly looked up stuff in the symbol database. Ticket: #4266 2012-11-12 06:16:38 +01:00
checkpostfixoperator.h lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:23 +02:00
checkstl.cpp Fixed #4431 (FP: Erroneous 'Ineffective call of function empty()' in ?: test) 2012-12-25 12:50:38 +01:00
checkstl.h Attempt to fix all doxygen warnings. 2012-10-24 01:32:07 +02:00
checkuninitvar.cpp Fixed #4426 (False positive: Unitialized variable warning when comparing addresses) 2012-12-28 12:32:15 +01:00
checkuninitvar.h Uninitialized variables: Improved checking of functions 2012-12-20 19:45:30 +01:00
checkunusedfunctions.cpp Message refactorization: checkuninitvar.cpp, checkunusedfunctions.cpp, checkunusedvar.cpp 2012-11-01 18:40:20 +01:00
checkunusedfunctions.h lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:23 +02:00
checkunusedvar.cpp Support for Sun Studio C++ compiler 2012-12-27 11:51:12 +01:00
checkunusedvar.h Fixed #4369 (false positive: Variable 'i' is assigned a value that is never used) 2012-12-04 21:39:51 +01:00
config.h Get rid of a warning 2012-06-16 06:34:18 +02:00
cppcheck.cpp Cppcheck: Show single 'too many configurations' message if --enable=information hasn't been used and there are too many configurations. 2012-12-26 18:35:49 +01:00
cppcheck.h Cppcheck: Show single 'too many configurations' message if --enable=information hasn't been used and there are too many configurations. 2012-12-26 18:35:49 +01:00
cppcheck.vcxproj Fixed compilation as shared lib with PCRE: Ensure that sizeof(Settings) is the same with and without HAVE_RULES 2012-11-03 20:37:23 +01:00
cppcheck.vcxproj.filters Refactorized resource files: 2012-10-14 10:21:22 +02:00
errorlogger.cpp Fixed #3442 (unmatchedSuppression can't be suppressed) 2012-07-13 08:29:49 +02:00
errorlogger.h ErrorLogger: Throw InternalError if given severity is not handled 2012-08-10 12:43:53 +02:00
executionpath.cpp lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:23 +02:00
executionpath.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
lib.pri Update Makefile. 2012-06-11 22:16:12 +03:00
mathlib.cpp Support for Sun Studio C++ compiler 2012-12-27 11:51:12 +01:00
mathlib.h Fixed #4087 (div by zero check is invalid for floats) 2012-09-11 16:50:42 +02:00
path.cpp Support for Sun Studio C++ compiler 2012-12-27 11:51:12 +01:00
path.h Path: Removed java/c# handling. Thanks amai. 2012-10-03 19:47:14 +02:00
pcrerules.pri pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
preprocessor.cpp preprocessor: Don't access empty lists 2012-12-28 12:43:43 +01:00
preprocessor.h Fixed #4301 (htmlreport broken) 2012-11-03 11:25:40 +01:00
settings.cpp Added support for sizeof(wchar_t). Improved <Windows.h> type testing for Win64 platform. 2012-11-11 16:16:17 +01:00
settings.h Fixed #4408 (Force inclusion of files (a la -include /.../ in GCC)) 2012-12-27 16:52:31 +01:00
standards.h Enable --std=c11 and --std=c++11 by default 2012-08-25 21:57:45 +02:00
suppressions.cpp Fixed #4210 (Unmatched suppression warning emitted from disabled check) 2012-09-23 10:56:12 +02:00
suppressions.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
symboldatabase.cpp Fixed #4442 (crash of cppcheck while scanning gcc-testsuite (invalid code)) 2012-12-28 08:36:20 +01:00
symboldatabase.h Symbol database: Better handling of 'using namespace N;'. Ticket: #4412 2012-12-20 06:53:04 +01:00
templatesimplifier.cpp Use the new pattern: '%comp%' where possible. 2012-12-01 01:31:35 +01:00
templatesimplifier.h astyle formatting 2012-09-13 16:43:07 +02:00
timer.cpp Fixed #2709 (Negative times in --showtime summary) 2012-09-15 19:49:48 +02:00
timer.h lib: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:23 +02:00
token.cpp Support for Sun Studio C++ compiler 2012-12-27 11:51:12 +01:00
token.h Support for Sun Studio C++ compiler 2012-12-27 11:51:12 +01:00
tokenize.cpp Tokenizer::setVarId: Fixed problem with initializer lists (#4436) 2012-12-27 18:15:00 +01:00
tokenize.h Tokenizer: improve code and change name of +- concatenation function. 2012-12-01 00:43:23 +01:00
tokenlist.cpp Fixed #4408 (Force inclusion of files (a la -include /.../ in GCC)) 2012-12-27 16:52:31 +01:00
tokenlist.h AST: Simple AST. Not used in the clients. Only part of the testing for now. 2012-12-15 20:21:09 +01:00
version.h Incremented version to "1.58 dev" (1.57.99) 2012-11-04 15:49:18 +01:00
version.rc Refactorized resource files: 2012-10-14 10:21:22 +02:00