Error: COMPILER_WARNING (CWE-457): [#def1] qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h: scope_hint: In function ‘_ZZ19qCoroSignalListenerITkN5QCoro6detail8concepts7QObjectEN12_GLOBAL__N_122WebSocketSignalWatcherEMS4_FvSt8optionalISt5tupleIJ10QByteArraybEEEEENS0_14AsyncGeneratorINS1_16QCoroSignalQueueIT_T0_E11result_type10value_typeEEEPSE_OSF_NSt6chrono8durationIlSt5ratioILl1ELl1000EEEEENUlSt10unique_ptrINSD_IS4_SB_EESt14default_deleteISS_EEE_clEPZZS_ITkNS2_7QObjectES4_SB_ESJ_SK_SL_SQ_ENKSW_clESV_E346_ZZ19qCoroSignalListenerITkN5QCoro6detail8concepts7QObjectEN12_GLOBAL__N_122WebSocketSignalWatcherEMS4_Fv [...] qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: warning[-Wmaybe-uninitialized]: ‘MEM[(struct QArrayDataPointer *)&result + 8B].d’ may be used uninitialized # 294| } # 295| # 296|-> auto result = std::move(mQueue.front()); # 297| mQueue.pop_front(); # 298| return result; qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: note: trimmed 1 message(s) with length over 512 Error: COMPILER_WARNING (CWE-457): [#def2] qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: warning[-Wmaybe-uninitialized]: ‘MEM[(struct QArrayDataPointer *)&result + 8B].ptr’ may be used uninitialized # 294| } # 295| # 296|-> auto result = std::move(mQueue.front()); # 297| mQueue.pop_front(); # 298| return result; Error: COMPILER_WARNING (CWE-457): [#def3] qcoro-0.10.0-build/qcoro-0.10.0/qcoro/websockets/qcorowebsocket.cpp:7: included_from: Included from here. qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h: scope_hint: In function ‘_ZZ19qCoroSignalListenerITkN5QCoro6detail8concepts7QObjectEN12_GLOBAL__N_122WebSocketSignalWatcherEMS4_FvSt8optionalISt5tupleIJ10QByteArrayEEEEENS0_14AsyncGeneratorINS1_16QCoroSignalQueueIT_T0_E11result_type10value_typeEEEPSE_OSF_NSt6chrono8durationIlSt5ratioILl1ELl1000EEEEENUlSt10unique_ptrINSD_IS4_SB_EESt14default_deleteISS_EEE_clEPZZS_ITkNS2_7QObjectES4_SB_ESJ_SK_SL_SQ_ENKSW_clESV_E345_ZZ19qCoroSignalListenerITkN5QCoro6detail8concepts7QObjectEN12_GLOBAL__N_122WebSocketSignalWatcherEMS4_FvS [...] qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: warning[-Wmaybe-uninitialized]: ‘MEM[(struct QArrayDataPointer *)&result].d’ may be used uninitialized # 296 | auto result = std::move(mQueue.front()); # | ^~~~~~ # 294| } # 295| # 296|-> auto result = std::move(mQueue.front()); # 297| mQueue.pop_front(); # 298| return result; qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: note: trimmed 1 message(s) with length over 512 Error: COMPILER_WARNING (CWE-457): [#def4] qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: warning[-Wmaybe-uninitialized]: ‘MEM[(struct QArrayDataPointer *)&result].ptr’ may be used uninitialized # 294| } # 295| # 296|-> auto result = std::move(mQueue.front()); # 297| mQueue.pop_front(); # 298| return result; Error: COMPILER_WARNING: [#def5] qcoro-0.10.0-build/qcoro-0.10.0/tests/qcoroprocess.cpp: scope_hint: In member function ‘QCoro::Task<void> QCoroProcessTest::testStartDoesntCoAwaitRunningProcess_coro(QCoro::TestContext)’ qcoro-0.10.0-build/qcoro-0.10.0/tests/qcoroprocess.cpp:121:17: note: ‘#pragma message: Workaround for GCC ICE!’ # 119| QProcess process; # 120| #if defined(__GNUC__) && !defined(__clang__) # 121|-> #pragma message "Workaround for GCC ICE!" # 122| // Workaround GCC bug https://bugzilla.redhat.com/1952671 # 123| // GCC ICEs at the end of this function due to presence of two co_await statements. Error: CLANG_WARNING: [#def6] qcoro-0.10.0-build/qcoro-0.10.0/tests/qcorotask.cpp:182:24: warning[deadcode.DeadStores]: Value stored to 'result' during its initialization is never read # 180| # 181| try { # 182|-> const auto result = co_await coro(); # 183| QCORO_FAIL("Exception was not propagated."); # 184| Q_UNUSED(result);
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-77.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | qcoro-0.10.0-5.fc41 |
store-results-to | /tmp/tmpmxuec4l8/qcoro-0.10.0-5.fc41.tar.xz |
time-created | 2024-07-03 17:35:36 |
time-finished | 2024-07-03 17:39:32 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpmxuec4l8/qcoro-0.10.0-5.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpmxuec4l8/qcoro-0.10.0-5.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |