cppcheck/lib
chrchr-github d5a0dfda00
Fix #11239 checkLibraryCheckType with asm goto() (invalid varid), add test for #8666 (#4340)
* Add test for #6541, avoid duplicate warning

* Add test for #5475

* Fix test

* Merge

* Add test for #8666

* Fix #11239 checkLibraryCheckType with asm goto() (invalid varid)

* Format
2022-08-04 21:35:18 +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 Fixed whole program analysis 2022-07-12 22:58:52 +02:00
astutils.cpp #11233 FP: knownConditionTrueFalse (wrong message text) (#4330) 2022-08-02 18:18:46 +02:00
astutils.h Refactor alias check in isExpressionChangeAt into isAlias function (#4223) 2022-06-28 22:40:59 +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 Fixed typo in checkautovariables.cpp: getPointerDepth() (#4329) 2022-08-04 07:52:10 +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 BufferOverrun TODO (#4300) 2022-07-22 07:24:34 +02:00
checkbufferoverrun.h LCppC backport: Restored Check: Detect negative VLA and allocation (new[]) sizes (#4187) 2022-06-11 09:55:38 +02:00
checkclass.cpp Fix #10077 FP functionConst when overloaded operator ++ is used (#4309) 2022-07-26 08:30:59 +02:00
checkclass.h CheckClass: Fix false negatives for uninitMemberVar 2022-06-21 19:28:08 +02:00
checkcondition.cpp Handle float values (#4336) 2022-08-02 22:11:31 +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 Improve check for wchar_t (#4285) 2022-07-16 23:46:10 +02:00
checkfunctions.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkinternal.cpp
checkinternal.h Update copyright year 2022-05-21 12:18:27 +02:00
checkio.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +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 FP leakNoVarFunctionCall with Qt object (#4272) 2022-07-13 21:09:53 +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 Fix #11234 Broken AST with auto**, FP constStatement (#4339) 2022-08-03 19:03:38 +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 11147: FP invalidContainer with substr() (#4333) 2022-08-03 19:04:44 +02:00
checkstl.h Improve check: uselessCallsConstructor (#4270) 2022-07-12 17:40:14 +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 Update copyright year 2022-02-05 11:45:17 +01:00
checktype.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkuninitvar.cpp use `emptyString` more consistently (#4034) 2022-07-10 10:57:29 +02:00
checkuninitvar.h Rename old uninitvar ID to use legacyUninitvar (#4043) 2022-04-27 17:37:37 +02:00
checkunusedfunctions.cpp enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
checkunusedfunctions.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
checkunusedvar.cpp Fix #9946 FP: unassignedVariable when operator() is called subsequently (#4303) 2022-07-24 17:52:14 +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 Update copyright year 2022-02-05 11:45:17 +01:00
checkvaarg.h Update copyright year 2022-05-21 12:18:27 +02:00
clangimport.cpp enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
clangimport.h Update copyright year 2022-02-05 11:45:17 +01:00
color.cpp Update copyright year 2022-02-05 11:45:17 +01:00
color.h
config.h Fix crash on Windows with -j option (#4229) 2022-07-13 13:46:03 +02:00
cppcheck.cpp enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +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 aligned build options of Visual Studio project configurations and added them to CMake (#4020) 2022-04-21 21:28:29 +02:00
cppcheck.vcxproj.filters Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
ctu.cpp Fix #9788 ctu: false negative array index out of bounds for array arguments (#4277) 2022-07-13 21:08:51 +02:00
ctu.h separated process execution code into `ProcessExecutor` (#4249) 2022-07-08 16:42:57 +02:00
errorlogger.cpp enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
errorlogger.h enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +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 enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
importproject.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +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 Replaced check for pipe() buffer size by ordinary CheckBufferOverrun, provide required Library configuration option (#4183) 2022-06-19 12:01:55 +02:00
library.h mitigated most clang-tidy warnings in headers (#4175) 2022-07-26 11:10:03 +02:00
matchcompiler.h
mathlib.cpp Remove simplifyKnownVariables() (#4232) 2022-06-25 08:38:17 +02:00
mathlib.h mitigated most clang-tidy warnings in headers (#4175) 2022-07-26 11:10:03 +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 enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +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 Implemented error handling in cppcheck::Platform::loadFromXmlDocument(), enabled related unit test (#8409) (#4181) 2022-06-08 12:35:23 +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 fixed some `modernize-use-emplace` false negatives and some `bugprone-assignment-in-if-condition` warnings (#4311) 2022-07-28 22:53:59 +02:00
preprocessor.h enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +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 Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
settings.h Fixed handling of PCRE rules, since 'simple' rules have been removed already, set default to 'normal'-tokenlist. 2022-06-20 09:17:11 +02:00
smallvector.h smallvector.h: reverted bogus noExplicitConstructor fix and suppress the warning (#4016) 2022-04-13 20:50:04 +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 removed unnecessary varid0 inline suppressions (#3893) 2022-03-12 18:02:40 +01:00
summaries.h
suppressions.cpp cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +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 fixed some `modernize-use-emplace` false negatives and some `bugprone-assignment-in-if-condition` warnings (#4311) 2022-07-28 22:53:59 +02:00
symboldatabase.h mitigated most clang-tidy warnings in headers (#4175) 2022-07-26 11:10:03 +02:00
templatesimplifier.cpp fixed some `modernize-use-emplace` false negatives and some `bugprone-assignment-in-if-condition` warnings (#4311) 2022-07-28 22:53:59 +02:00
templatesimplifier.h enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
timer.cpp enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
timer.h enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
token.cpp Tokenizer: remove simplifyTokenList2 2022-07-18 16:20:36 +02:00
token.h reduced padding in some classes/structs (#4295) 2022-07-24 10:17:11 +02:00
tokenize.cpp Fix #11239 checkLibraryCheckType with asm goto() (invalid varid), add test for #8666 (#4340) 2022-08-04 21:35:18 +02:00
tokenize.h Tokenizer: remove simplifyTokenList2 2022-07-18 16:20:36 +02:00
tokenlist.cpp use hash instead of checksum to check if content is changed 2022-07-07 12:16:01 +02:00
tokenlist.h use hash instead of checksum to check if content is changed 2022-07-07 12:16:01 +02:00
tokenrange.h
utils.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
utils.h added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
valueflow.cpp Fix 11142: FP nullPointer before assignment (#4319) 2022-08-03 19:05:07 +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