cppcheck/lib
chrchr-github 7156afe003
Fix #5140 FN (error) buffer access out of bounds - known argument (#4402)
* Fix #5140 FN (error) buffer access out of bounds - known argument const char* argv[]

* Format
2022-08-26 17:27:54 +02:00
..
CMakeLists.txt replaced `if(MATCHES)` with `if(STREQUAL)` (#4263) 2022-07-11 10:46:18 +02:00
analyzer.h use `emptyString` more consistently (#4034) 2022-07-10 10:57:29 +02:00
analyzerinfo.cpp Fixed whole program analysis 2022-07-12 22:58:52 +02:00
analyzerinfo.h cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
astutils.cpp astutils.cpp: some small optimizations (#4378) 2022-08-21 17:39:21 +02:00
astutils.h Fix #7515 New check: Not needed c_str() operation (#4371) 2022-08-20 20:52:10 +02:00
calculate.h Fix 11053: Integer division by zero in calculate.h (#4092) 2022-05-09 20:27:32 +02:00
check.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
check.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
check64bit.cpp Update copyright year 2022-02-05 11:45:17 +01:00
check64bit.h Update copyright year 2022-05-21 12:18:27 +02:00
checkassert.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkassert.h Update copyright year 2022-05-21 12:18:27 +02:00
checkautovariables.cpp avoid redundant `Token::declEndToken()` calls (#4363) 2022-08-20 20:50:14 +02:00
checkautovariables.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkbool.cpp Fix FP bitwiseOnBoolean (#4280) 2022-07-14 20:59:39 +02:00
checkbool.h Fix #4233 FN: Bitwise operation with bool and int (#4266) 2022-07-11 22:58:37 +02:00
checkboost.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkboost.h Update copyright year 2022-05-21 12:18:27 +02:00
checkbufferoverrun.cpp Fix #11145 FP negativeMemoryAllocationSize with possible value (#4387) 2022-08-20 07:56:31 +02:00
checkbufferoverrun.h Fix #11145 FP negativeMemoryAllocationSize with possible value (#4387) 2022-08-20 07:56:31 +02:00
checkclass.cpp do not do C++ processing for C code in `parsedecl()` (#4304) 2022-08-21 17:11:22 +02:00
checkclass.h CheckClass: Fix false negatives for uninitMemberVar 2022-06-21 19:28:08 +02:00
checkcondition.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
checkcondition.h Fix #11082 FN badBitmaskCheck for binary or with 0 (#4170) 2022-06-04 17:25:10 +02:00
checkexceptionsafety.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkexceptionsafety.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkfunctions.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
checkfunctions.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkinternal.cpp fixed some `modernize-use-emplace` false negatives with `std::stack` / removed `internalStlUsage` check (#4346) 2022-08-17 09:50:14 +02:00
checkinternal.h fixed some `modernize-use-emplace` false negatives with `std::stack` / removed `internalStlUsage` check (#4346) 2022-08-17 09:50:14 +02:00
checkio.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
checkio.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
checkleakautovar.cpp Fix #8476 --check-library reports missing configuration for static_assert (#4314) 2022-07-28 22:47:15 +02:00
checkleakautovar.h Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
checkmemoryleak.cpp Fix #5678 FN destructor with no definition hide mismatching alloc/dealloc (#4401) 2022-08-25 22:52:51 +02:00
checkmemoryleak.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checknullpointer.cpp Add test for #6541, #5475, avoid duplicate warning (#4335) 2022-08-02 21:43:18 +02:00
checknullpointer.h use `emptyString` more consistently (#4034) 2022-07-10 10:57:29 +02:00
checkother.cpp avoid redundant `Token::declEndToken()` calls (#4363) 2022-08-20 20:50:14 +02:00
checkother.h Fix #11195 Add redundantContinue check (#4283) 2022-07-16 16:02:58 +02:00
checkpostfixoperator.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkpostfixoperator.h Update copyright year 2022-05-21 12:18:27 +02:00
checksizeof.cpp Fix #9648 FP sizeofDivisionMemfunc (#4017) 2022-04-13 18:21:56 +02:00
checksizeof.h Update copyright year 2022-05-21 12:18:27 +02:00
checkstl.cpp Fix another c_strParam regression (#4394) 2022-08-23 20:26:36 +02:00
checkstl.h Fix #7515 New check: Not needed c_str() operation (#4371) 2022-08-20 20:52:10 +02:00
checkstring.cpp Fix #11166 inefficient way to remove last character from std::string (#4267) 2022-07-11 23:07:37 +02:00
checkstring.h Update copyright year 2022-05-21 12:18:27 +02:00
checktype.cpp do not do C++ processing for C code in `parsedecl()` (#4304) 2022-08-21 17:11:22 +02:00
checktype.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkuninitvar.cpp LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
checkuninitvar.h Rename old uninitvar ID to use legacyUninitvar (#4043) 2022-04-27 17:37:37 +02:00
checkunusedfunctions.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
checkunusedfunctions.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
checkunusedvar.cpp refs #10663 - sped up `Library::detectContainerOrIterator()` by iterating the containers only once (#4380) 2022-08-20 12:14:55 +02:00
checkunusedvar.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkvaarg.cpp LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
checkvaarg.h Update copyright year 2022-05-21 12:18:27 +02:00
clangimport.cpp LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
clangimport.h LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
color.cpp Update copyright year 2022-02-05 11:45:17 +01:00
color.h
config.h some `--exception-handling` related improvements (#4368) 2022-08-20 20:54:31 +02:00
cppcheck.cpp GUI: configuration of premium features 2022-08-22 21:11:28 +02:00
cppcheck.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
cppcheck.natvis
cppcheck.vcxproj LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
cppcheck.vcxproj.filters LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
ctu.cpp Fix #5140 FN (error) buffer access out of bounds - known argument (#4402) 2022-08-26 17:27:54 +02:00
ctu.h separated process execution code into `ProcessExecutor` (#4249) 2022-07-08 16:42:57 +02:00
errorlogger.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
errorlogger.h removed leftover bughunting GUI related fields from `ErrorMessage` (#4351) 2022-08-13 08:27:52 +02:00
errortypes.cpp enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
errortypes.h enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
forwardanalyzer.cpp Fix unit test failure (#4218) 2022-06-17 07:49:45 +02:00
forwardanalyzer.h
importproject.cpp cli import cppcheck project with premium options 2022-08-23 20:13:03 +02:00
importproject.h GUI: configuration of premium features 2022-08-22 21:11:28 +02:00
infer.cpp Update copyright year 2022-02-05 11:45:17 +01:00
infer.h Update copyright year 2022-02-05 11:45:17 +01:00
lib.pri Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
library.cpp refs #10663 - sped up `Library::detectContainerOrIterator()` by iterating the containers only once (#4380) 2022-08-20 12:14:55 +02:00
library.h refs #10663 - sped up `Library::detectContainerOrIterator()` by iterating the containers only once (#4380) 2022-08-20 12:14:55 +02:00
matchcompiler.h
mathlib.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
mathlib.h mathlib.h: replaced slow `std::ostringstream` with `std::to_string()` in `MathLib::toString()` (#4382) 2022-08-19 20:44:24 +02:00
path.cpp Fixed whole program analysis 2022-07-12 22:58:52 +02:00
path.h Fixed whole program analysis 2022-07-12 22:58:52 +02:00
pathanalysis.cpp Try to stop range overflow in forwardRange() (#4235) 2022-07-09 00:57:44 +02:00
pathanalysis.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
pathmatch.cpp cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
pathmatch.h enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
pcrerules.pri
platform.cpp cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
platform.h Update copyright year 2022-05-21 12:18:27 +02:00
precompiled.h Update copyright year 2022-02-05 11:45:17 +01:00
preprocessor.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
preprocessor.h cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
programmemory.cpp Fix #11191 FP moduloofone with pow() (#4312) 2022-07-28 22:11:23 +02:00
programmemory.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
reverseanalyzer.cpp Fix #9861 FN: "static" not suggested for non-const method (#4101) 2022-05-11 20:01:22 +02:00
reverseanalyzer.h
settings.cpp fixed #11249 (potential hang with -j and --showtime= when using threads) - synchronized access to `TimerResults::mResults` / added TSAN to CI (#4355) 2022-08-23 20:30:45 +02:00
settings.h fixed #11249 (potential hang with -j and --showtime= when using threads) - synchronized access to `TimerResults::mResults` / added TSAN to CI (#4355) 2022-08-23 20:30:45 +02:00
smallvector.h smallvector.h: bake `reserve()` into the non-boost `SmallVector` implementation (#4385) 2022-08-20 20:44:26 +02:00
sourcelocation.h Add backtrace to valueflow in debug mode (#4195) 2022-06-12 07:13:42 +02:00
standards.h added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
summaries.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
summaries.h
suppressions.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
suppressions.h fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
symboldatabase.cpp LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
symboldatabase.h LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
templatesimplifier.cpp implemented move constructor for `TemplateSimplifier::TokenAndName` (#4390) 2022-08-21 17:02:03 +02:00
templatesimplifier.h implemented move constructor for `TemplateSimplifier::TokenAndName` (#4390) 2022-08-21 17:02:03 +02:00
timer.cpp fixed #11249 (potential hang with -j and --showtime= when using threads) - synchronized access to `TimerResults::mResults` / added TSAN to CI (#4355) 2022-08-23 20:30:45 +02:00
timer.h fixed #11249 (potential hang with -j and --showtime= when using threads) - synchronized access to `TimerResults::mResults` / added TSAN to CI (#4355) 2022-08-23 20:30:45 +02:00
token.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
token.h Fix #11167 FP virtual call in destructor even though class is final / Delete 'final' from specializations (#4383) 2022-08-19 18:26:00 +02:00
tokenize.cpp Fix #5140 FN (error) buffer access out of bounds - known argument (#4402) 2022-08-26 17:27:54 +02:00
tokenize.h cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
tokenlist.cpp cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
tokenlist.h cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
tokenrange.h
utils.cpp fixed some `modernize-use-emplace` false negatives with `std::stack` / removed `internalStlUsage` check (#4346) 2022-08-17 09:50:14 +02:00
utils.h cppcheckexecutor.cpp: extracted platform-dependent code into separate files (#4359) 2022-08-16 22:03:44 +02:00
valueflow.cpp Fix #2304 FN known strcpy parameter (#4396) 2022-08-24 21:23:45 +02:00
valueflow.h Fix #11191 FP moduloofone with pow() (#4312) 2022-07-28 22:11:23 +02:00
valueptr.h
version.h fixed Cppcheck version (#4292) 2022-07-19 20:42:19 +02:00
version.rc