chrchr-github
31118fdce5
Fix noreturn FP with while() ( #4429 )
...
* Fix checkLibraryFunction FPs
* Fix FP with fclose()
* Format
* Fix FP with reinterpret_cast
* Fix noreturn FP with while()
2022-09-04 10:26:31 +02:00
Oliver Stöneberg
0f5d2a31b3
coverage.yml: avoid unnecessary test execution and package installation / come cleanups ( #4434 )
...
* coverage.yml: avoid duplicated test execution
* coverage.yml: split test execution and report generation into separate steps
* coverage.yml: split software and Python package installation into separate steps
* coverage.yml: removed unnecessary `libcppunit-dev` installation - library headers are only needed when performing syntax checking
2022-09-04 10:25:59 +02:00
Oliver Stöneberg
4d767d821e
use same output folder for GUI tests qmake builds to leverage existing output files from regular build ( #4433 )
2022-09-04 10:25:16 +02:00
Paul Fultz II
6ce5c24f21
Refactor knownConditionTrueFalse check and isUsedAsBool function ( #4432 )
...
* Refactor knownConditionTrueFalse check and isUsedAsBool function
* Format1
* Format
* Skip assign
2022-09-04 10:24:45 +02:00
Maksim Derbasov
f93b588603
New check: use memcpy/memset instead of loop ( #4257 )
2022-09-03 23:29:06 +02:00
Oliver Stöneberg
070bae871a
use `ccache` for Linux gcc make CI builds ( #4411 )
2022-09-03 21:21:24 +02:00
Daniel Marjamäki
253c764a0c
runformat
2022-09-03 17:30:17 +02:00
Daniel Marjamäki
01b3b4cd0c
cmdlineparser: fixed append of premium options
2022-09-03 12:21:55 +02:00
Daniel Marjamäki
9306c6f329
dump: Add Function::isAttributeNoreturn info
2022-09-03 12:09:20 +02:00
Daniel Marjamäki
77e32f457a
manual: point at open source / premium manual
2022-09-02 18:10:23 +02:00
Daniel Marjamäki
7046687fce
test-my-pr: the check_requirements must be called otherwise __make_cmd is not set
2022-09-02 18:02:11 +02:00
Oliver Stöneberg
b7e5b702a4
CI-unixish.yml: split workflow into parallel jobs ( #4417 )
2022-09-02 15:56:17 +02:00
chrchr-github
cf52ee098a
Fix checkLibraryFunction FPs ( #4423 )
...
* Fix checkLibraryFunction FPs
* Fix FP with fclose()
* Format
* Fix FP with reinterpret_cast
2022-09-02 07:51:10 +02:00
chrchr-github
79daad8ff4
Fix #11020 FP arrayIndexOutOfBounds if string literals are assigned conditionally ( #4428 )
2022-09-01 22:59:46 +02:00
Daniel Marjamäki
4779f0e172
TemplateSimplifier: Fixed instantiation when template parameters are A<..>, B<..>
2022-09-01 20:24:01 +02:00
chrchr-github
5804cc44e7
Fix FP bufferAccessOutOfBounds ( #4427 )
...
* Fix FN with buffer size 1
* Fix FP bufferAccessOutOfBounds
2022-08-31 19:31:37 +02:00
chrchr-github
3925a27182
Fix FP knowConditionTrueFalse ( #4419 )
...
* Fix #10426 FN (style) Condition 's.empty()' is always false
* Fix test
* Fix FP knowConditionTrueFalse
* Check for casts
* Fix FP for user-defined functions
* Adjust condition detection
* Tweaks
2022-08-30 18:08:24 +02:00
Oliver Stöneberg
9d107d911b
fixed #11276 (donate-cpu: Improve library detection) ( #4421 )
2022-08-30 18:08:02 +02:00
Daniel Marjamäki
98b2fd8151
Manual: Added chapter about Cppcheck Premium
2022-08-29 18:04:23 +02:00
Oliver Stöneberg
6c72a27c2c
CI-unixish-docker.yml: perform make and CMake builds in parallel ( #4415 )
...
* CI-unixish-docker.yml: perform make and CMake builds in parallel
* CI-unixish-docker.yml: cleanups
* CI-unixish-docker.yml: only install necessary packages
2022-08-29 12:27:23 +02:00
Oliver Stöneberg
eab60668fd
htmlreport/check.sh: use less heavy input for tests ( #4416 )
2022-08-29 12:26:10 +02:00
chrchr-github
9ab4f9976d
Fix #10426 FN (style) Condition 's.empty()' is always false ( #4414 )
...
* Fix #10426 FN (style) Condition 's.empty()' is always false
* Fix test
2022-08-29 12:25:10 +02:00
chrchr-github
1e14e360cb
Fix #8295 FN (error) Buffer is accessed out of bounds (wcpncpy, wcsncpy) ( #4412 )
...
* Fix #8295 FN (error) Buffer is accessed out of bounds (wcpncpy, wcsncpy)
* Fix cfg, validation
* Fix validation
2022-08-29 12:24:58 +02:00
chrchr-github
df704361f6
Fix FN with buffer size 1 ( #4410 )
2022-08-29 12:24:44 +02:00
Daniel Marjamäki
399c5887cc
createrelease: small tweaks
2022-08-28 17:21:32 +02:00
Daniel Marjamäki
4a4f69110e
daca@home: update OLD_VERSION
2022-08-28 17:21:13 +02:00
Daniel Marjamäki
51a074a08f
Updated AUTHORS
2022-08-28 14:32:05 +02:00
Daniel Marjamäki
a400c94230
Update Copyrights
2022-08-28 14:22:12 +02:00
Daniel Marjamäki
4b98fd00e8
gui: run lupdate
2022-08-28 13:28:24 +02:00
orbitcowboy
00251024c4
Cleanup some cmakelint warnings in CMakeLists.txt
2022-08-28 00:21:10 +02:00
Paul Fultz II
a586b9e8ee
Use safe compile option ( #4413 )
2022-08-27 23:22:31 +02:00
Daniel Marjamäki
5e0fc24bb7
Fixed #11232 (Syntax Error: AST broken, binary operator '!=' doesn't have two operands)
2022-08-27 18:02:19 +02:00
Oliver Stöneberg
f0ac0d8910
codeql-analysis.yml: updated actions to v2 ( #4407 )
2022-08-27 15:50:13 +02:00
Oliver Stöneberg
732282fe06
added initial usage of `ccache` in the CI ( #4408 )
2022-08-27 15:06:16 +02:00
Oliver Stöneberg
d26eb3903e
moved deprecated `ubuntu-18.04` from `CI-unixish.yml` to `CI-unixish-docker.yml` ( #4409 )
2022-08-27 15:05:40 +02:00
Oliver Stöneberg
dd4c9ae902
codeql-analysis.yml: added missing permission ( #4406 )
2022-08-27 09:29:40 +02:00
Paul Fultz II
e715ba1d3c
Update releasenotes.txt ( #4405 )
2022-08-27 07:05:16 +02:00
Oliver Stöneberg
cf1271889a
reduced permissions of GitHub actions ( #4403 )
2022-08-26 23:25:07 +02:00
chrchr-github
0e788fb697
Update releasenotes.txt ( #4404 )
2022-08-26 23:24:25 +02:00
chrchr-github
7156afe003
Fix #5140 FN (error) buffer access out of bounds - known argument ( #4402 )
...
* Fix #5140 FN (error) buffer access out of bounds - known argument const char* argv[]
* Format
2022-08-26 17:27:54 +02:00
chrchr-github
b815153b0c
Add test for #10594 ( #4397 )
2022-08-26 11:36:47 +02:00
chrchr-github
917496a844
Fix #5678 FN destructor with no definition hide mismatching alloc/dealloc ( #4401 )
...
* Fix #5678 FN destructor with no definition hide mismatching allocation / deallocation
* Format
* Fix test
* Format
2022-08-25 22:52:51 +02:00
Daniel Marjamäki
35fba07910
cli: updated help text formatting
2022-08-25 22:35:53 +02:00
Oliver Stöneberg
cee04f4ee5
donate-cpu: fixed `make` build / cleanups ( #4398 )
2022-08-25 22:20:30 +02:00
Oliver Stöneberg
d12f4fdd6b
updated CI to clang-15 ( #4386 )
2022-08-25 15:28:39 +02:00
Daniel Marjamäki
514278e02b
Fixed #11181 (cppcheckdata.py: handle exception when ctu-info file is missing)
2022-08-25 11:10:39 +02:00
Daniel Marjamäki
0d9bf03b5c
misra.py: do not execute premiumaddon to perform misra checks
2022-08-25 08:07:22 +02:00
chrchr-github
456c6b410e
Fix #2304 FN known strcpy parameter ( #4396 )
...
* Fix #2304 FN known strcpy parameter
* Parentheses
* Format
2022-08-24 21:23:45 +02:00
Daniel Marjamäki
94322d6e0a
update --help output. sort options alphabetically. remove some old options.
2022-08-24 08:54:47 +02:00
Daniel Marjamäki
112852f70b
formatting
2022-08-24 08:53:59 +02:00