SHA256
1
0
forked from pool/cppcheck

Commit Graph

  • 68c381ca70 Accepting request 1198161 from devel:tools factory Dominique Leuenberger 2024-09-02 11:15:11 +0000
  • d53b16012f Accepting request 1198146 from home:mathletic:branches:devel:tools devel Dirk Mueller 2024-09-01 13:18:24 +0000
  • 5dc67ae403 Accepting request 1182708 from devel:tools Ana Guerrero 2024-06-24 18:54:08 +0000
  • c8df056543 Accepting request 1182636 from home:mathletic:branches:devel:tools Martin Pluskal 2024-06-23 05:16:35 +0000
  • 291e06d6f7 Accepting request 1178147 from devel:tools Ana Guerrero 2024-06-03 15:43:39 +0000
  • a6434ef222 Accepting request 1177047 from home:mathletic:branches:devel:tools Dirk Mueller 2024-06-02 10:18:43 +0000
  • c158ef27b4 Accepting request 1170427 from devel:tools Ana Guerrero 2024-04-28 19:49:25 +0000
  • 93a51dc2bd Accepting request 1170347 from home:mathletic:branches:devel:tools Martin Pluskal 2024-04-27 06:32:03 +0000
  • 796ecbc96d Accepting request 1161149 from devel:tools Ana Guerrero 2024-03-25 20:10:50 +0000
  • 354bdc8d41 - update to 2.13.4: * Speedup premium misra checking Dirk Mueller 2024-03-24 17:20:28 +0000
  • 7c8a412018 Accepting request 1144161 from devel:tools Ana Guerrero 2024-02-05 21:01:45 +0000
  • 46f504db66 - update to 2.13.3: * settings.cpp: Update autosar+cert+misra checkers mappings * Fix #12389 (GUI: premiumaddon is not executed properly anymore) Dirk Mueller 2024-02-05 09:44:15 +0000
  • 9645394ab4 Accepting request 1141685 from devel:tools Ana Guerrero 2024-01-26 21:47:47 +0000
  • de53c9c74b - update to 2.13.2: * Fix premium version check * Fix 12375 Dirk Mueller 2024-01-26 09:10:09 +0000
  • b0796d8df2 Accepting request 1140512 from devel:tools Ana Guerrero 2024-01-22 19:38:10 +0000
  • aa0456ef17 - update to 2.13.1: * Show premium autosar/misra/cert style issues even if --enable is not used * Better validation of --premium options * unsafe handling of unconditional #error * unsafe suppressions of critical errors * missing "misra-config" warning, calling unknown function in condition * If --premium=safety is used then go to "safety mode". Do not override this in cppcheck.cfg Dirk Mueller 2024-01-22 09:56:02 +0000
  • 544f80a356 Accepting request 1134967 from devel:tools Ana Guerrero 2023-12-25 18:05:52 +0000
  • c62715bad4 Accepting request 1134958 from home:mathletic:branches:devel:tools Martin Pluskal 2023-12-24 08:50:26 +0000
  • 2b0f219197 Accepting request 1134347 from devel:tools Ana Guerrero 2023-12-21 22:38:44 +0000
  • f2ba187ef3 - add CVE-2023-39070.patch (CVE-2023-39070, bsc#1215233) Dirk Mueller 2023-12-20 23:14:38 +0000
  • 8e1bf71104 Accepting request 1125244 from devel:tools Ana Guerrero 2023-11-13 21:21:10 +0000
  • 382bc55288 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=118 Martin Pluskal 2023-11-12 11:27:14 +0000
  • 465c4a0aa7 Accepting request 1124428 from home:Guillaume_G:branches:devel:tools Martin Pluskal 2023-11-10 08:57:12 +0000
  • bcc321f05d Accepting request 1114263 from devel:tools Ana Guerrero 2023-10-02 18:04:59 +0000
  • 5a04f7d88d - add werror-return-type.patch to fix false warnings where gcc can not properly detect the "noreturn" nature of the function Dirk Mueller 2023-09-29 07:29:11 +0000
  • 8c90fe76c9 - update to 2.12.1: * Support importing projects with project-name Dirk Mueller 2023-09-19 14:21:34 +0000
  • 4ff6c22bfc - update to 2.12.0: * uselessOverride finds overriding functions that either duplicate code from or delegate back to the base class implementation * knownPointerToBool finds pointer to bool conversions that are always true or false * truncLongCastAssignment and truncLongCastReturn check additional types, including float/double/long double * duplInheritedMember also reports duplicated member functions * constParameter*/constVariable* checks find more instances of pointers/references that can be const, e.g. when calling library functions * Write how many checkers was activated after a run * Added --checkers-report that can be used to generate a report in a file that shows what checkers was activated and disabled * The qmake build system has been deprecated and will be removed in a future version. * Command-line option '--template - update to 2.11: * pop_back on empty container is UB * Improve useStlAlgorithm check to handle many more conditions in the loop for any_of, all_of and none_of algorithms * ValueFlow can evaluate the return value of functions even when conditionals are used * ValueFlow will now forward the container sizes being returned from a function * ValueFlow can infer possible values from possible symbolic values * Improve valueflow after pushing to container * The new option --check-level= has been added that controls Dirk Mueller 2023-09-15 07:59:45 +0000
  • 63de44241e Accepting request 1090242 from devel:tools Dominique Leuenberger 2023-06-01 15:20:44 +0000
  • b4b55e5e82 Accepting request 1089803 from home:manfred999 Marcus Meissner 2023-06-01 10:02:25 +0000
  • 6402428aef Accepting request 1075209 from devel:tools Dominique Leuenberger 2023-03-29 21:28:18 +0000
  • 331c3738d4 - switch on Tumbleweed temporarily to gcc 12 to avoid "allocator_traits<A>::rebind_alloc<A::value_type> must be A" (as mentioned on https://gcc.gnu.org/gcc-13/porting_to.html) Dirk Mueller 2023-03-29 12:13:55 +0000
  • 941b4075bb Accepting request 1072201 from devel:tools Dominique Leuenberger 2023-03-16 21:57:29 +0000
  • da654849b3 Accepting request 1072190 from home:dirkmueller:Factory Martin Pluskal 2023-03-15 21:53:56 +0000
  • f170c27497 Accepting request 1069760 from devel:tools Dominique Leuenberger 2023-03-07 15:50:19 +0000
  • a198a5ba61 - update to 2.10.2: * GUI: Set proper title for compliance report dialog * GUI: Generate compliance report * Tokenizer: tweaked simplification of function pointers Dirk Mueller 2023-02-27 21:49:18 +0000
  • 94b6d607a0 Accepting request 1062417 from devel:tools Dominique Leuenberger 2023-02-01 15:39:50 +0000
  • b06084542c Accepting request 1062346 from home:pragmalin:branches:devel:tools Martin Pluskal 2023-02-01 09:32:41 +0000
  • ff0612c200 - update to 2.10.0: * Many improvements and fixes in checkers. * New check: use memset/memcpy instead of loop CLI: * if the file provided via "--file-list" cannot be opened it will now error out * add command-line option "--disable=" to individually disable checks GUI: * Detect when installed version is old. There is setting in Edit/Preferences to turn this on. * Fix path issue with backslashes * Cleanup *.ctu-info files after analysis Build: * the deprecated Makefile option SRCDIR is no longer accepted * added CMake option BUILD_CORE_DLL to build lib as cppcheck-core.dll with Visual Studio Dirk Mueller 2023-01-30 12:09:12 +0000
  • 912c7073c2 Accepting request 1043016 from devel:tools Dominique Leuenberger 2022-12-15 18:25:29 +0000
  • 8dd2cfec40 - update to 2.9.3: * various GUI and premium feature handling bugfixes Dirk Mueller 2022-12-07 22:59:57 +0000
  • 973f49dd94 Accepting request 1004372 from devel:tools Dominique Leuenberger 2022-09-17 18:10:54 +0000
  • ecac19f21c - update to 2.9: * restored check for negative allocation (new[]) and negative VLA sizes from cppcheck 1.87 (LCppC backport) * replaced hardcoded check for pipe() buffer size by library configuration option (LCppC backport) * on Windows the callstack is now being written to the output specific via "--exception-handling" * make it possible to disable the various exception handling parts via the CMake options "NO_UNIX_SIGNAL_HANDLING", "NO_UNIX_BACKTRACE_SUPPORT" and "NO_WINDOWS_SEH" * detect more redundant calls of std::string::c_str(), std::string::substr(), and unnecessary copies of containers * Add a match function to addon similiar to Token::Match used internally by cppcheck: * | for either-or tokens(ie struct|class to match either struct or class) * !! to negate a token * It supports the %any%, %assign%, %comp%, %name%, %op%, %or%, %oror%, and %var% keywords * It supports (*), {*}, [*], and <*> to match links * @ can be added to bind the token to a name * ** can be used to match until a token * Add math functions which can be used in library function definition. This enables evaluation of more math functions in ValueFlow * Further improve lifetime analysis with this pointers * Propagate condition values from outer function calls * Add debug intrinsics debug_valueflow and debug_valuetype to show more detail including source backtraces Dirk Mueller 2022-09-17 16:30:25 +0000
  • 22bde184c0 Accepting request 989720 from devel:tools Richard Brown 2022-07-18 16:34:16 +0000
  • 5a604c91fd - update to 2.8.2: * do not allocate std::string when column is -1 * catch internal error during whole program analysis * fix whole program analysis Dirk Mueller 2022-07-17 16:16:37 +0000
  • 4ea59e9316 Accepting request 981215 from devel:tools Dominique Leuenberger 2022-06-08 12:24:55 +0000
  • e67c99d77b - update to 2.8: * Lifetime analysis can now track lifetime across user-defined constructors when they are inline and using member initializer list. * SymbolDatabase can now deduce iterator types from how they are specified in the library files. * ValueFlow can evaluate class member functions that return known values. * Improve duplicateValueTenary to not warn when used as an lvalue or when one branch has side effects * Fix variableScope to not warn when variables are used in lambda functions * Fix unassignedVariable warnings when using structured bindings * Fix redundantInitialization warning when variable is used in a lambda * Fix variableScope warnings when using if/while init-statement * Improve lifetime analysis when returning variadic template expressions * Detect more statements with constStatement * Detect variableScope for more types * Improvements to unreadVariable * Detect more instances of C style casts * Warn if the return value of new is discarded * The pre-ValueFlow uninitialized checker now uses a different ID as legacyUninitvar * Extended library format to exclude specific function argument values Dirk Mueller 2022-06-07 21:32:35 +0000
  • 9e058f53d0 Accepting request 971910 from devel:tools Dominique Leuenberger 2022-04-22 19:53:35 +0000
  • c4ad8f7556 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=92 Dirk Mueller 2022-04-21 20:36:47 +0000
  • 246977aac5 - update to 2.7.5: * Import Project: Fix problem with define value with space Dirk Mueller 2022-04-19 13:40:17 +0000
  • e3d7ffb43f Accepting request 965031 from devel:tools Dominique Leuenberger 2022-03-26 21:31:28 +0000
  • fab3fc6168 - update to 2.7.4: * Fixes "undefined reference to `tinyxml2::" * Replace tinyxml2_LIBRARY with tinyxml2_LIBRARIES Dirk Mueller 2022-03-26 14:12:53 +0000
  • 9a22f74629 Accepting request 963325 from devel:tools Dominique Leuenberger 2022-03-21 19:11:00 +0000
  • 8c55f44465 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=87 Dirk Mueller 2022-03-20 19:39:22 +0000
  • d64e1eabeb - drop fix-i586.patch (obsolete) Dirk Mueller 2022-03-20 19:39:15 +0000
  • cfae264b08 - update to 2.7.1: * Add support for container views. The view attribute has been added to the <container> library tag to specify the class is a view. The lifetime analysis has been updated to use this new attribute to find dangling lifetime containers. * Various checker improvements. * Fixed false positives. Dirk Mueller 2022-03-20 19:31:39 +0000
  • 3eb78ed718 Accepting request 941431 from devel:tools Dominique Leuenberger 2021-12-18 20:52:48 +0000
  • 14834fcc7e Accepting request 941382 from home:dirkmueller:Factory Stephan Kulow 2021-12-18 19:15:45 +0000
  • 391ce6ee0a Accepting request 939552 from devel:tools Dominique Leuenberger 2021-12-11 23:57:43 +0000
  • 057e8566ee Accepting request 935858 from home:dirkmueller:Factory Dirk Mueller 2021-12-11 09:15:31 +0000
  • a722b4af98 Accepting request 920630 from devel:tools Dominique Leuenberger 2021-09-21 19:13:20 +0000
  • 5ed5e2d8b5 Accepting request 920272 from home:cgiboudeaux:branches:devel:tools Marcus Meissner 2021-09-21 09:53:11 +0000
  • 2ecaeb7a0f Accepting request 906819 from devel:tools Dominique Leuenberger 2021-07-17 21:36:48 +0000
  • 3fa349d3a3 - update to 2.5: * checked that all features in c++11, c++14, c++17 are supported * c++20 support is improved but not complete yet * improved library files, better knowledge about APIs * improved checks to detect more bugs * fixed checks to avoid unwanted warnings * suspicious container/iterator assignment in condition * rethrow without current handled exception - drop 0002-Another-gcc11-fix-3179.patch, 0001-Fix-gcc11-build-errors.patch: upstream Dirk Mueller 2021-07-17 13:11:33 +0000
  • e21f14ad8c Accepting request 896668 from devel:tools Dominique Leuenberger 2021-06-02 20:11:37 +0000
  • 6b3188e605 Accepting request 896626 from home:cgiboudeaux:branches:devel:tools Martin Pluskal 2021-06-01 11:43:11 +0000
  • 4ddcf3943a Accepting request 892005 from devel:tools Dominique Leuenberger 2021-05-11 21:04:05 +0000
  • a89fcb6bcc Accepting request 892004 from home:coolo:branches:openSUSE:Factory Martin Pluskal 2021-05-10 10:52:49 +0000
  • a4d9ec0c17 Accepting request 881016 from devel:tools Dominique Leuenberger 2021-03-24 15:14:26 +0000
  • 870eab9200 Accepting request 880879 from home:dirkmueller:Factory Martin Pluskal 2021-03-24 11:08:27 +0000
  • 8b9f1e8cea Accepting request 880605 from home:dirkmueller:Factory Martin Pluskal 2021-03-23 07:20:41 +0000
  • cf38a9a246 Accepting request 856470 from devel:tools Dominique Leuenberger 2020-12-17 16:05:09 +0000
  • f08159343a Accepting request 855374 from home:milsav92:branches:devel:tools Marcus Meissner 2020-12-16 13:21:00 +0000
  • b606030041 Accepting request 820782 from devel:tools Dominique Leuenberger 2020-07-15 13:04:21 +0000
  • edb6269661 Accepting request 820762 from home:elimat:branches:devel:tools Martin Pluskal 2020-07-14 05:24:49 +0000
  • 767155376e Accepting request 784399 from devel:tools Dominique Leuenberger 2020-03-12 22:10:26 +0000
  • bc8f4ec7a6 Accepting request 784381 from home:vladisav:branches:devel:tools Martin Pluskal 2020-03-12 19:38:37 +0000
  • 5b89c0ce9e Accepting request 781477 from devel:tools Dominique Leuenberger 2020-03-05 22:20:50 +0000
  • bb5690291a OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=66 Martin Pluskal 2020-03-04 12:27:05 +0000
  • 9735479051 - Use cmake macros Martin Pluskal 2020-03-04 12:18:09 +0000
  • ed7a648d6e Accepting request 781469 from home:dalgaaf:branches:devel:tools Martin Pluskal 2020-03-04 12:06:10 +0000
  • 5797045854 Accepting request 712895 from devel:tools Dominique Leuenberger 2019-07-11 11:13:46 +0000
  • 11c42300b6 Accepting request 712743 from home:marxin:branches:devel:tools Martin Pluskal 2019-07-01 16:28:24 +0000
  • 97ecad2421 Accepting request 662754 from devel:tools Dominique Leuenberger 2019-01-05 13:42:34 +0000
  • 8794695220 Accepting request 662716 from home:nafsub:branches:devel:tools Martin Pluskal 2019-01-04 08:13:34 +0000
  • dffa1d1ef8 Accepting request 661573 from devel:tools Dominique Leuenberger 2018-12-28 11:35:42 +0000
  • c4a11996ef - Small packaging enhancements Martin Pluskal 2018-12-27 10:04:40 +0000
  • 5e143cf72d Accepting request 661440 from home:mathletic:branches:devel:tools Martin Pluskal 2018-12-27 08:40:19 +0000
  • 473c95dcf3 Accepting request 660219 from devel:tools Dominique Leuenberger 2018-12-21 07:22:18 +0000
  • 360f7317bb Accepting request 660144 from home:mathletic:branches:devel:tools Martin Pluskal 2018-12-20 08:29:12 +0000
  • 8538c461b2 Accepting request 642840 from devel:tools Dominique Leuenberger 2018-10-18 13:39:58 +0000
  • e70987f28d Accepting request 642826 from home:jubalh:branches:devel:tools Martin Pluskal 2018-10-18 10:38:02 +0000
  • 217bcf0fbb Accepting request 577906 from devel:tools Dominique Leuenberger 2018-02-19 12:03:29 +0000
  • 74717428cf Accepting request 577725 from home:alois:branches:devel:tools OBS User mrdocs 2018-02-19 03:33:22 +0000
  • 4b1a672aeb Accepting request 481721 from devel:tools Dominique Leuenberger 2017-03-24 01:22:21 +0000
  • 6a5a5d2aa5 - Use qmake macros - Run spec-cleaner - Update to version 1.77: * Added flag --cppcheck-build-dir to allow incremental analysis and inter-file checking * Improved --project support for Visual Studio solutions * Detect pointer overflow * Detect usage of variable after std::move or std::forward * Warn about number and char literals in boolean expressions * Improved checking for variables modified but not used again * Libraries: Added support to specify <returnValue> * Improved ValueFlow, especially related to function return values and casts * Improved simplification of Null values to allow more accurate checking * Several improvements to windows.cfg, posix.cfg, gnu.cfg and std.cfg * Reimplemented check for using iterators of mismatching containers... read more Martin Pluskal 2017-03-21 10:29:05 +0000
  • 3e3c05b5f0 Accepting request 481690 from home:favogt:branches:devel:tools Martin Pluskal 2017-03-21 10:18:08 +0000
  • c62faae9b2 Accepting request 360676 from devel:tools Dominique Leuenberger 2016-02-23 15:57:24 +0000
  • 92c5b39b10 Accepting request 360647 from home:elvigia:branches:devel:tools Martin Pluskal 2016-02-21 07:20:36 +0000
  • cb0a7827ce Accepting request 331102 from devel:tools Dominique Leuenberger 2015-09-17 07:21:34 +0000
  • e57f872d4f Accepting request 331047 from home:etamPL:branches:devel:tools Stephan Kulow 2015-09-15 18:52:26 +0000