From a505fefa43ad102a4a24e192994732378d78beb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 22 Aug 2024 21:52:52 +0200 Subject: [PATCH 1/2] CI: Update Cppcheck Premium and remove suppression for false positives --- .github/workflows/cppcheck-premium.yml | 2 +- cppcheckpremium-suppressions | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cppcheck-premium.yml b/.github/workflows/cppcheck-premium.yml index 5f5a97e0863..9976f19ef57 100644 --- a/.github/workflows/cppcheck-premium.yml +++ b/.github/workflows/cppcheck-premium.yml @@ -29,7 +29,7 @@ jobs: run: | premium_version=${{ inputs.premium_version }} if [ -z $premium_version ]; then - premium_version=devdrop-20240815 + premium_version=devdrop-20240822 wget https://files.cppchecksolutions.com/devdrop/cppcheckpremium-$premium_version-amd64.tar.gz -O cppcheckpremium.tar.gz else wget https://files.cppchecksolutions.com/$premium_version/ubuntu-22.04/cppcheckpremium-$premium_version-amd64.tar.gz -O cppcheckpremium.tar.gz diff --git a/cppcheckpremium-suppressions b/cppcheckpremium-suppressions index 07fce749a80..a3980073bb6 100644 --- a/cppcheckpremium-suppressions +++ b/cppcheckpremium-suppressions @@ -56,8 +56,6 @@ premium-cert-exp55-cpp premium-misra-cpp-2023-6.5.1:lib/symboldatabase.cpp premium-misra-cpp-2023-6.7.2 premium-misra-cpp-2023-8.18.2 -# False positives: #13004 -premium-misra-cpp-2023-8.2.7:lib/valueflow.cpp premium-misra-cpp-2023-8.2.7:lib/checkclass.cpp From 7c1fa014aa301a2190c6f46c6788887dbabc7f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 22 Aug 2024 22:49:05 +0200 Subject: [PATCH 2/2] license --- .github/workflows/cppcheck-premium.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cppcheck-premium.yml b/.github/workflows/cppcheck-premium.yml index 9976f19ef57..3b8d776a422 100644 --- a/.github/workflows/cppcheck-premium.yml +++ b/.github/workflows/cppcheck-premium.yml @@ -41,8 +41,8 @@ jobs: run: | echo cppcheck > cppcheck.lic echo 241231 >> cppcheck.lic - echo 80000 >> cppcheck.lic - echo 53b72a908d7aeeee >> cppcheck.lic + echo 100000 >> cppcheck.lic + echo ca9b55281c52e097 >> cppcheck.lic echo path:lib >> cppcheck.lic - name: Check