Error: COMPILER_WARNING (CWE-477): [#def1] qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/sql/sqlbrowser/qsqlconnectiondialog.cpp: scope_hint: In constructor ‘QSqlConnectionDialog::QSqlConnectionDialog(QWidget*)’ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/sql/sqlbrowser/qsqlconnectiondialog.cpp:29:43: warning[-Wdeprecated-declarations]: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead # 29 | connect(m_ui->dbCheckBox, &QCheckBox::stateChanged, # | ^~~~~~~~~~~~ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/redhat-linux-build/include/QtWidgets/qcheckbox.h:1: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/redhat-linux-build/include/QtWidgets/QCheckBox:1: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/redhat-linux-build/examples/sql/sqlbrowser/sqlbrowser_autogen/include/ui_qsqlconnectiondialog.h:14: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/sql/sqlbrowser/qsqlconnectiondialog.cpp:5: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/widgets/widgets/qcheckbox.h:41:10: note: declared here # 41 | void stateChanged(int); # | ^~~~~~~~~~~~ # 27| connect(m_ui->cancelButton, &QPushButton::clicked, # 28| this, &QSqlConnectionDialog::reject); # 29|-> connect(m_ui->dbCheckBox, &QCheckBox::stateChanged, # 30| this, &QSqlConnectionDialog::onDbCheckBox); # 31| } Error: COMPILER_WARNING (CWE-477): [#def2] qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/widgets/rhi/cuberhiwidget/main.cpp: scope_hint: In function ‘int main(int, char**)’ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/widgets/rhi/cuberhiwidget/main.cpp:107:42: warning[-Wdeprecated-declarations]: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead # 107 | QObject::connect(cbMsaa, &QCheckBox::stateChanged, cbMsaa, [cbMsaa, rhiWidget] { # | ^~~~~~~~~~~~ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/redhat-linux-build/include/QtWidgets/qcheckbox.h:1: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/redhat-linux-build/include/QtWidgets/QCheckBox:1: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/widgets/rhi/cuberhiwidget/main.cpp:11: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/widgets/widgets/qcheckbox.h:41:10: note: declared here # 41 | void stateChanged(int); # | ^~~~~~~~~~~~ # 105| # 106| QCheckBox *cbMsaa = new QCheckBox(QObject::tr("Use 4x MSAA")); # 107|-> QObject::connect(cbMsaa, &QCheckBox::stateChanged, cbMsaa, [cbMsaa, rhiWidget] { # 108| if (cbMsaa->isChecked()) # 109| rhiWidget->setSampleCount(4); Error: COMPILER_WARNING (CWE-477): [#def3] qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/widgets/rhi/cuberhiwidget/main.cpp:116:46: warning[-Wdeprecated-declarations]: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead # 116 | QObject::connect(cbOvberlay, &QCheckBox::stateChanged, cbOvberlay, [cbOvberlay, overlayLabel] { # | ^~~~~~~~~~~~ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/widgets/widgets/qcheckbox.h:41:10: note: declared here # 41 | void stateChanged(int); # | ^~~~~~~~~~~~ # 114| # 115| QCheckBox *cbOvberlay = new QCheckBox(QObject::tr("Show overlay widget")); # 116|-> QObject::connect(cbOvberlay, &QCheckBox::stateChanged, cbOvberlay, [cbOvberlay, overlayLabel] { # 117| if (cbOvberlay->isChecked()) # 118| overlayLabel->setVisible(true); Error: COMPILER_WARNING (CWE-477): [#def4] qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/widgets/rhi/cuberhiwidget/main.cpp:125:42: warning[-Wdeprecated-declarations]: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead # 125 | QObject::connect(cbFlip, &QCheckBox::stateChanged, cbOvberlay, [cbFlip, rhiWidget] { # | ^~~~~~~~~~~~ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/widgets/widgets/qcheckbox.h:41:10: note: declared here # 41 | void stateChanged(int); # | ^~~~~~~~~~~~ # 123| # 124| QCheckBox *cbFlip = new QCheckBox(QObject::tr("Flip")); # 125|-> QObject::connect(cbFlip, &QCheckBox::stateChanged, cbOvberlay, [cbFlip, rhiWidget] { # 126| rhiWidget->setMirrorVertically(cbFlip->isChecked()); # 127| }); Error: COMPILER_WARNING (CWE-477): [#def5] qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/examples/widgets/rhi/cuberhiwidget/main.cpp:137:47: warning[-Wdeprecated-declarations]: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead # 137 | QObject::connect(cbFixedSize, &QCheckBox::stateChanged, cbFixedSize, [cbFixedSize, fixedSizeSlider, rhiWidget] { # | ^~~~~~~~~~~~ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/widgets/widgets/qcheckbox.h:41:10: note: declared here # 41 | void stateChanged(int); # | ^~~~~~~~~~~~ # 135| btnLayout->addWidget(fixedSizeSlider); # 136| # 137|-> QObject::connect(cbFixedSize, &QCheckBox::stateChanged, cbFixedSize, [cbFixedSize, fixedSizeSlider, rhiWidget] { # 138| if (cbFixedSize->isChecked()) # 139| rhiWidget->setFixedColorBufferSize(QSize(fixedSizeSlider->value(), fixedSizeSlider->value())); Error: COMPILER_WARNING (CWE-126): [#def6] qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/corelib/text/qbytearrayview.h:78:16: warning[-Wstringop-overread]: ‘strlen’ argument missing terminating nul # 78 | while (data[i] != Char(0)) # | ~~~~^ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/corelib/serialization/qxmlstream.cpp: scope_hint: In member function ‘void QXmlStreamReaderPrivate::checkToken()’ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/corelib/serialization/qxmlstream.cpp:769:23: note: referenced argument declared here # 769 | static constexpr auto QXmlStreamReader_XmlContextString = qOffsetStringArray( # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 76| if (!data) # 77| return i; # 78|-> while (data[i] != Char(0)) # 79| ++i; # 80| return i; Error: COMPILER_WARNING (CWE-477): [#def7] qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/gui/accessible/linux/dbusconnection.cpp: scope_hint: In lambda function qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/gui/accessible/linux/dbusconnection.cpp:63:75: warning[-Wdeprecated-declarations]: ‘bool operator==(const QString&, const char* const&)’ is deprecated: Use fromUtf8, QStringLiteral, or QLatin1StringView # 63 | if (interface_name == OrgA11yStatusInterface::staticInterfaceName()) # | ^ qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/redhat-linux-build/include/QtCore/qoverload.h:1: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/corelib/global/qglobal.h:63: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/redhat-linux-build/include/QtCore/qglobal.h:1: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/corelib/global/qt_pch.h:20: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/gui/kernel/qt_gui_pch.h:12: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/redhat-linux-build/src/gui/CMakeFiles/Gui.dir/cmake_pch.hxx:5: included_from: Included from here. <command-line>: included_from: Included from here. qt6-qtbase-6.8.0-build/qtbase-everywhere-src-6.8.0/src/corelib/text/qstring.h:931:5: note: declared here # 931 | Q_DECLARE_STRONGLY_ORDERED(QString, const char *, QT_ASCII_CAST_WARN) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~ # 61| // Subscribe to updates about a11y enabled state. # 62| connect(dbusProperties, &OrgFreedesktopDBusPropertiesInterface::PropertiesChanged, this, [this](const QString &interface_name) { # 63|-> if (interface_name == OrgA11yStatusInterface::staticInterfaceName()) # 64| serviceRegistered(); # 65| });
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-61.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | qt6-qtbase-6.7.2-7.fc41 |
diffbase-store-results-to | /tmp/tmpwmtzw9_8/qt6-qtbase-6.7.2-7.fc41.tar.xz |
diffbase-time-created | 2024-11-13 02:53:13 |
diffbase-time-finished | 2024-11-13 03:16:36 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpwmtzw9_8/qt6-qtbase-6.7.2-7.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpwmtzw9_8/qt6-qtbase-6.7.2-7.fc41.src.rpm' |
diffbase-tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-61.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | qt6-qtbase-6.8.0-4.fc42 |
store-results-to | /tmp/tmpymeypn5k/qt6-qtbase-6.8.0-4.fc42.tar.xz |
time-created | 2024-11-13 03:17:14 |
time-finished | 2024-11-13 03:40:58 |
title | Newly introduced findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpymeypn5k/qt6-qtbase-6.8.0-4.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpymeypn5k/qt6-qtbase-6.8.0-4.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |