Commit Graph

27041 Commits

Author SHA1 Message Date
Oliver Stöneberg c2de9843ca
donate_cpu_lib.py: use `try_retry()` in `__remove_tree()` () 2023-01-18 17:02:09 +01:00
Oliver Stöneberg 7876e1064f
valgrind.yml: actually fail the workflow when an error is detected () 2023-01-18 17:01:26 +01:00
Oliver Stöneberg c99c444877
triage_version.py: added `--no-quiet`, `--no-stderr` and `--no-stdout` for more granular output control () 2023-01-18 17:00:57 +01:00
chrchr-github dee2ad8756
Fix FP selfAssignment () 2023-01-18 16:59:56 +01:00
Oliver Stöneberg edbd4f6e81
printInfo.cmake: only print UI-related option if `BUILD_GUI` is specified () 2023-01-18 16:58:12 +01:00
chrchr-github a2fea3d9b4
Fix FP knownConditionTrueFalse with reassigned pointer () 2023-01-18 16:57:22 +01:00
chrchr-github 50d297b309
Enable useStlAlgorithm in selfcheck () 2023-01-17 20:48:26 +01:00
chrchr-github f8f66aeea9
Improve std.cfg: std::addressof(), std::stringstream::str() ()
* Improve std.cfg: std::addressof(), std::stringstream::str()

* Format

* Add <leak-ignore/>
2023-01-16 22:08:31 +01:00
chrchr-github 6e2cc450b8
Fix FN functionConst with access of smart pointer ()
* Fix  FNfunctionConst with access of smart pointer

* Simplify
2023-01-16 22:07:04 +01:00
Oliver Stöneberg 124668979c
replaced some `std::ostringstream` usage with `std::to_string()` () 2023-01-16 22:05:33 +01:00
chrchr-github a102ff3c2f
Fix FN unusedFunction / Fix FP unusedFunction () 2023-01-14 20:16:55 +01:00
chrchr-github a79dff15ab
Fix FP uninitvar with try/catch () 2023-01-14 20:14:38 +01:00
chrchr-github 7bbdc95f25
Fix FP constVariable / FP constParameter / FP danglingTempReference ()
* Fix  FP constVariable with range-based for /  FP constParameter with unused non-const range loop variable

* Fix ValueType /  FP danglingTempReference with auto

* Fix ValueType in range-based for

* Update symboldatabase.cpp
2023-01-11 22:04:06 +01:00
Armin Müller a77f0d9403
Typos found by running "codespell" () 2023-01-10 15:15:27 +01:00
chrchr-github 491721a6ff
Fix spurious variable declaration with unknown macro () 2023-01-09 16:11:26 +01:00
Oliver Stöneberg 8cc3e0b2ff
errortypes.h: use `enum class` instead of wrapping types into classes () 2023-01-08 19:31:54 +01:00
chrchr-github 911d610f2d
Fix FN unusedFunction when enum value with same name exists () 2023-01-08 14:30:42 +01:00
Paul Fultz II cefc105c5f
Fix 11468: false positive danglingTempReference warning () 2023-01-07 23:44:22 +01:00
Oliver Stöneberg aab3d30e4c
valgrind.yml: use `debuginfod-find` instead of manually installing packages () 2023-01-07 23:31:22 +01:00
chrchr-github b29f111082
Improve qt.cfg: unreadVariable for macro parameter () 2023-01-07 23:29:47 +01:00
chrchr-github 4ebdf5fae1
Fix FP identicalConditionAfterEarlyExit when passing *this () 2023-01-07 22:10:07 +01:00
Paul Fultz II 6020feb271
Fix 11461: arrayIndexOutOfBounds false positive () 2023-01-07 22:09:17 +01:00
Oliver Stöneberg a09667a6d9
removed unused error messages () 2023-01-07 10:35:39 +01:00
Paul Fultz II a338be4682
Add source traces when using LifetimeStore () 2023-01-03 22:02:48 +01:00
chrchr-github 4c1c506d21
FP returnTempReference with cast and scope operator () 2023-01-02 22:13:56 +01:00
Oliver Stöneberg 48a0d934a3
compilerDefinitions.cmake: specify proper define for "safe libc++" () 2023-01-02 22:10:50 +01:00
Daniel Marjamäki 41b5f454a8 release-windows: compile misra executable 2023-01-02 19:07:22 +01:00
Daniel Marjamäki 5830047fcb misra: fix misra-10.7 false positive for constant expression 2023-01-02 18:52:33 +01:00
chrchr-github 2007cd0a1d
Fix FP returnDanglingLifetime/returnTempreference with typeid () 2023-01-02 17:46:03 +01:00
chrchr-github f793b7dd35
Fix unintvar false positive ()
* Fix  unintvar false positive

