cppcheck/lib
Daniel Marjamäki 0e9810b7f6 CheckStl: validation of iterators returned from functions 2016-11-01 14:08:42 +01:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp Try to fix VS errors about std::to_string() 2016-10-29 18:18:29 +02:00
analyzerinfo.h Try to fix VS errors about std::to_string() 2016-10-29 18:18:29 +02:00
astutils.cpp Remove Tokenizer::simplifyNull() 2016-10-18 21:44:02 +02:00
astutils.h Merge pull request #771 from Dmitry-Me/charUsedAsArrayIndex 2016-02-10 20:11:38 +03: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 Support prefix-increment/decrement in CheckAutoVariables::assignFunctionArg() (#3177) 2016-10-10 21:34:40 +02: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 Minor refactoring: use nullptr (instead of 0/NULL), change signature of Tokenizer::createTokens 2016-05-07 16:30:54 +02: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 Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02: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 check if AST is not null before accessing it 2016-10-09 18:21:23 +02: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 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
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 cstyleCast: don't warn about '(const Variable *)nullptr' 2016-10-18 22:56:33 +02:00
checkother.h Improved check: Detect passedByValue even for arguments that are not declared as "const" 2016-07-28 19:37:10 +02: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 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
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 CheckUnusedFunctions::analyzerInfo(): remove unused parameter 'filename'. 2016-11-01 13:34:26 +01:00
checkunusedfunctions.h CheckUnusedFunctions::analyzerInfo(): remove unused parameter 'filename'. 2016-11-01 13:34:26 +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 CheckUnusedFunctions::analyzerInfo(): remove unused parameter 'filename'. 2016-11-01 13:34:26 +01:00
cppcheck.h Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02: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 fix cppcheck warnings 2016-10-29 12:35:14 +02:00
importproject.cpp Fix crash in parsing solution/project 2016-08-24 12:17:54 +02:00
importproject.h GUI: Select configuration that is checked 2016-08-21 15:57:38 +02: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 Cleanup Copyrights. Now all should be just for Cppcheck team. 2016-01-01 23:04:16 +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 CheckStl: validation of iterators returned from functions 2016-11-01 14:08:42 +01:00
symboldatabase.h Fixed #7697 ((debug) Executable scope 'B' with unknown function.) 2016-08-19 19:06:15 +02: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 Token: Improved const correctness of findsimplematch() and findmatch(). There are no functional changes. 2016-10-29 21:37:45 +02:00
token.h Token: Improved const correctness of findsimplematch() and findmatch(). There are no functional changes. 2016-10-29 21:37:45 +02:00
tokenize.cpp tokenize: Improved const correctness. There are no functional changes. 2016-10-31 17:18:27 +01:00
tokenize.h tokenize: Improved const correctness. There are no functional changes. 2016-10-31 17:18:27 +01:00
tokenlist.cpp Ticket #7680: Properly handle ::delete during memory leak checks. 2016-09-10 14:55:50 +02: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 #7775 (crash at valueFlowSetConstantValue) 2016-10-26 10:36:02 +02:00
valueflow.h ValueFlow: better handling of ? when condition result is known 2016-08-15 14:19:35 +02:00
version.h Set version to 1.76.99/1.77 dev 2016-10-09 10:33:03 +02:00
version.rc