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 |
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
|
8f1cb2304f
|
missingReturn; Add missing ASSERT_EQUALS in test
|
2021-07-10 08:45:04 +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
|
652e2765bc
|
std.cfg: Added support for wcsncpy regarding data-overlapping
|
2021-07-09 16:32:54 +02:00 |
Daniel Marjamäki
|
86f1acc223
|
overlapping data; use the size value given by size-arg
|
2021-07-09 13:43:29 +02:00 |
Daniel Marjamäki
|
ce58748690
|
library: add attribute strlen-arg for <not-overlapping-data>
|
2021-07-09 13:25:01 +02:00 |
orbitcowboy
|
58811808d5
|
std.cfg: Improved configuration of 'strncpy', which is vulnerable for overlapping write issues.
|
2021-07-09 09:48:24 +02:00 |
Paul Fultz II
|
2300a773e1
|
Fix 10336: AST cyclic dependency on valid C++ code (#3331)
|
2021-07-09 07:22:24 +02:00 |
Paul Fultz II
|
8dc1fa7a59
|
Add colors to CLI reporting (#3304)
|
2021-07-08 21:21:35 +02:00 |
Daniel Marjamäki
|
56924643be
|
Fixed #10347 (ValueFlow: No known value set for sizeof(a[0]))
|
2021-07-08 18:18:44 +02:00 |
orbitcowboy
|
3e7b6f262d
|
std.cfg: Added not-overlapping-data configuration to wmemcpy()
|
2021-07-08 17:12:53 +02:00 |
Daniel Marjamäki
|
7cb66d56f3
|
missingReturn; fixed false positive with trailing return type
|
2021-07-08 13:50:26 +02:00 |
Daniel Marjamäki
|
ef0af26d9f
|
missingReturn; Fixed FP when function is declared in macro
|
2021-07-08 13:14:11 +02:00 |
Daniel Marjamäki
|
00a9671f46
|
misra: implement 8.1
|
2021-07-07 13:34:55 +02:00 |
Paul Fultz II
|
3b9c399f72
|
Fix 10338: Hang/Crash in valueflow (#3328)
|
2021-07-07 08:20:32 +02:00 |
orbitcowboy
|
7d7241b076
|
#9772: FP uninitvar: in cppcheck 2.1; Added a regression to test
|
2021-07-06 14:24:07 +02:00 |
Maksim Derbasov
|
6b8d0be431
|
New check: [perf] Copy elision optimization can't be applied for `return std::move(local)` (#3281)
|
2021-07-06 08:07:46 +02:00 |
Daniel Marjamäki
|
6234b5438e
|
New check: Writing overlapping data, detect undefined behavior
|
2021-07-05 22:07:41 +02:00 |
Daniel Marjamäki
|
6cb8f87798
|
missing return; fixed false positive for 'return {};'
|
2021-07-04 19:59:22 +02:00 |
Daniel Marjamäki
|
4fd33ef2b5
|
test/cli: fixed missing returns in test cases
|
2021-07-04 18:25:19 +02:00 |
Daniel Marjamäki
|
036c71d967
|
Fixed #5462 (non-void function does not return a value)
|
2021-07-04 11:27:57 +02:00 |
Daniel Marjamäki
|
c489626167
|
updated copyright year
|
2021-07-04 08:09:11 +02:00 |
Paul Fultz II
|
fb9d659e25
|
Fix 10326: Regression: ValueFlow; Wrong Uninit value after do while (#3312)
|
2021-07-03 09:12:26 +02:00 |
Armin Müller
|
fc90598077
|
Typos found by running "codespell" (#3324)
|
2021-07-02 17:41:51 +02:00 |
Robert Reif
|
68898e2be0
|
fix #10335 (Type alias remains unknown with using) (#3323)
Co-authored-by: Robert Reif <reif@FX6840>
|
2021-07-02 06:19:26 +02:00 |
Daniel Marjamäki
|
1a5449cbeb
|
Fixed #10327 (ValueFlow; Wrong Uninit value in called function)
|
2021-07-01 22:08:00 +02:00 |
Daniel Marjamäki
|
869eac5670
|
astyle formatting
|
2021-07-01 21:09:32 +02:00 |
chrchr-github
|
7a51fc8232
|
Add regression test for #8942 (#3321)
|
2021-07-01 21:09:06 +02:00 |
chrchr-github
|
9be88a06fe
|
Add regression test for #9176 (#3319)
|
2021-07-01 13:58:00 +02:00 |
Daniel Marjamäki
|
e1cff1d1ef
|
Fixed #10334 (AST: hang with c++ initializer and emplace_back)
|
2021-06-30 21:40:45 +02:00 |
Daniel Marjamäki
|
e50f7a3e09
|
astyle formatting
|
2021-06-30 20:27:35 +02:00 |
chrchr-github
|
5b1420ff64
|
Add regression test for #10215 (#3317)
|
2021-06-29 19:42:47 +02:00 |
Daniel Marjamäki
|
1783fd1bba
|
duplicateBreak; Allow extra return that clarifies for tool(s) that function does not continue
|
2021-06-29 11:17:12 +02:00 |
Daniel Marjamäki
|
05df31c12a
|
Fixed unit tests
|
2021-06-27 09:04:47 +02:00 |
Daniel Marjamäki
|
2a2e071a85
|
Tokenizer::simplifyAttribute; Set function attribute for function pointer
|
2021-06-26 14:23:39 +02:00 |
Paul Fultz II
|
66956ed959
|
Fix 10323: Wrong known value. x!=0 does not mean that x==1 (#3308)
|
2021-06-26 09:16:45 +02:00 |
Paul Fultz II
|
508188df2b
|
Fix 10297: Regression; ValueFlow known value, sign conversion (#3307)
|
2021-06-26 09:16:04 +02:00 |
Daniel Marjamäki
|
9769afe434
|
knownConditionTrueFalse; avoid several warnings when nonzero expression is compared to see if it is positive or negative
|
2021-06-25 16:25:25 +02:00 |
Daniel Marjamäki
|
2f7f43e1f2
|
astyle formatting
|
2021-06-24 23:19:59 +02:00 |
chrchr-github
|
39f9bc7422
|
Fix #10304: std::distance() returns std::ptrdiff_t (#3297)
|
2021-06-24 23:19:29 +02:00 |
Paul Fultz II
|
b13e44fce5
|
Fix 10309 and 10034: internalAstError with init lists (#3303)
|
2021-06-24 08:25:13 +02:00 |
Paul Fultz II
|
6e74fc64b9
|
Fix 10317: Regression: internalAstError on valid C++ code (#3302)
|
2021-06-24 08:22:03 +02:00 |