Daniel Marjamäki
|
9c5275f514
|
misra: fix 9.x checking when string literals are used to initialize char arrays (#5234)
|
2023-07-11 17:57:55 +02:00 |
Daniel Marjamäki
|
80c42fcaf3
|
misra: Fix crash in misra_9.py when struct type is unknown and there is string initialization (#5233)
|
2023-07-11 13:40:19 +02:00 |
Daniel Marjamäki
|
a04990d4e3
|
misra 9.2: do not crash when checking. string literal is allowed to initialize array member. (#5232)
|
2023-07-10 22:50:24 +02:00 |
chrchr-github
|
8d3fd88d3f
|
Fix #11802 FP stlcstr for string in shared_ptr copied elsewhere (#5230)
|
2023-07-10 15:27:33 +02:00 |
Daniel Marjamäki
|
2cd1f0f387
|
misra: Fix crash in misra_9x when there is unknown constant used as array size (#5229)
|
2023-07-10 12:25:28 +02:00 |
Daniel Marjamäki
|
276aace331
|
Misra: Fix crash (#5228)
|
2023-07-09 19:17:59 +02:00 |
chrchr-github
|
9ad18f51af
|
Fix #11765 FN: minsize not checked for string literal, buffer access out of bounds not found (#5154)
|
2023-07-08 14:46:32 +02:00 |
chrchr-github
|
49b79b7674
|
Extend duplInheritedMember check to functions (#5226)
|
2023-07-08 12:05:19 +02:00 |
chrchr-github
|
218650dc85
|
Fix #11820 FP duplicateExpression with double negation (#5227)
|
2023-07-07 23:30:59 +02:00 |
chrchr-github
|
d6d3c7b3fc
|
Fix #11139, #11817 FP unreadVariable (#5221)
|
2023-07-07 20:18:15 +02:00 |
chrchr-github
|
e73183a182
|
Fix FP uselessOverride with shadowed member functions (#5225)
We should probably use `getDuplInheritedMemberFunctionsRecursive()` as
part of the `duplInheritedMember` check.
|
2023-07-07 20:17:58 +02:00 |
chrchr-github
|
cc38ef4168
|
Fix #11818 FP constParameterReference / #11819 FP stlcstrConstructor / #11814 FP unknownMacro (#5224)
|
2023-07-07 15:54:07 +02:00 |
chrchr-github
|
c738627d15
|
Fix uselessOverride FPs (#5223)
|
2023-07-07 13:18:00 +02:00 |
chrchr-github
|
fa03f49d2b
|
Fix #11810 nullptr deref in compilePrecedence2() (II) (#5222)
|
2023-07-07 10:42:11 +02:00 |
Daniel Marjamäki
|
2ff9e60650
|
Fix #11815 (dump: add token attribute isTemplateArg) (#5220)
|
2023-07-05 23:12:22 +02:00 |
chrchr-github
|
dde45455bf
|
uselessOverride: Detect code duplication in overriding function (#5219)
|
2023-07-05 22:58:01 +02:00 |
chrchr-github
|
ee5cf0f141
|
Fix #11810 nullptr deref in compilePrecedence2() (#5218)
|
2023-07-05 22:34:25 +02:00 |
Daniel Marjamäki
|
682bdd3e53
|
Fix #11813 (daca: script crashes (UnicodeDecodeError) when checking package lgeneral) (#5217)
|
2023-07-04 19:17:26 +02:00 |
Daniel Marjamäki
|
7ff58dacff
|
daca: filter checker results when there are syntaxError/unknownMacro/etc (#5214)
|
2023-07-04 13:23:19 +02:00 |
Daniel Marjamäki
|
260a214ef1
|
Fix #11812 (Crash: misra addon, infinite recursion) (#5207)
|
2023-07-04 04:11:03 +02:00 |
Daniel Marjamäki
|
3f832df6cb
|
lib/version.h: add fix version option (#5216)
|
2023-07-02 18:13:28 +02:00 |
Daniel Marjamäki
|
72245b1b15
|
xml: use version from configuration if provided (#5215)
|
2023-07-02 18:13:11 +02:00 |
chrchr-github
|
db49687ae5
|
Fix getOverriddenFunction(), add test (#5213)
|
2023-07-01 17:23:26 +02:00 |
chrchr-github
|
b99931c59c
|
Fix #11808 FP uselessOverride - grandchildren calling grandfather (#5212)
|
2023-07-01 14:11:28 +02:00 |
Daniel Marjamäki
|
96955ccfe9
|
Tokenizer: detect unknown macro 'if (x) MACRO }' (#5209)
|
2023-07-01 13:17:41 +02:00 |
Paul Fultz II
|
59a8944e30
|
Fix 11656: FP: containerOutOfBounds std::array (#5210)
|
2023-07-01 09:43:57 +02:00 |
chrchr-github
|
6d9fa6f10a
|
Fix #11803 FP uselessOverride - overloaded virtual member function (#5211)
|
2023-06-30 15:21:08 +02:00 |
chrchr-github
|
e9feeef81d
|
Fix FPs: uselessOverride (#5208)
|
2023-06-29 20:46:12 +02:00 |
chrchr-github
|
a40e5817bf
|
Fix #11757 Detect useless overriding functions (#5155)
|
2023-06-29 07:43:35 +02:00 |
chrchr-github
|
818ebb8d7e
|
Fix autovarInvalidDeallocation regression (#5203)
|
2023-06-29 07:42:53 +02:00 |
Daniel Marjamäki
|
1b4ec0def4
|
Fix #11787 (GUI: configure check level) (#5206)
|
2023-06-28 19:55:57 +02:00 |
Daniel Marjamäki
|
55af68aaf7
|
Update type for Settings::checksMaxTime. (#5205)
It's a time offset not a size. It should not have value SIZE_MAX that
makes it ineffective (overflow in calculation of stop time).
|
2023-06-28 19:52:33 +02:00 |
Daniel Marjamäki
|
767c0fb337
|
cmake/versions.cmake: version string must have 3 parts otherwise cmake might crash (#5204)
|
2023-06-28 16:25:11 +02:00 |
chrchr-github
|
4f71bbe986
|
Detect lambda with template argument (#5202)
|
2023-06-27 16:19:12 +02:00 |
chrchr-github
|
0a72cd3b72
|
Fix #11795 debug: simplifyUsing: unmatched body end (#5198)
|
2023-06-27 15:45:25 +02:00 |
chrchr-github
|
9259aea317
|
Fix #11762 Read failure in ProcessExecutor::handleRead() (#5196)
|
2023-06-27 15:41:05 +02:00 |
chrchr-github
|
e063656173
|
checkLibraryCheckType: handle global scope operator / Fix FN unreadVariable (#5199)
|
2023-06-27 14:28:14 +02:00 |
Daniel Marjamäki
|
977e1320d7
|
Add zephyr.cfg (#5201)
|
2023-06-27 13:34:58 +02:00 |
Paul Fultz II
|
63b7e6a283
|
Fix 11088: False positive: Array index out of bounds (function pointer parameter is array) (#5200)
|
2023-06-27 10:44:11 +02:00 |
chrchr-github
|
a0c4e20e2d
|
Add tests for #10587, #11539 (#5197)
|
2023-06-26 13:37:33 +02:00 |
chrchr-github
|
f4030c4b1a
|
Fix #11791 Build regression with GCC 13 (#5193)
Patch supplied by Joachim Reichel.
|
2023-06-26 11:15:41 +02:00 |
Anton Lindqvist
|
4ebb8eaf0c
|
Ignore zero valued enum entries from badBitmaskCheck (#5195)
Usage of zero valued enum entries can be used for documenting purposes
and should be ignored just like zeroes expanded from macros.
|
2023-06-26 10:43:20 +02:00 |
chrchr-github
|
7507d400de
|
Fix regression: wrong array size (#5194)
|
2023-06-26 06:51:01 +02:00 |
chrchr-github
|
9dc38f80c0
|
Fix #11790 FP functionConst with template function (#5187)
|
2023-06-25 20:38:54 +02:00 |
Paul Fultz II
|
a2ee32695f
|
Fix 11530: FP arrayIndexOutOfBounds with array of functions (#5191)
|
2023-06-25 20:38:44 +02:00 |
Paul Fultz II
|
4f466a5961
|
Fix 11505: FP zerodivcond with modulo (#5192)
|
2023-06-25 20:38:32 +02:00 |
chrchr-github
|
9b892f3239
|
Partial fix for #11552 Handle lambda return types (#5188)
|
2023-06-25 12:01:59 +02:00 |
Daniel Marjamäki
|
91dedf05b5
|
Fix #11793 (False positive: Misra addon crash for struct initialization when struct has a function pointer array) (#5190)
|
2023-06-25 11:37:49 +02:00 |
Daniel Marjamäki
|
87c2b8df04
|
Tokenizer: dumpfile will say if type token is _Atomic (#5189)
|
2023-06-25 11:22:30 +02:00 |
Paul Fultz II
|
60321edd0d
|
Fix 11784: FP arrayIndexOutOfBounds when increment is counted twice (#5186)
|
2023-06-24 20:08:55 +02:00 |