Error: CPPCHECK_WARNING: [#def1] libtool-2.4.7-build/libtool-2.4.7/libltdl/lt_dlloader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def2] libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): [#def3] libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c: scope_hint: In function 'foreach_dirinpath' libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:718:9: warning[-Wanalyzer-null-argument]: use of NULL 'filename' where non-null expected libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__private.h:58: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:32: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:684:27: note: in expansion of macro 'LT_STRLEN' libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__private.h:43: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__private.h:52: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__alloc.h:39:51: note: in definition of macro 'MALLOC' libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:594:32: note: in expansion of macro 'LT_STRLEN' libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__glibc.h:65: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__private.h:55: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c: scope_hint: In function 'foreach_dirinpath' libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:706:25: note: in expansion of macro 'LT_STRLEN' <built-in>: note: argument 1 of '__builtin_strcpy' must be non-null # 716| # 717| assert (filenamesize > lendir); # 718|-> strcpy (filename, dir_name); # 719| # 720| if (base_name && *base_name) Error: CPPCHECK_WARNING (CWE-562): [#def4] libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:2082: error[returnDanglingLifetime]: Returning pointer to local variable 'lsym' that will be invalid when returning. # 2080| FREE (sym); # 2081| } # 2082|-> return address; # 2083| } # 2084| LT__SETERRORSTR (saved_error);
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-237.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libtool-2.4.7-11.fc41 |
store-results-to | /tmp/tmpgrnki35q/libtool-2.4.7-11.fc41.tar.xz |
time-created | 2024-07-03 15:58:46 |
time-finished | 2024-07-03 15:59:55 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpgrnki35q/libtool-2.4.7-11.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpgrnki35q/libtool-2.4.7-11.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |