cppcheck/lib
PKEuS 83b1e1c329 CheckBufferOverrun: Refactorizations
- Improved/Optimized conditions in checkBufferAllocatedWithStrlen()
- Avoid copying strings for checkScope()
2017-03-27 11:48:34 +02:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp try to make Travis happy by fixing Cppcheck warning 2016-12-08 23:12:59 +01:00
analyzerinfo.h Cppcheck build dir: Better handling when --project is used 2016-12-08 22:46:44 +01:00
astutils.cpp More conservative check for non-commutative operator+ in isSameExpression() (#7938) 2017-03-15 19:17:40 +01:00
astutils.h Refactorized Library 2016-12-06 14:09:28 +01:00
check.cpp Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
check.h Added CHECK_WRONG_DATA() that can be used to avoid crashes/hangs in release binaries 2017-03-26 11:23:39 +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 Fix some typos in comments (found by codespell) 2016-11-27 11:40:42 +01:00
checkassert.h Fixed #7130 (Wrong assignmentInAssert when using lambda in predicate function) 2016-05-26 18:29:29 +02:00
checkautovariables.cpp Fixed #7583 (Defect: False positive '(error) Reference to temporary returned') 2017-02-26 13:41:49 +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 Don't simplify _Bool in TokenList 2017-03-04 11:13:28 +01: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 CheckBufferOverrun: Refactorizations 2017-03-27 11:48:34 +02:00
checkbufferoverrun.h CheckBufferOverrun: Refactorizations 2017-03-27 11:48:34 +02:00
checkclass.cpp New check: checking for copy ctor and eq operator co-existence 2017-03-24 12:00:20 +01:00
checkclass.h New check: checking for copy ctor and eq operator co-existence 2017-03-24 12:00:20 +01:00
checkcondition.cpp Added (back) support for enums to CheckCondition::checkIncorrectLogicOperator() (#7794) 2017-03-23 18:57:48 +01:00
checkcondition.h Refactorization: Avoid construction of empty strings by using emptyString 2017-03-01 10:50:50 +01:00
checkexceptionsafety.cpp Comment spelling fixes 2017-02-28 12:22:59 +01:00
checkexceptionsafety.h astyle formatting 2016-08-24 12:43:45 +02:00
checkfunctions.cpp Added CHECK_WRONG_DATA() that can be used to avoid crashes/hangs in release binaries 2017-03-26 11:23:39 +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 Don't simplify _Bool in TokenList 2017-03-04 11:13:28 +01:00
checkio.h switch some functions from const to static, as cppcheck suggests. 2017-02-27 13:51:33 +01:00
checkleakautovar.cpp Fixed #7738 (False positive deallocret - delete and return NULL pointer) 2017-03-03 18:36:06 +01: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 Refactorization: Avoid construction of empty strings by using emptyString 2017-03-01 10:50:50 +01:00
checkmemoryleak.h improve constness of functions as per cppchecks suggestions. 2017-01-07 14:31:03 +01:00
checknullpointer.cpp Fixed handling of NULL and nullptr in CheckNullPointer 2017-02-24 19:44:28 +01:00
checknullpointer.h Fixed false negative: nullpointer passed as std::string argument (#7927) 2017-02-24 19:10:34 +01:00
checkother.cpp Fixed #7961 (Hang in CheckOther::checkFuncArgNamesDifferent) 2017-03-24 22:01:05 +01:00
checkother.h Fixed #7961 (Hang in CheckOther::checkFuncArgNamesDifferent) 2017-03-24 22:01:05 +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 Several small refactorizations 2016-12-06 22:12:02 +01: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 Fixed #7930 (Improve check: Missing stlcstr warning for reference variable) 2017-03-01 02:03:08 +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 Integer Overflow: Don't warn about left-shift expressions with negative result like '1<<31'. That is common practice. 2016-12-21 18:19:59 +01:00
checktype.h Add a check for float conversion overflows 2016-11-22 22:37:13 +01:00
checkuninitvar.cpp Refactorization: Avoid construction of empty strings by using emptyString 2017-03-01 10:50:50 +01:00
checkuninitvar.h Fixed #7822 (False positive for uninitialized variable if array type is used) 2016-12-21 23:11:11 +01:00
checkunusedfunctions.cpp There is no need to clear a class member string in the Ctor. 2016-12-27 21:20:17 +01:00
checkunusedfunctions.h Refactorization: Avoid construction of empty strings by using emptyString 2017-03-01 10:50:50 +01:00
checkunusedvar.cpp Fixed #7546 (Assignment to array element not detected if pointer addition is used) 2017-02-28 22:04:05 +01: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 Refactorization: Avoid construction of empty strings by using emptyString 2017-03-01 10:50:50 +01:00
cppcheck.h UnusedFunctions: Perform checking using analyzeinfo 2016-11-05 21:26:56 +01:00
cppcheck.natvis Added cppcheck.natvis file for human readable debug information in Visual Studio. 2017-01-22 10:21:29 +01:00
cppcheck.vcxproj Added cppcheck.natvis file for human readable debug information in Visual Studio. 2017-01-22 10:21:29 +01:00
cppcheck.vcxproj.filters Fixed travis build by replacing Token::Match by simpleMatch() 2017-03-16 21:15:10 +01:00
cxx11emu.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
errorlogger.cpp Refactorization: Avoid construction of empty strings by using emptyString 2017-03-01 10:50:50 +01:00
errorlogger.h Fixed typos. There are no real changes. 2016-11-04 15:01:05 +01:00
importproject.cpp Refactorization: Avoid construction of empty strings by using emptyString 2017-03-01 10:50:50 +01:00
importproject.h Several small refactorizations 2016-12-06 20:02:43 +01:00
lib.pri Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
library.cpp Library: Support variadic functions which are not a formatstr-function 2017-03-14 17:41:34 +01:00
library.h Library: Support variadic functions which are not a formatstr-function 2017-03-14 17:41:34 +01:00
matchcompiler.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
mathlib.cpp Fixed #7897 (MathLib::toDoubleValue: Does not handle character literal) 2017-02-25 21:58:09 +01:00
mathlib.h Improved Doxygen comments. There are no functional changes. 2016-10-11 13:51:46 +02:00
path.cpp Several small refactorizations 2016-12-06 22:12:02 +01:00
path.h Path: Add methods Path::isAbsolute() and Path::getCurrentPath() 2016-10-02 12:06:55 +02:00
pathmatch.cpp Several small refactorizations 2016-12-06 22:12:02 +01:00
pathmatch.h Added missing #include "config.h" in pathmatch.h 2016-10-02 15:51:21 +02:00
pcrerules.pri pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
platform.cpp Fixed #7177 (Support compile_commands.json) 2016-08-13 10:50:03 +02:00
platform.h switch some functions from const to static, as cppcheck suggests. 2017-02-27 13:51:33 +01:00
preprocessor.cpp Fix Cppcheck warning 2017-03-26 11:40:53 +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 Cleanup: There is no need to clear a string directly after its creation. 2017-01-16 20:10:28 +01:00
settings.h switch some functions from const to static, as cppcheck suggests. 2017-02-27 13:51:33 +01: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 Don't change varid of member variables. 2017-03-25 10:59:35 -04:00
symboldatabase.h ValueType: Hide assignment operator 2017-03-24 13:38:45 +01:00
templatesimplifier.cpp Astyle run. 2017-03-21 14:22:28 +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 Replaced hardcoding for char16_t and char32_t with configuration 2017-03-04 16:30:42 +01:00
token.h Improve Fix #6180 (Access of moved variable still allowed until function is called) 2016-12-17 16:42:46 +01:00
tokenize.cpp Refactor symbol database value type support by making setValueTypeInTokenList and setValueType member functions of SymbolDatabase. Class variables are no longer passed around as parameters but accessed directly which simplifies the code. There should be no functional change. 2017-03-21 21:55:22 -04:00
tokenize.h fix build with -DMAXTIME=123 2017-02-27 14:00:06 +01:00
tokenlist.cpp Fixed #7934 (Wrong AST for 'for (i=0;cond;({min(x,10);}))') 2017-03-19 07:26:11 +01:00
tokenlist.h improve constness of functions as per cppchecks suggestions. 2017-01-07 14:31:03 +01:00
utils.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
valueflow.cpp ValueFlow: Stop on inline assembly 2017-03-23 20:01:16 +01:00
valueflow.h Improve Fix #6180 (Access of moved variable still allowed until function is called) 2016-12-17 16:42:46 +01:00
version.h Set version to 1.77.99/1.78 dev 2017-01-01 11:58:39 +01:00
version.rc Refactorized resource files: 2012-10-14 10:21:22 +02:00