orbitcowboy
|
ccd525962b
|
#8220: Added a regression test.
|
2021-08-01 12:32:01 +02:00 |
Robert Reif
|
94dc6c2c3f
|
fix #10332 (cppcheck crashes) (#3371)
|
2021-08-01 10:31:36 +02:00 |
Paul Fultz II
|
7d9fdf582b
|
Fix 10121: False positive: Condition 'ab->a!=123' is always false when modifying an alias (#3293)
|
2021-08-01 10:10:11 +02:00 |
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 |
chrchr-github
|
9d51b4450b
|
Add test cases for tickets #9976 and #10371 (#3364)
|
2021-07-27 22:26: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
|
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 |
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
|
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
|
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 |
orbitcowboy
|
8096fa4db1
|
std.cfg: Added overlappingWriteFunction-check to wcsncat().
|
2021-07-16 14:30:49 +02:00 |
orbitcowboy
|
9b46f59ff0
|
std.cfg: Cleanup wrong test case.
|
2021-07-16 14:25:04 +02:00 |
orbitcowboy
|
e90a3053d4
|
std.cfg: Added a overlappingWriteFunction-check to strncat
|
2021-07-16 14:01:40 +02:00 |
Daniel Marjamäki
|
cbb07b6247
|
misra; implement rule 14.3
|
2021-07-15 09:43:38 +02:00 |
orbitcowboy
|
435cffa858
|
std.cfg: Improved configuration of std::next(),std::prev() and added TODO tests
|
2021-07-14 10:12:49 +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 |
orbitcowboy
|
01b68b99c6
|
posix.cfg: Added overlapping data check for stpcpy().
|
2021-07-11 16:42:19 +02:00 |
orbitcowboy
|
d782cd629a
|
posix.cfg: Added overlapping data check for bcopy().
|
2021-07-11 16:38:25 +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
|
42388f8da8
|
Remove TestSamples
|
2021-07-10 21:04:38 +02:00 |
Paul Fultz II
|
afac0e8ad3
|
Fix colors in output of TestSamples (#3332)
|
2021-07-10 20:14:38 +02:00 |
orbitcowboy
|
10fb1851c5
|
Added more overlapping data configurations
|
2021-07-10 18:41:36 +02:00 |
orbitcowboy
|
7ad64891ea
|
Added tests for overlapping data.
|
2021-07-10 18:28:26 +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 |
orbitcowboy
|
b68c5dee07
|
windows.cfg: Added support for _mbscpy().
|
2021-07-10 09:27:22 +02:00 |
orbitcowboy
|
c38a43c353
|
std.cfg: Added overlappingWriteFunction check to wcscpy().
|
2021-07-10 09:20:51 +02:00 |