Error: COMPILER_WARNING (CWE-1164): [#def1] libmaxminddb-1.11.0-build/libmaxminddb-1.11.0/src/maxminddb-compat-util.h:46:1: warning[-Wunused-function]: 'mmdb_memmem' defined but not used # 46 | mmdb_memmem(const void *l, size_t l_len, const void *s, size_t s_len) { # | ^~~~~~~~~~~ # 44| */ # 45| static const void * # 46|-> mmdb_memmem(const void *l, size_t l_len, const void *s, size_t s_len) { # 47| const char *cur, *last; # 48| const char *cl = (const char *)l; Error: COMPILER_WARNING (CWE-1164): [#def2] libmaxminddb-1.11.0-build/libmaxminddb-1.11.0/t/maxminddb_test_helper.h:12: included_from: Included from here. libmaxminddb-1.11.0-build/libmaxminddb-1.11.0/t/maxminddb_test_helper.c:1: included_from: Included from here. libmaxminddb-1.11.0-build/libmaxminddb-1.11.0/src/maxminddb-compat-util.h:138:14: warning[-Wunused-function]: 'mmdb_strdup' defined but not used # 138 | static char *mmdb_strdup(const char *str) { # | ^~~~~~~~~~~ # 136| * SUCH DAMAGE. # 137| */ # 138|-> static char *mmdb_strdup(const char *str) { # 139| size_t len; # 140| char *copy; Error: GCC_ANALYZER_WARNING (CWE-404): [#def3] libmaxminddb-1.11.0-build/libmaxminddb-1.11.0/t/libtap/tap.c: scope_hint: In function ‘bail_out’ libmaxminddb-1.11.0-build/libmaxminddb-1.11.0/t/libtap/tap.c:284:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ # 282| exit(255); # 283| return 0; # 284|-> } # 285| # 286| void
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 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-120.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | libmaxminddb-1.11.0-1.fc42 |
store-results-to | /tmp/tmp_yz_emvx/libmaxminddb-1.11.0-1.fc42.tar.xz |
time-created | 2024-11-13 01:30:00 |
time-finished | 2024-11-13 01:31:21 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp_yz_emvx/libmaxminddb-1.11.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp_yz_emvx/libmaxminddb-1.11.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |