kf6-kcoreaddons-6.22.0-1.fc44

List of Findings

Error: COMPILER_WARNING (CWE-1164): [#def1]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kbackup_wrapper.cpp:44:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KBackup_TypeF()’ defined but not used
#   44 | static PyTypeObject *Sbk_KBackup_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~
#   42|   extern "C" {
#   43|   static PyTypeObject *_Sbk_KBackup_Type = nullptr;
#   44|-> static PyTypeObject *Sbk_KBackup_TypeF(void)
#   45|   {
#   46|       return _Sbk_KBackup_Type;

Error: COMPILER_WARNING (CWE-1164): [#def2]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kcoreaddons_wrapper.cpp:44:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KCoreAddons_TypeF()’ defined but not used
#   44 | static PyTypeObject *Sbk_KCoreAddons_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~~~~
#   42|   extern "C" {
#   43|   static PyTypeObject *_Sbk_KCoreAddons_Type = nullptr;
#   44|-> static PyTypeObject *Sbk_KCoreAddons_TypeF(void)
#   45|   {
#   46|       return _Sbk_KCoreAddons_Type;

Error: COMPILER_WARNING (CWE-1164): [#def3]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kfileutils_wrapper.cpp:46:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KFileUtils_TypeF()’ defined but not used
#   46 | static PyTypeObject *Sbk_KFileUtils_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~~~
#   44|   extern "C" {
#   45|   static PyTypeObject *_Sbk_KFileUtils_Type = nullptr;
#   46|-> static PyTypeObject *Sbk_KFileUtils_TypeF(void)
#   47|   {
#   48|       return _Sbk_KFileUtils_Type;

Error: COMPILER_WARNING (CWE-1164): [#def4]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kjsonutils_wrapper.cpp:46:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KJsonUtils_TypeF()’ defined but not used
#   46 | static PyTypeObject *Sbk_KJsonUtils_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~~~
#   44|   extern "C" {
#   45|   static PyTypeObject *_Sbk_KJsonUtils_Type = nullptr;
#   46|-> static PyTypeObject *Sbk_KJsonUtils_TypeF(void)
#   47|   {
#   48|       return _Sbk_KJsonUtils_Type;

Error: COMPILER_WARNING (CWE-1164): [#def5]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/klibexec_wrapper.cpp:45:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KLibexec_TypeF()’ defined but not used
#   45 | static PyTypeObject *Sbk_KLibexec_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~
#   43|   extern "C" {
#   44|   static PyTypeObject *_Sbk_KLibexec_Type = nullptr;
#   45|-> static PyTypeObject *Sbk_KLibexec_TypeF(void)
#   46|   {
#   47|       return _Sbk_KLibexec_Type;

Error: COMPILER_WARNING (CWE-1164): [#def6]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kmacroexpander_wrapper.cpp:47:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KMacroExpander_TypeF()’ defined but not used
#   47 | static PyTypeObject *Sbk_KMacroExpander_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~
#   45|   extern "C" {
#   46|   static PyTypeObject *_Sbk_KMacroExpander_Type = nullptr;
#   47|-> static PyTypeObject *Sbk_KMacroExpander_TypeF(void)
#   48|   {
#   49|       return _Sbk_KMacroExpander_Type;

Error: COMPILER_WARNING: [#def7]
/usr/include/python3.14/Python.h:105: included_from: Included from here.
/usr/include/shiboken6/sbkpython.h:27: included_from: Included from here.
/usr/include/shiboken6/shiboken.h:7: included_from: Included from here.
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kprocess_wrapper.cpp:8: included_from: Included from here.
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kprocess_wrapper.cpp: scope_hint: In function ‘PyObject* Sbk_KProcess_getattro(PyObject*, PyObject*)’
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kprocess_wrapper.cpp:1603:80: warning[-Wzero-as-null-pointer-constant]: zero as null pointer constant
# 1603 |         return PyCFunction_NewEx(&non_static_Sbk_KProcessMethod_execute, self, 0);
#      |                                                                                ^
# 1601|       };
# 1602|       if (Shiboken::String::compare(name, "execute") == 0)
# 1603|->         return PyCFunction_NewEx(&non_static_Sbk_KProcessMethod_execute, self, 0);
# 1604|       static PyMethodDef non_static_Sbk_KProcessMethod_startDetached = {
# 1605|           Sbk_KProcessMethod_startDetached.ml_name,

Error: COMPILER_WARNING: [#def8]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kprocess_wrapper.cpp:1611:86: warning[-Wzero-as-null-pointer-constant]: zero as null pointer constant
# 1611 |         return PyCFunction_NewEx(&non_static_Sbk_KProcessMethod_startDetached, self, 0);
#      |                                                                                      ^
# 1609|       };
# 1610|       if (Shiboken::String::compare(name, "startDetached") == 0)
# 1611|->         return PyCFunction_NewEx(&non_static_Sbk_KProcessMethod_startDetached, self, 0);
# 1612|       return PySide::getHiddenDataFromQObject(reinterpret_cast< ::QObject *>(Shiboken::Conversions::cppPointer(Shiboken::Module::get(SbkPySide6_QtCoreTypeStructs[SBK_QObject_IDX]), reinterpret_cast<SbkObject *>(self))), self, name);
# 1613|   }

Error: COMPILER_WARNING (CWE-1164): [#def9]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kprocesslist_wrapper.cpp:48:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KProcessList_TypeF()’ defined but not used
#   48 | static PyTypeObject *Sbk_KProcessList_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~~~~~
#   46|   extern "C" {
#   47|   static PyTypeObject *_Sbk_KProcessList_Type = nullptr;
#   48|-> static PyTypeObject *Sbk_KProcessList_TypeF(void)
#   49|   {
#   50|       return _Sbk_KProcessList_Type;

Error: COMPILER_WARNING (CWE-1164): [#def10]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/krandom_wrapper.cpp:44:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KRandom_TypeF()’ defined but not used
#   44 | static PyTypeObject *Sbk_KRandom_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~
#   42|   extern "C" {
#   43|   static PyTypeObject *_Sbk_KRandom_Type = nullptr;
#   44|-> static PyTypeObject *Sbk_KRandom_TypeF(void)
#   45|   {
#   46|       return _Sbk_KRandom_Type;

Error: COMPILER_WARNING (CWE-1164): [#def11]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kruntimeplatform_wrapper.cpp:44:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KRuntimePlatform_TypeF()’ defined but not used
#   44 | static PyTypeObject *Sbk_KRuntimePlatform_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
#   42|   extern "C" {
#   43|   static PyTypeObject *_Sbk_KRuntimePlatform_Type = nullptr;
#   44|-> static PyTypeObject *Sbk_KRuntimePlatform_TypeF(void)
#   45|   {
#   46|       return _Sbk_KRuntimePlatform_Type;

Error: COMPILER_WARNING (CWE-1164): [#def12]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/ksandbox_wrapper.cpp:48:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KSandbox_TypeF()’ defined but not used
#   48 | static PyTypeObject *Sbk_KSandbox_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~
#   46|   extern "C" {
#   47|   static PyTypeObject *_Sbk_KSandbox_Type = nullptr;
#   48|-> static PyTypeObject *Sbk_KSandbox_TypeF(void)
#   49|   {
#   50|       return _Sbk_KSandbox_Type;

Error: COMPILER_WARNING (CWE-1164): [#def13]
kcoreaddons-6.22.0/redhat-linux-build/python/KCoreAddons/kstringhandler_wrapper.cpp:48:22: warning[-Wunused-function]: ‘PyTypeObject* Sbk_KStringHandler_TypeF()’ defined but not used
#   48 | static PyTypeObject *Sbk_KStringHandler_TypeF(void)
#      |                      ^~~~~~~~~~~~~~~~~~~~~~~~
#   46|   extern "C" {
#   47|   static PyTypeObject *_Sbk_KStringHandler_Type = nullptr;
#   48|-> static PyTypeObject *Sbk_KStringHandler_TypeF(void)
#   49|   {
#   50|       return _Sbk_KStringHandler_Type;

Error: COMPILER_WARNING (CWE-252): [#def14]
kcoreaddons-6.22.0/src/lib/util/ksystemclockskewnotifierengine_linux.cpp: scope_hint: In member function ‘void KLinuxSystemClockSkewNotifierEngine::handleTimerCancelled()’
kcoreaddons-6.22.0/src/lib/util/ksystemclockskewnotifierengine_linux.cpp:53:9: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
#   53 |     read(m_fd, &expirationCount, sizeof(expirationCount));
#      |     ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   51|   {
#   52|       uint64_t expirationCount;
#   53|->     read(m_fd, &expirationCount, sizeof(expirationCount));
#   54|   
#   55|       Q_EMIT skewed();

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-136.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekf6-kcoreaddons-6.22.0-1.fc44
store-results-to/tmp/tmpd8ag679r/kf6-kcoreaddons-6.22.0-1.fc44.tar.xz
time-created2026-01-08 17:47:13
time-finished2026-01-08 17:54:40
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpd8ag679r/kf6-kcoreaddons-6.22.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpd8ag679r/kf6-kcoreaddons-6.22.0-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9