Daniel Marjamäki
|
ce58748690
|
library: add attribute strlen-arg for <not-overlapping-data>
|
2021-07-09 13:25:01 +02:00 |
orbitcowboy
|
17d5dc4d8a
|
Merge branch 'main' of https://github.com/danmar/cppcheck
|
2021-07-09 09:48:46 +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 |
Daniel Marjamäki
|
c77235f12c
|
misra; implement rule 5.8
|
2021-07-09 09:47:23 +02:00 |
orbitcowboy
|
1c60dc090a
|
Formatted the code [ci skip
|
2021-07-09 09:47:15 +02:00 |
Daniel Marjamäki
|
db58952a33
|
Addons CTU; pass all filenames for whole program analysis in file instead of through command line
|
2021-07-09 08:33:07 +02:00 |
Paul Fultz II
|
2300a773e1
|
Fix 10336: AST cyclic dependency on valid C++ code (#3331)
|
2021-07-09 07:22:24 +02:00 |
orbitcowboy
|
7e2ba803f4
|
Running astyle [ci skip]
|
2021-07-08 22:18:58 +02:00 |
Daniel Marjamäki
|
e05a9d7e65
|
misra: implement rule 2.5
|
2021-07-08 22:03:27 +02:00 |
Paul Fultz II
|
8dc1fa7a59
|
Add colors to CLI reporting (#3304)
|
2021-07-08 21:21:35 +02:00 |
Paul Fultz II
|
7e70a91613
|
Improve AST cyclic detection performance (#3330)
|
2021-07-08 21:13:51 +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
|
4c23c2caa4
|
wxwidgets.cfg: Added support for more interfaces
|
2021-07-08 17:30:12 +02:00 |
orbitcowboy
|
3e7b6f262d
|
std.cfg: Added not-overlapping-data configuration to wmemcpy()
|
2021-07-08 17:12:53 +02:00 |
Daniel Marjamäki
|
140aa6afb4
|
Preprocessor; do not write macro usage in dump output if it is empty
|
2021-07-08 16:53:25 +02:00 |
Daniel Marjamäki
|
447bea5c18
|
Preprocessor; write macrousage in dump output
|
2021-07-08 14:36:28 +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
|
4ecf3ccd17
|
misra: implement rule 22.5
|
2021-07-07 23:00:12 +02:00 |
Daniel Marjamäki
|
cf049cb759
|
misra: implement rule 5.7
|
2021-07-07 21:47:17 +02:00 |
Daniel Marjamäki
|
859e541661
|
misra: implement rule 2.4
|
2021-07-07 20:30:52 +02:00 |
Daniel Marjamäki
|
13d55c7060
|
misra; implement rule 2.3
|
2021-07-07 15:16:53 +02:00 |
Daniel Marjamäki
|
00a9671f46
|
misra: implement 8.1
|
2021-07-07 13:34:55 +02:00 |
Daniel Marjamäki
|
2e5828aef0
|
qt.cfg; Define QT_BEGIN_NAMESPACE and QT_END_NAMESPACE
|
2021-07-07 13:10:28 +02:00 |
Daniel Marjamäki
|
9172f2ab3b
|
addons; add CTU infrastructure
|
2021-07-07 10:58:13 +02:00 |
Paul Fultz II
|
5825a35566
|
Check for cycles in AST when adding nodes to prevent hangs from cyclic ASTs (#3329)
|
2021-07-07 08:21:35 +02:00 |
Paul Fultz II
|
3b9c399f72
|
Fix 10338: Hang/Crash in valueflow (#3328)
|
2021-07-07 08:20:32 +02:00 |
Georgiy Komarov
|
81eabb5f61
|
addons: Fix arguments parser when running pytest (#3327)
|
2021-07-06 22:13:04 +02:00 |
Georgiy Komarov
|
6f389014f1
|
cppcheckdata: Fix crash on an empty union (#3326)
|
2021-07-06 17:01:58 +02:00 |
orbitcowboy
|
7d7241b076
|
#9772: FP uninitvar: in cppcheck 2.1; Added a regression to test
|
2021-07-06 14:24:07 +02:00 |
Daniel Marjamäki
|
f3365a874f
|
Clarify Settings::buildDir
|
2021-07-06 12:18:03 +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 |
orbitcowboy
|
3985e548c5
|
wxwidgets.cfg: Added support for more constants
|
2021-07-05 16:14:26 +02:00 |
orbitcowboy
|
2bb1fbe62c
|
wxwidgets.cfg: Added support for more interfaces
|
2021-07-05 14:42:25 +02:00 |
orbitcowboy
|
09b0108a2e
|
wxwidgets.cfg: Added support for more interfaces
|
2021-07-05 14:26:12 +02:00 |
yyny
|
3e6681e2b3
|
Fix assertion failure in errorlogger.cpp (#3318)
|
2021-07-05 08:08:15 +02:00 |
fu7mu4
|
5ffbfa4cf6
|
Add Japanese translation for v2.5 (#3325)
Add new Japanese translation for v2.5 and fix some translation only
|
2021-07-05 08:06:27 +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
|
fe8a0a87fb
|
democlient; Fixed compile error
|
2021-07-04 17:04:17 +02:00 |
Daniel Marjamäki
|
06f2f75548
|
samples; Fixed missing return in non-void functions
|
2021-07-04 16:59:09 +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
|
edc468bb2a
|
createrelease: set debug version
|
2021-07-04 11:20:19 +02:00 |
Daniel Marjamäki
|
803eea912c
|
Set debug version
|
2021-07-04 11:19:08 +02:00 |
Daniel Marjamäki
|
beac3d37b5
|
daca@home: OLD_VERSION=2.5
|
2021-07-04 11:12:48 +02:00 |
Daniel Marjamäki
|
0806c8eaed
|
createrelease: restore Makefile debug mode immediately after the tag. build local release binary.
|
2021-07-04 10:50:18 +02:00 |
Daniel Marjamäki
|
672d5dcf30
|
Set debug mode
|
2021-07-04 10:25:20 +02:00 |
Daniel Marjamäki
|
f5b44b0b0b
|
Set release mode
|
2021-07-04 10:24:24 +02:00 |
Daniel Marjamäki
|
6d777368c9
|
createrelease; should check windows installer before Makefile is changed to release mode
|
2021-07-04 08:52:38 +02:00 |