* Format
2023-01-02 17:44:52 +01:00
chrchr-github 11f1a9d1f5
Fix crash on ternary with omitted operand ()
* Fix MSVC compiler warning

* Fix crash on incomplete ternary operator

* Revert "Fix crash on incomplete ternary operator"

This reverts commit 28df0f0ab6ff794e733617447f847a97c1a7a609.

* Handle ternary with omitted operand
2023-01-02 17:44:17 +01:00
Daniel Marjamäki bf11cdf299 TestCmdLineParser: Add tests for ignored paths 2023-01-01 15:32:37 +01:00
Oliver Stöneberg cac86ada2b
donate-cpu-server.py: fixed factor calculation when base time is 0.0 () 2023-01-01 15:28:03 +01:00
Oliver Stöneberg 525181c5aa
triage_version.py: improved error handling of version input and sorting () 2023-01-01 15:27:21 +01:00
Oliver Stöneberg d7416bc1e9
donate-cpu-server.py: various improvements - mainly to the time reports () 2022-12-31 18:10:40 +01:00
Daniel Marjamäki e70afda95a GUI: Re-enable misra interface in open source GUI 2022-12-31 16:08:23 +01:00
Oliver Stöneberg 0c95971c54
added .gitattributes and normalized files () 2022-12-30 21:33:45 +01:00
Oliver Stöneberg d3a2cdc26c
converted (undocumented) define `MAXTIME` into (undocumented) command-line options `--checks-max-time=`, `--template-max-time=` and `--typedef-max-time=` () 2022-12-30 21:21:05 +01:00
Oliver Stöneberg 71cdacdc97
fixed missing location for `valueFlowMaxIterations` debug warning / also added it to daca server overview () 2022-12-30 21:20:00 +01:00
Oliver Stöneberg 1cfe49e340
use `const_iterator` where possible () 2022-12-30 15:13:47 +01:00
orbitcowboy 3136a50b97 Formatting [ci skip] 2022-12-22 11:59:10 +01:00
orbitcowboy 347c10db3b posix.cfg: Improved configuration of mq_timedsend(). 2022-12-22 11:58:32 +01:00
orbitcowboy f5b9445767 posix.cfg: Added support for more posix_trace..() functions 2022-12-22 11:48:51 +01:00
orbitcowboy 3c57752c9b posix.cfg: Added support for more posix_trace..() functions 2022-12-22 11:39:00 +01:00
orbitcowboy 5991c33b0e posix.cfg: Added support for pthread_attr_getstack() and pthread_attr_setstack(). 2022-12-22 10:07:50 +01:00
orbitcowboy ccbc6a3b72 gnu.cfg: Added support for gethostbyname_r() and gethostbyname2_r() 2022-12-22 09:47:19 +01:00
orbitcowboy 3576f0a0c7 gnu.cfg: Added support for gethostbyaddr_r() 2022-12-22 09:36:53 +01:00
orbitcowboy ea56359a3f posix.cfg: Added nullPointer test for setkey() 2022-12-22 09:36:18 +01:00
orbitcowboy 24a71144f6 posix.cfg: Added support for encrypt() 2022-12-22 09:19:46 +01:00
orbitcowboy 7df6ba419e gnu.cfg: Added nullPointer tests for getop_long_only() 2022-12-22 09:13:18 +01:00