cppcheck/lib
Daniel Marjamäki 4388435ce1 Revert "checkautovariable: fix #7818, crash when accessing nullpointer tok2->next()."
This reverts commit a5d32aa7a5.
2016-11-20 17:21:56 +01:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp --cppcheck-build-dir: generate unique analyzeinfo filenames when source files have same names 2016-11-14 20:50:08 +01:00
analyzerinfo.h UnusedFunctions: Perform checking using analyzeinfo 2016-11-05 21:26:56 +01:00
astutils.cpp Fixed TODO (check if function parameter is non-const reference etc..) by common function 2016-11-01 14:06:30 +01:00
astutils.h Fixed typos. There are no real changes. 2016-11-04 15:01:05 +01:00
check.cpp Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
check.h Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
check64bit.cpp Fixed #7553 (False positive with 1.74 'returning an integer in a function with pointer return type' when no integer is used) 2016-07-29 21:53:58 +02:00
check64bit.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkassert.cpp Fixed #7130 (Wrong assignmentInAssert when using lambda in predicate function) 2016-05-26 18:29:29 +02:00
checkassert.h Fixed #7130 (Wrong assignmentInAssert when using lambda in predicate function) 2016-05-26 18:29:29 +02:00
checkautovariables.cpp Revert "checkautovariable: fix #7818, crash when accessing nullpointer tok2->next()." 2016-11-20 17:21:56 +01:00
checkautovariables.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkbool.cpp astyle formatting 2016-08-15 18:04:55 +02:00
checkbool.h Fixed typos. There are no real changes. 2016-11-04 15:01:05 +01:00
checkboost.cpp CWE: refactoring. use constants instead of magic numbers. 2016-01-25 20:01:48 +01:00
checkboost.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
checkbufferoverrun.cpp ValueFlow: allow more value types 2016-11-13 22:33:39 +01:00
checkbufferoverrun.h Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
checkclass.cpp Fixed #7755 (false positive: member variable is not initialized in the constructor) 2016-10-26 10:39:53 +02:00
checkclass.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkcondition.cpp Fixed TODO (check if function parameter is non-const reference etc..) by common function 2016-11-01 14:06:30 +01:00
checkcondition.h Support char literals in CheckCondition::checkIncorrectLogicOperator() (#5912) 2016-05-24 15:08:48 +02:00
checkexceptionsafety.cpp Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
checkexceptionsafety.h astyle formatting 2016-08-24 12:43:45 +02:00
checkfunctions.cpp Repair CWE mapping for calling obsolete functions 2016-08-04 13:55:38 +02:00
checkfunctions.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkinternal.cpp Attempt to fix build on Unix systems, ran AStyle. 2016-07-26 16:50:32 +02:00
checkinternal.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkio.cpp ValueFlow: allow more value types 2016-11-13 22:33:39 +01:00
checkio.h CheckIO: Changed severity for '.. aka' warnings to portability. If type is compatible then it's just a possible portability issue. 2016-09-11 17:05:01 +02:00
checkleakautovar.cpp CheckLeakAutoVar: Distinguish between new and new[] (#888) 2016-10-09 10:28:19 +02:00
checkleakautovar.h Added new attribute "arg" to <alloc> and <dealloc> to specify the argument that is allocated/deallocated. 2016-05-22 17:19:14 +02:00
checkmemoryleak.cpp Ticket #7680: Properly handle ::delete during memory leak checks. 2016-09-10 14:55:50 +02:00
checkmemoryleak.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checknullpointer.cpp New check: Pointer overflow (null pointer subtracted) 2016-10-09 15:15:29 +02:00
checknullpointer.h New check: Pointer overflow (null pointer subtracted) 2016-10-09 15:15:29 +02:00
checkother.cpp Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
checkother.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
checkpostfixoperator.cpp CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divideSizeof, stringLiteralWrite, incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, truncLongCastAssignment, truncLongCastReturn, unusedFunction, unusedVariable, unusedAllocatedMemory, unreadVariable, unassignedVariable, unusedStructMember, postfixOperator, va_start_wrongParameter (#824) 2016-09-03 00:31:35 +02:00
checkpostfixoperator.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checksizeof.cpp CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divideSizeof, stringLiteralWrite, incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, truncLongCastAssignment, truncLongCastReturn, unusedFunction, unusedVariable, unusedAllocatedMemory, unreadVariable, unassignedVariable, unusedStructMember, postfixOperator, va_start_wrongParameter (#824) 2016-09-03 00:31:35 +02:00
checksizeof.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkstl.cpp CheckStl: validation of iterators returned from functions 2016-11-01 14:08:42 +01:00
checkstl.h Fixed #7658 (False positive: Same iterator is used with different containers) 2016-08-14 10:49:48 +02:00
checkstring.cpp Improved char literal handling. In the 'normal' tokenlist these should not be simplified to integer literals. 2016-10-12 10:20:24 +02:00
checkstring.h Fixed two false positives related to char arrays initialized by a literal: 2016-07-07 19:38:15 +02:00
checktype.cpp Fixed #7807 (false positive: (error) Signed integer overflow for expression 'int32_max-1'.) 2016-11-07 22:29:40 +01:00
checktype.h Removed enum mismatch checker. Ticket #6960. 2016-05-29 18:00:37 +02:00
checkuninitvar.cpp checkunusedvar: Check pointer against NULL before dereferencing it. 2016-10-31 15:57:34 +01:00
checkuninitvar.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
checkunusedfunctions.cpp Unused Functions: Fix checking when --cppcheck-build-dir is used. 2016-11-07 21:49:58 +01:00
checkunusedfunctions.h Unused Functions: Fix checking when --cppcheck-build-dir is used. 2016-11-07 21:49:58 +01:00
checkunusedvar.cpp Remove Tokenizer::simplifyNull() 2016-10-18 21:44:02 +02:00
checkunusedvar.h Improved check: Complain if a variable is modified but not used again 2016-10-10 21:27:40 +02:00
checkvaarg.cpp CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divideSizeof, stringLiteralWrite, incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, truncLongCastAssignment, truncLongCastReturn, unusedFunction, unusedVariable, unusedAllocatedMemory, unreadVariable, unassignedVariable, unusedStructMember, postfixOperator, va_start_wrongParameter (#824) 2016-09-03 00:31:35 +02:00
checkvaarg.h Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02:00
config.h Removed non-standard code annotations with __attribute__ 2016-01-09 09:33:56 +01:00
cppcheck.cpp Fixed race condition by properly constructing a local CheckUnusedFunctions instance in CppCheck::processFile(). Instantiating Checks is dangerous! 2016-11-18 21:09:41 +01:00
cppcheck.h UnusedFunctions: Perform checking using analyzeinfo 2016-11-05 21:26:56 +01:00
cppcheck.vcxproj Disable VS warnings 2016-10-29 18:32:39 +02:00
cppcheck.vcxproj.filters Fixed Visual Studio build after pathmatch.h/cpp was moved to lib, fixed compiler errors about getcwd 2016-10-02 15:48:03 +02:00
cxx11emu.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
errorlogger.cpp Fix Cppcheck warnings and remove Travis suppressions 2016-10-29 15:50:08 +02:00
errorlogger.h Fixed typos. There are no real changes. 2016-11-04 15:01:05 +01:00
importproject.cpp Fixed #7791 (Cppcheck does not expand Visual Studio macros) 2016-11-13 12:16:09 +01:00
importproject.h Fixed #7791 (Cppcheck does not expand Visual Studio macros) 2016-11-13 12:16:09 +01:00
lib.pri Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
library.cpp CheckStl: validation of iterators returned from functions 2016-11-01 14:08:42 +01:00
library.h CheckStl: validation of iterators returned from functions 2016-11-01 14:08:42 +01:00
matchcompiler.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
mathlib.cpp astyle formatting 2016-10-16 19:03:14 +02:00
mathlib.h Improved Doxygen comments. There are no functional changes. 2016-10-11 13:51:46 +02:00
path.cpp Fixed Visual Studio build after pathmatch.h/cpp was moved to lib, fixed compiler errors about getcwd 2016-10-02 15:48:03 +02:00
path.h Path: Add methods Path::isAbsolute() and Path::getCurrentPath() 2016-10-02 12:06:55 +02:00
pathmatch.cpp dmake: pathmatch was moved from cli to lib 2016-10-02 13:32:39 +02:00
pathmatch.h Added missing #include "config.h" in pathmatch.h 2016-10-02 15:51:21 +02:00
pcrerules.pri
platform.cpp Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
platform.h Platform: Fix type limits calculations. sizeof=>bit 2016-10-16 12:00:33 +02:00
preprocessor.cpp cppcheck-build-dir: Use settings and cppcheck version in checksum so results will be recalculated if cppcheck is upgraded or there is significant changes on the command line. 2016-10-29 22:40:44 +02:00
preprocessor.h cppcheck-build-dir: Use settings and cppcheck version in checksum so results will be recalculated if cppcheck is upgraded or there is significant changes on the command line. 2016-10-29 22:40:44 +02:00
settings.cpp Settings: Make Settings::_terminated static. All threads and subchecks are terminated 2016-08-21 15:57:19 +02:00
settings.h Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
standards.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
suppressions.cpp Fixed #7455 (Suppressions: not working well with windows path separators) 2016-05-23 15:38:47 +02:00
suppressions.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
symboldatabase.cpp Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
symboldatabase.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
templatesimplifier.cpp templatesimplifier: Improved const correctness. There are no functional changes. 2016-10-31 17:24:15 +01:00
templatesimplifier.h templatesimplifier: Improved const correctness. There are no functional changes. 2016-10-31 17:24:15 +01:00
timer.cpp Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
timer.h Update Makefile. Replace another NULL by nullptr 2016-05-07 17:35:00 +02:00
token.cpp Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
token.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
tokenize.cpp Fixed #7821 (segmentation fault, invalid last token) 2016-11-20 14:15:51 +01:00
tokenize.h tokenize: Improved const correctness. There are no functional changes. 2016-10-31 17:18:27 +01:00
tokenlist.cpp use const 2016-11-20 15:44:20 +01:00
tokenlist.h ValueFlow: Fixed constant folding of sizeof(enum) and sizeof(enumerator) (#7564) 2016-07-08 20:39:34 +02:00
utils.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
valueflow.cpp Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
valueflow.h Fixed #6180 (Usage of variable after std::move or std::forward) 2016-11-20 15:14:49 +01:00
version.h Set version to 1.76.99/1.77 dev 2016-10-09 10:33:03 +02:00
version.rc