Error: COMPILER_WARNING (CWE-697): [#def1] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c: scope_hint: In function ‘test_api’ dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:38:9: warning[-Waddress]: the address of ‘c_dvar_type_y’ will always evaluate as ‘true’ # 38 | assert(c_dvar_type_y); # | ^~~~~~ # 36| /* builtin */ # 37| # 38|-> assert(c_dvar_type_y); # 39| assert(c_dvar_type_b); # 40| assert(c_dvar_type_n); Error: COMPILER_WARNING (CWE-697): [#def2] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:39:9: warning[-Waddress]: the address of ‘c_dvar_type_b’ will always evaluate as ‘true’ # 39 | assert(c_dvar_type_b); # | ^~~~~~ # 37| # 38| assert(c_dvar_type_y); # 39|-> assert(c_dvar_type_b); # 40| assert(c_dvar_type_n); # 41| assert(c_dvar_type_q); Error: COMPILER_WARNING (CWE-697): [#def3] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:40:9: warning[-Waddress]: the address of ‘c_dvar_type_n’ will always evaluate as ‘true’ # 40 | assert(c_dvar_type_n); # | ^~~~~~ # 38| assert(c_dvar_type_y); # 39| assert(c_dvar_type_b); # 40|-> assert(c_dvar_type_n); # 41| assert(c_dvar_type_q); # 42| assert(c_dvar_type_i); Error: COMPILER_WARNING (CWE-697): [#def4] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:41:9: warning[-Waddress]: the address of ‘c_dvar_type_q’ will always evaluate as ‘true’ # 41 | assert(c_dvar_type_q); # | ^~~~~~ # 39| assert(c_dvar_type_b); # 40| assert(c_dvar_type_n); # 41|-> assert(c_dvar_type_q); # 42| assert(c_dvar_type_i); # 43| assert(c_dvar_type_u); Error: COMPILER_WARNING (CWE-697): [#def5] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:42:9: warning[-Waddress]: the address of ‘c_dvar_type_i’ will always evaluate as ‘true’ # 42 | assert(c_dvar_type_i); # | ^~~~~~ # 40| assert(c_dvar_type_n); # 41| assert(c_dvar_type_q); # 42|-> assert(c_dvar_type_i); # 43| assert(c_dvar_type_u); # 44| assert(c_dvar_type_x); Error: COMPILER_WARNING (CWE-697): [#def6] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:43:9: warning[-Waddress]: the address of ‘c_dvar_type_u’ will always evaluate as ‘true’ # 43 | assert(c_dvar_type_u); # | ^~~~~~ # 41| assert(c_dvar_type_q); # 42| assert(c_dvar_type_i); # 43|-> assert(c_dvar_type_u); # 44| assert(c_dvar_type_x); # 45| assert(c_dvar_type_t); Error: COMPILER_WARNING (CWE-697): [#def7] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:44:9: warning[-Waddress]: the address of ‘c_dvar_type_x’ will always evaluate as ‘true’ # 44 | assert(c_dvar_type_x); # | ^~~~~~ # 42| assert(c_dvar_type_i); # 43| assert(c_dvar_type_u); # 44|-> assert(c_dvar_type_x); # 45| assert(c_dvar_type_t); # 46| assert(c_dvar_type_h); Error: COMPILER_WARNING (CWE-697): [#def8] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:45:9: warning[-Waddress]: the address of ‘c_dvar_type_t’ will always evaluate as ‘true’ # 45 | assert(c_dvar_type_t); # | ^~~~~~ # 43| assert(c_dvar_type_u); # 44| assert(c_dvar_type_x); # 45|-> assert(c_dvar_type_t); # 46| assert(c_dvar_type_h); # 47| assert(c_dvar_type_d); Error: COMPILER_WARNING (CWE-697): [#def9] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:46:9: warning[-Waddress]: the address of ‘c_dvar_type_h’ will always evaluate as ‘true’ # 46 | assert(c_dvar_type_h); # | ^~~~~~ # 44| assert(c_dvar_type_x); # 45| assert(c_dvar_type_t); # 46|-> assert(c_dvar_type_h); # 47| assert(c_dvar_type_d); # 48| assert(c_dvar_type_s); Error: COMPILER_WARNING (CWE-697): [#def10] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:47:9: warning[-Waddress]: the address of ‘c_dvar_type_d’ will always evaluate as ‘true’ # 47 | assert(c_dvar_type_d); # | ^~~~~~ # 45| assert(c_dvar_type_t); # 46| assert(c_dvar_type_h); # 47|-> assert(c_dvar_type_d); # 48| assert(c_dvar_type_s); # 49| assert(c_dvar_type_o); Error: COMPILER_WARNING (CWE-697): [#def11] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:48:9: warning[-Waddress]: the address of ‘c_dvar_type_s’ will always evaluate as ‘true’ # 48 | assert(c_dvar_type_s); # | ^~~~~~ # 46| assert(c_dvar_type_h); # 47| assert(c_dvar_type_d); # 48|-> assert(c_dvar_type_s); # 49| assert(c_dvar_type_o); # 50| assert(c_dvar_type_g); Error: COMPILER_WARNING (CWE-697): [#def12] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:49:9: warning[-Waddress]: the address of ‘c_dvar_type_o’ will always evaluate as ‘true’ # 49 | assert(c_dvar_type_o); # | ^~~~~~ # 47| assert(c_dvar_type_d); # 48| assert(c_dvar_type_s); # 49|-> assert(c_dvar_type_o); # 50| assert(c_dvar_type_g); # 51| assert(c_dvar_type_v); Error: COMPILER_WARNING (CWE-697): [#def13] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:50:9: warning[-Waddress]: the address of ‘c_dvar_type_g’ will always evaluate as ‘true’ # 50 | assert(c_dvar_type_g); # | ^~~~~~ # 48| assert(c_dvar_type_s); # 49| assert(c_dvar_type_o); # 50|-> assert(c_dvar_type_g); # 51| assert(c_dvar_type_v); # 52| assert(c_dvar_type_unit); Error: COMPILER_WARNING (CWE-697): [#def14] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:51:9: warning[-Waddress]: the address of ‘c_dvar_type_v’ will always evaluate as ‘true’ # 51 | assert(c_dvar_type_v); # | ^~~~~~ # 49| assert(c_dvar_type_o); # 50| assert(c_dvar_type_g); # 51|-> assert(c_dvar_type_v); # 52| assert(c_dvar_type_unit); # 53| Error: COMPILER_WARNING (CWE-697): [#def15] dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:52:9: warning[-Waddress]: the address of ‘c_dvar_type_unit’ will always evaluate as ‘true’ # 52 | assert(c_dvar_type_unit); # | ^~~~~~ # 50| assert(c_dvar_type_g); # 51| assert(c_dvar_type_v); # 52|-> assert(c_dvar_type_unit); # 53| # 54| /* type handling */
| analyzer-version-clippy | 1.96.0 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.96.0 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.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-141.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | dbus-broker-37-1.20260629160923464360.pr445.78.g35b27bd |
| diffbase-store-results-to | /tmp/tmp2vk89ab5/dbus-broker-37-1.20260629160923464360.pr445.78.g35b27bd.tar.xz |
| diffbase-time-created | 2026-06-29 16:23:04 |
| diffbase-time-finished | 2026-06-29 16:26:06 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmp2vk89ab5/dbus-broker-37-1.20260629160923464360.pr445.78.g35b27bd.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp2vk89ab5/dbus-broker-37-1.20260629160923464360.pr445.78.g35b27bd.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.HEAD-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-141.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | dbus-broker-37-1.20260629082923143557.main.76.gaaa9fd6 |
| store-results-to | /tmp/tmpb5e4akn0/dbus-broker-37-1.20260629082923143557.main.76.gaaa9fd6.tar.xz |
| time-created | 2026-06-29 16:18:56 |
| time-finished | 2026-06-29 16:22:10 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmpb5e4akn0/dbus-broker-37-1.20260629082923143557.main.76.gaaa9fd6.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpb5e4akn0/dbus-broker-37-1.20260629082923143557.main.76.gaaa9fd6.src.rpm' |
| tool-version | csmock-3.8.7.HEAD-1.el9 |