Paul Fultz II
|
6767b57d4c
|
Fix FP for symbolic values when the expression is not const (#3370)
|
2021-07-31 14:19:37 +02:00 |
Paul Fultz II
|
3a7ba3cd29
|
Add symbolic values to ValueFlow (#3367)
|
2021-07-30 21:29:35 +02:00 |
Paul Fultz II
|
6a81b4c17c
|
Fix 10264: FP invalidContainer when address of container is passed inside struct (#3368)
|
2021-07-30 15:52:00 +02:00 |
Paul Fultz II
|
737b6199ba
|
Refactor: Allow parse to return multiple values for a condition (#3361)
|
2021-07-26 22:23:19 +02:00 |
Paul Fultz II
|
c34691ff56
|
Fix 10354: FP knownConditionTrueFalse after bitwise and/xor (#3360)
|
2021-07-26 22:22:50 +02:00 |
Paul Fultz II
|
0d3afbb954
|
Evaluate casts in programmemory (#3359)
|
2021-07-26 22:22:23 +02:00 |
Paul Fultz II
|
14802b932e
|
Fix 10362: ValueFlow: global variable might be modified by function call (#3358)
|
2021-07-26 22:21:56 +02:00 |
orbitcowboy
|
c14bb9cd2e
|
Running astyle [ci skip]
|
2021-07-26 16:32:00 +02:00 |
Paul Fultz II
|
84ea0a2295
|
Refactor: Remove extra analysis of container sizes in conditions (#3357)
|
2021-07-25 18:14:51 +02:00 |
Paul Fultz II
|
5be3f700bb
|
Fix 10373: ValueFlow: container in struct assumed empty (#3355)
|
2021-07-25 18:13:55 +02:00 |
Paul Fultz II
|
8e416a7255
|
Fix issue 10379: FP knownConditionTrueFalse with mod operator (#3354)
|
2021-07-25 18:13:14 +02:00 |
Paul Fultz II
|
f9516cf1c6
|
Fix issue 10378: FP derefInvalidIteratorRedundantCheck (#3353)
|
2021-07-24 22:44:18 +02:00 |
Georgiy Komarov
|
48031ffb3b
|
lib: Fix clang -Wrange-loop-construct warning (#3347)
|
2021-07-22 18:53:44 +02:00 |
Daniel Marjamäki
|
74ab8f1a48
|
misra; implemented rule 20.8
|
2021-07-22 08:46:28 +02:00 |
Paul Fultz II
|
00eb71fd49
|
Remove constexpr -> const simplification (#3346)
|
2021-07-22 07:22:26 +02:00 |
Daniel Marjamäki
|
b1547a387e
|
astyle formatting
[ci skip]
|
2021-07-21 20:13:38 +02:00 |
Paul Fultz II
|
41c94b656a
|
Fix FP const pointer with class variable and add more tests (#3345)
|
2021-07-21 07:36:13 +02:00 |
Paul Fultz II
|
8efe1d4ab4
|
Find reference to dangling unique ptr (#3344)
|
2021-07-20 21:30:27 +02:00 |
Daniel Marjamäki
|
524e4b8c96
|
CI; Fix self check warning, pointer can be const
|
2021-07-20 12:21:01 +02:00 |
Daniel Marjamäki
|
dd34d1c123
|
CI; Fix Cppcheck self-check, pointer can be const
|
2021-07-20 11:21:47 +02:00 |
Daniel Marjamäki
|
fb5ab5e439
|
constPointer; Improved checking dereferenced pointer is used in calculation/comparison
|
2021-07-20 10:38:38 +02:00 |
Daniel Marjamäki
|
4d23c02320
|
constPointer; Improved checking when pointer is not dereferenced
|
2021-07-20 10:28:35 +02:00 |
Daniel Marjamäki
|
d1fe34e167
|
misra; implement rule 8.10
|
2021-07-18 21:18:07 +02:00 |
Daniel Marjamäki
|
f6efd8c6be
|
CI; Fix self check false positive
|
2021-07-18 20:00:20 +02:00 |
Daniel Marjamäki
|
ae79b4759d
|
CI; Fix self check false positives
|
2021-07-18 19:31:19 +02:00 |
Daniel Marjamäki
|
9362c1fc6c
|
missing return; write inconclusive error if function ends with unknown function-like macro
|
2021-07-18 16:00:42 +02:00 |
Daniel Marjamäki
|
02682ab17d
|
missing return; Fixed FP when function ends with assert(0)
|
2021-07-18 14:54:25 +02:00 |
Daniel Marjamäki
|
eb9a251a4c
|
const variables/parameters; Improved check to handle pointers also (misra 8.13)
|
2021-07-18 10:59:52 +02:00 |
orbitcowboy
|
1be5bb8bbc
|
Running astyle [ci skip]
|
2021-07-18 10:01:22 +02:00 |
Paul Fultz II
|
0b079937e0
|
Fix 10364: Performance regression (#3340)
|
2021-07-18 07:48:21 +02:00 |
Paul Fultz II
|
59a1c1a9d8
|
Refactor: Remove variable analyzer (#3339)
|
2021-07-18 07:46:31 +02:00 |
orbitcowboy
|
3f1e937ea1
|
Running astyle [ci skip]
|
2021-07-17 08:19:04 +02:00 |
chrchr-github
|
8cd8b9c64e
|
Fix MSVC build and some warnings (#3334)
|
2021-07-16 21:55:12 +02:00 |
Daniel Marjamäki
|
797de4ef92
|
Fixed #10363 (FP: compareValueOutOfTypeRangeError)
|
2021-07-16 19:08:08 +02:00 |
Pavel Šimovec
|
c71e2da5a8
|
Remove a false positive - main function has no return value (#3335)
|
2021-07-16 18:50:16 +02:00 |
Paul Fultz II
|
942202aede
|
Evaluate container sizes in forward analysis (#3338)
|
2021-07-16 18:49:07 +02:00 |
Paul Fultz II
|
f5fac96670
|
Add include directives to 'define' tokenlist (#3337)
|
2021-07-16 18:47:35 +02:00 |
Daniel Marjamäki
|
cbb07b6247
|
misra; implement rule 14.3
|
2021-07-15 09:43:38 +02:00 |
Daniel Marjamäki
|
24c17916af
|
missingReturn; ensure Function::returnsVoid returns true when there is unknown macro 'void STDCALL foo() {}'
|
2021-07-12 20:29:20 +02:00 |
Daniel Marjamäki
|
e4ecfd7be8
|
missingReturn; Fixed false positive when if condition is always true
|
2021-07-12 17:53:32 +02:00 |
Daniel Marjamäki
|
a336c07663
|
missing return; False positive when goto jumps back
|
2021-07-12 15:31:21 +02:00 |
Daniel Marjamäki
|
9fb33e6a3c
|
Try to solve self check warning to make CI happy
|
2021-07-11 11:37:41 +02:00 |
Daniel Marjamäki
|
d9dacc97e4
|
virtual call in constructor; warn when function is explicitly virtual
|
2021-07-11 11:03:31 +02:00 |
Daniel Marjamäki
|
9841e0ed96
|
new check; file can not be opened for read and write access at the same time on different streams (misra rule 22.3)
|
2021-07-10 13:59:47 +02:00 |
Daniel Marjamäki
|
a8fb0309fd
|
missingReturn; Improved handling of noreturn function
|
2021-07-10 08:59:01 +02:00 |
Daniel Marjamäki
|
53955b48d2
|
missingReturn; Fixed false negative for goto-label
|
2021-07-10 08:49:48 +02:00 |
Daniel Marjamäki
|
c6f7a78ebb
|
missingReturn; Fixed false positives
|
2021-07-10 08:37:10 +02:00 |
Paul Fultz II
|
9fc5b9472d
|
Fix 10353: FP knownConditionTrueFalse with conditional assignment (#3333)
|
2021-07-10 07:35:16 +02:00 |
orbitcowboy
|
0d96772304
|
Running astyle [ci skip]
|
2021-07-09 16:32:19 +02:00 |
Daniel Marjamäki
|
86f1acc223
|
overlapping data; use the size value given by size-arg
|
2021-07-09 13:43:29 +02:00 |