qcoro-0.12.0-3.fc44

List of Findings

Error: CPPCHECK_WARNING (CWE-758): [#def1]
qcoro-0.12.0/examples/basics/await-sync-string.cpp:146: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  144|       std::cout << "myCoroutine() started." << std::endl;
#  145|       const auto result = co_await regularFunction();
#  146|->     std::cout << "Result successfully co_await-ed: " << result << std::endl;
#  147|   }
#  148|   

Error: COMPILER_WARNING: [#def2]
qcoro-0.12.0/tests/qcoroprocess.cpp: scope_hint: In member function ‘QCoro::Task<void> QCoroProcessTest::testStartDoesntCoAwaitRunningProcess_coro(QCoro::TestContext)’
qcoro-0.12.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: COMPILER_WARNING (CWE-457): [#def3]
qcoro-0.12.0/tests/qcorosignal.cpp: scope_hint: In function ‘QCoroSignalTest::testMultiArgQPrivateSignal_coro(QCoroSignalTest::_ZN15QCoroSignalTest31testMultiArgQPrivateSignal_coroEN5QCoro11TestContextE.Frame*) [clone .actor]’
qcoro-0.12.0/tests/qcorosignal.cpp:256:5: warning[-Wmaybe-uninitialized]: ‘<anonymous>’ may be used uninitialized
#  256 |     }
#      |     ^
qcoro-0.12.0/tests/qcorosignal.cpp:249:87: note: ‘<anonymous>’ was declared here
#  249 |         const auto [str, num, ptr] = co_await qCoro(&obj, &SignalTest::privateMultiArg);
#      |                                                                                       ^
#  254|           QCORO_COMPARE(num, 42);
#  255|           QCORO_COMPARE(ptr, &obj);
#  256|->     }
#  257|   
#  258|       QCoro::Task<> testSignalListenerVoid_coro(QCoro::TestContext) {

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-107.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-nameqcoro-0.12.0-3.fc44
store-results-to/tmp/tmp1oxka0si/qcoro-0.12.0-3.fc44.tar.xz
time-created2026-01-08 21:11:57
time-finished2026-01-08 21:15:14
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp1oxka0si/qcoro-0.12.0-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp1oxka0si/qcoro-0.12.0-3.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9