elfutils-0.192-3.fc42
List of Findings
Error: SHELLCHECK_WARNING (CWE-758): [#def1]
/etc/profile.d/debuginfod.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/etc/profile.d/debuginfod.sh:7:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-477): [#def3]
/usr/bin/eu-make-debug-archive:71:46: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def4]
/usr/bin/eu-make-debug-archive:95:27: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING: [#def5]
/usr/bin/eu-make-debug-archive:95:41: warning[SC3013]: In POSIX sh, -nt is undefined.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def6]
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c: scope_hint: In function ‘debuginfod_find_metadata’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:745:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(target_cache_path, 0)’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2764:7: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2737:5: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2738:5: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2738:5: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:1693:5: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2751:3: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2751:3: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2753:3: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2754:3: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2754:3: note: in expansion of macro ‘xalloc_str’
elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2764:7: note: in expansion of macro ‘xalloc_str’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def7]
/usr/include/bits/sigstksz.h:24: included_from: Included from here.
/usr/include/signal.h:328: included_from: Included from here.
/usr/include/sys/param.h:28: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/system.h:47: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/memory-access.h:35: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/libdwP.h:696: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/libdwflP.h:41: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/image-header.c:34: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/system.h: scope_hint: In function ‘pread_retry’
elfutils-0.192-build/elfutils-0.192/lib/system.h:192:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
elfutils-0.192-build/elfutils-0.192/lib/system.h:192:41: note: write of 496 bytes to beyond the end of ‘header_buffer’
elfutils-0.192-build/elfutils-0.192/lib/system.h:192:41: note: valid subscripts for ‘header_buffer’ are ‘[0]’ to ‘[591]’
/usr/include/unistd.h:389:16: note: parameter 2 of ‘pread’ marked with attribute ‘access (write_only, 2, 3)’
Error: CPPCHECK_WARNING (CWE-758): [#def8]
elfutils-0.192-build/elfutils-0.192/libasm/asm_addsleb128.c:59: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-457): [#def9]
elfutils-0.192-build/elfutils-0.192/libcpu/i386_data.h:250: error[uninitvar]: Uninitialized variable: &p
Error: CPPCHECK_WARNING (CWE-401): [#def10]
elfutils-0.192-build/elfutils-0.192/libdw/cfi.c:78: error[memleak]: Memory leak: bigger
Error: CPPCHECK_WARNING (CWE-401): [#def11]
elfutils-0.192-build/elfutils-0.192/libdw/cfi.c:483: error[memleak]: Memory leak: cie_fs
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
elfutils-0.192-build/elfutils-0.192/libdw/cie.c: scope_hint: In function ‘intern_new_cie’
elfutils-0.192-build/elfutils-0.192/libdw/cie.c:147:6: warning[-Wanalyzer-malloc-leak]: leak of ‘cie’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_cu_dwp_section_info.c: scope_hint: In function ‘__libdw_package_index.part.0’
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_cu_dwp_section_info.c:47:27: warning[-Wanalyzer-malloc-leak]: leak of ‘__libdw_read_package_index(dbg, (int)tu)’
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_cu_dwp_section_info.c:33: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def14]
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_getalt.c: scope_hint: In function ‘find_debug_altlink’
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_getalt.c:150:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
/usr/include/bits/sigstksz.h:24: included_from: Included from here.
/usr/include/signal.h:328: included_from: Included from here.
/usr/include/sys/param.h:28: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/system.h:47: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/memory-access.h:35: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/libdwP.h:696: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_getalt.c:33: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_getalt.c:156:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_getcfi_elf.c: scope_hint: In function ‘dwarf_getcfi_elf’
elfutils-0.192-build/elfutils-0.192/libdw/dwarf_getcfi_elf.c:282:16: warning[-Wanalyzer-malloc-leak]: leak of ‘getcfi_shdr(elf, gelf_getehdr(elf, & ehdr_mem))’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
elfutils-0.192-build/elfutils-0.192/libdw/libdw_alloc.c: scope_hint: In function ‘__libdw_allocate’
elfutils-0.192-build/elfutils-0.192/libdw/libdw_alloc.c:137:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
elfutils-0.192-build/elfutils-0.192/libdwfl/core-file.c: scope_hint: In function ‘dwfl_core_file_report’
elfutils-0.192-build/elfutils-0.192/libdwfl/core-file.c:479:10: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(executable)’
Error: CPPCHECK_WARNING (CWE-401): [#def19]
elfutils-0.192-build/elfutils-0.192/libdwfl/cu.c:63: error[memleak]: Memory leak: aranges
Error: CPPCHECK_WARNING (CWE-401): [#def20]
elfutils-0.192-build/elfutils-0.192/libdwfl/cu.c:213: error[memleak]: Memory leak: cu
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
elfutils-0.192-build/elfutils-0.192/libdwfl/dwfl_build_id_find_elf.c: scope_hint: In function ‘dwfl_build_id_find_elf’
elfutils-0.192-build/elfutils-0.192/libdwfl/dwfl_build_id_find_elf.c:198:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
/usr/include/bits/sigstksz.h:24: included_from: Included from here.
/usr/include/signal.h:328: included_from: Included from here.
/usr/include/sys/param.h:28: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/system.h:47: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/memory-access.h:35: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/libdwP.h:696: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/libdwflP.h:41: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/dwfl_build_id_find_elf.c:33: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-401): [#def22]
elfutils-0.192-build/elfutils-0.192/libdwfl/dwfl_module_build_id.c:50: error[memleak]: Memory leak: copy
Error: CPPCHECK_WARNING (CWE-401): [#def23]
elfutils-0.192-build/elfutils-0.192/libdwfl/dwfl_module_build_id.c:56: error[memleak]: Memory leak: copy
Error: CPPCHECK_WARNING (CWE-401): [#def24]
elfutils-0.192-build/elfutils-0.192/libdwfl/dwfl_module_report_build_id.c:71: error[memleak]: Memory leak: copy
Error: CPPCHECK_WARNING (CWE-401): [#def25]
elfutils-0.192-build/elfutils-0.192/libdwfl/elf-from-memory.c:77: error[memleak]: Memory leak: buffer
Error: GCC_ANALYZER_WARNING (CWE-775): [#def26]
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:48:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘try_open(&main_stat, dir, subdir, file, & fname)’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
/usr/include/bits/sigstksz.h:24: included_from: Included from here.
/usr/include/signal.h:328: included_from: Included from here.
/usr/include/sys/param.h:28: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/system.h:47: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/memory-access.h:35: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/libdwP.h:696: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/libdwflP.h:41: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:33: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def27]
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:48:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘try_open(&main_stat, dir, ".dwz", xbasename(file), &fname)’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/libdwfl/libdwflP.h:36: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-401): [#def28]
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:52: error[memleak]: Memory leak: fname
Error: CPPCHECK_WARNING (CWE-401): [#def29]
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:186: error[memleak]: Memory leak: localname
Error: CPPCHECK_WARNING (CWE-401): [#def30]
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:202: error[memleak]: Memory leak: localpath
Error: GCC_ANALYZER_WARNING (CWE-688): [#def31]
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:271:24: warning[-Wanalyzer-null-argument]: use of NULL ‘subdir’ where non-null expected
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c: scope_hint: In function ‘find_debuginfo_in_path’
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:345:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fname’
elfutils-0.192-build/elfutils-0.192/config.h:235: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/find-debuginfo.c:30: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c: scope_hint: In function ‘do_push’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:111:11: warning[-Wanalyzer-malloc-leak]: leak of ‘new_addrs’
elfutils-0.192-build/elfutils-0.192/config.h:235: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:30: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:151:23: note: in definition of macro ‘INTUSE’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:151:23: note: in definition of macro ‘INTUSE’
elfutils-0.192-build/elfutils-0.192/libdwelf/libdwelfP.h:34: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/libdwflP.h:42: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:35: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:153:33: note: in definition of macro ‘push’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:264:17: note: in expansion of macro ‘push’
elfutils-0.192-build/elfutils-0.192/lib/system.h:47: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/memory-access.h:35: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/libdwP.h:696: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdw/cfi.h:32: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:33: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-416): [#def34]
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c: scope_hint: In function ‘expr_eval’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:313:41: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘frame’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:151:23: note: in definition of macro ‘INTUSE’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:151:23: note: in definition of macro ‘INTUSE’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:204:20: note: in expansion of macro ‘push’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:204:20: note: in expansion of macro ‘push’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:204:20: note: in expansion of macro ‘push’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:304:17: note: in expansion of macro ‘pop’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:304:17: note: in expansion of macro ‘pop’
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:304:17: note: in expansion of macro ‘pop’
Error: CPPCHECK_WARNING (CWE-401): [#def35]
elfutils-0.192-build/elfutils-0.192/libdwfl/frame_unwind.c:511: error[memleak]: Memory leak: unwound
Error: CPPCHECK_WARNING (CWE-401): [#def36]
elfutils-0.192-build/elfutils-0.192/libdwfl/gzip.c:202: error[memleak]: Memory leak: state.input_buffer
Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
elfutils-0.192-build/elfutils-0.192/libdwfl/linux-kernel-modules.c: scope_hint: In function ‘try_kernel_name’
elfutils-0.192-build/elfutils-0.192/libdwfl/linux-kernel-modules.c:104:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
/usr/include/bits/sigstksz.h:24: included_from: Included from here.
/usr/include/signal.h:328: included_from: Included from here.
/usr/include/sys/param.h:28: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/system.h:47: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/linux-kernel-modules.c:40: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-401): [#def38]
elfutils-0.192-build/elfutils-0.192/libdwfl/linux-kernel-modules.c:827: error[memleak]: Memory leak: alternate_name
Error: GCC_ANALYZER_WARNING (CWE-457): [#def39]
elfutils-0.192-build/elfutils-0.192/libdwfl/relocate.c: scope_hint: In function ‘relocate’
elfutils-0.192-build/elfutils-0.192/libdwfl/relocate.c:369:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘shndx’
elfutils-0.192-build/elfutils-0.192/config.h:235: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/relocate.c:30: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/libelf/libelf.h:36: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libelf/gelf.h:32: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libelf/libelfP.h:35: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/relocate.c:35: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libelf/elf.h:679:43: note: in definition of macro ‘ELF64_R_SYM’
elfutils-0.192-build/elfutils-0.192/libdwfl/relocate.c:639:28: note: in expansion of macro ‘GELF_R_SYM’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/libdwfl/relocate.c:168:28: note: in expansion of macro ‘INTUSE’
Error: CPPCHECK_WARNING (CWE-401): [#def40]
elfutils-0.192-build/elfutils-0.192/libdwfl/segment.c:68: error[memleak]: Memory leak: naddr
Error: CPPCHECK_WARNING (CWE-401): [#def41]
elfutils-0.192-build/elfutils-0.192/libdwfl/segment.c:74: error[memleak]: Memory leak: nsegndx
Error: GCC_ANALYZER_WARNING (CWE-457): [#def42]
elfutils-0.192-build/elfutils-0.192/libelf/libelf.h:36: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libelf/gelf.h:32: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:46: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/src/unstrip.c: scope_hint: In function ‘adjust_reloc’
elfutils-0.192-build/elfutils-0.192/libelf/elf.h:681:44: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
elfutils-0.192-build/elfutils-0.192/libelf/gelf.h:146:41: note: in expansion of macro ‘ELF64_R_INFO’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:443:15: note: in expansion of macro ‘GELF_R_INFO’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:32: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2298:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2310:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2196:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1431:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/config.h:235: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:28: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1446:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1450:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1498:3: note: in expansion of macro ‘ELF_CHECK’
/usr/include/bits/types/stack_t.h:23: included_from: Included from here.
/usr/include/signal.h:313: included_from: Included from here.
/usr/include/sys/param.h:28: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/lib/system.h:47: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:49: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1688:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:392:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:396:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:640:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:417:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:666:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:622:9: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:464:11: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/libelf/elf.h:681:59: note: in definition of macro ‘ELF64_R_INFO’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:443:15: note: in expansion of macro ‘GELF_R_INFO’
elfutils-0.192-build/elfutils-0.192/libelf/gelf.h:146:41: note: in expansion of macro ‘ELF64_R_INFO’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:443:15: note: in expansion of macro ‘GELF_R_INFO’
Error: CPPCHECK_WARNING (CWE-401): [#def43]
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:222: error[memleak]: Memory leak: scns
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c: scope_hint: In function ‘__elf32_updatemmap’
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:251:25: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:34: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:173:18: note: in expansion of macro ‘elf_typesize’
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:188:13: note: in expansion of macro ‘fctp’
elfutils-0.192-build/elfutils-0.192/config.h:235: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:31: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:214:11: note: in expansion of macro ‘unlikely’
Error: CPPCHECK_WARNING (CWE-401): [#def45]
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:618: error[memleak]: Memory leak: tmp_phdr
Error: CPPCHECK_WARNING (CWE-401): [#def46]
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:678: error[memleak]: Memory leak: shdr_data_mem
Error: CPPCHECK_WARNING (CWE-401): [#def47]
elfutils-0.192-build/elfutils-0.192/libelf/elf32_updatefile.c:693: error[memleak]: Memory leak: scns
Error: CPPCHECK_WARNING (CWE-401): [#def48]
elfutils-0.192-build/elfutils-0.192/libelf/elf_compress.c:375: error[memleak]: Memory leak: buf_out
Error: CPPCHECK_WARNING (CWE-401): [#def49]
elfutils-0.192-build/elfutils-0.192/libelf/elf_compress.c:421: error[memleak]: Memory leak: buf_out
Error: COMPILER_WARNING: [#def50]
elfutils-0.192-build/elfutils-0.192/src/ar.c: scope_hint: In function ‘do_oper_extract’
elfutils-0.192-build/elfutils-0.192/src/ar.c:459:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def51]
elfutils-0.192-build/elfutils-0.192/src/ar.c: scope_hint: In function ‘do_oper_delete’
elfutils-0.192-build/elfutils-0.192/src/ar.c:914:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def52]
elfutils-0.192-build/elfutils-0.192/src/ar.c: scope_hint: In function ‘no0print’
elfutils-0.192-build/elfutils-0.192/src/ar.c:1087:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def53]
elfutils-0.192-build/elfutils-0.192/src/ar.c: scope_hint: In function ‘do_oper_insert’
elfutils-0.192-build/elfutils-0.192/src/ar.c:1100:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: GCC_ANALYZER_WARNING (CWE-457): [#def54]
elfutils-0.192-build/elfutils-0.192/src/ar.c: scope_hint: In function ‘do_oper_insert’
elfutils-0.192-build/elfutils-0.192/src/ar.c:1281:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st.st_mtim.tv_sec’
elfutils-0.192-build/elfutils-0.192/src/ar.c:38: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-457): [#def55]
elfutils-0.192-build/elfutils-0.192/src/arlib.c:174: error[legacyUninitvar]: Uninitialized variable: tmpbuf
Error: COMPILER_WARNING: [#def56]
elfutils-0.192-build/elfutils-0.192/src/elfcmp.c: scope_hint: In function ‘main’
elfutils-0.192-build/elfutils-0.192/src/elfcmp.c:122:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
elfutils-0.192-build/elfutils-0.192/src/elfcompress.c: scope_hint: In function ‘process_file’
elfutils-0.192-build/elfutils-0.192/src/elfcompress.c:769:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘snamebuf’
elfutils-0.192-build/elfutils-0.192/src/elfcompress.c:19: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/src/elfcompress.c: scope_hint: In function ‘process_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
elfutils-0.192-build/elfutils-0.192/src/elfcompress.c:793:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘snamebuf’
elfutils-0.192-build/elfutils-0.192/src/elfcompress.c: scope_hint: In function ‘process_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
elfutils-0.192-build/elfutils-0.192/src/elfcompress.c:860:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘snamebuf’
elfutils-0.192-build/elfutils-0.192/src/elfcompress.c: scope_hint: In function ‘process_file’
Error: COMPILER_WARNING: [#def60]
elfutils-0.192-build/elfutils-0.192/src/elflint.c: scope_hint: In function ‘process_file’
elfutils-0.192-build/elfutils-0.192/src/elflint.c:232:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def61]
elfutils-0.192-build/elfutils-0.192/src/elflint.c: scope_hint: In function ‘compare_hash_gnu_hash’
elfutils-0.192-build/elfutils-0.192/src/elflint.c:2416:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def62]
elfutils-0.192-build/elfutils-0.192/src/elflint.c: scope_hint: In function ‘check_verdef’
elfutils-0.192-build/elfutils-0.192/src/elflint.c:3274:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def63]
elfutils-0.192-build/elfutils-0.192/src/nm.c: scope_hint: In function ‘handle_ar’
elfutils-0.192-build/elfutils-0.192/src/nm.c:409:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def64]
elfutils-0.192-build/elfutils-0.192/src/nm.c: scope_hint: In function ‘show_symbols_sysv’
elfutils-0.192-build/elfutils-0.192/src/nm.c:725:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def65]
elfutils-0.192-build/elfutils-0.192/src/nm.c: scope_hint: In function ‘show_symbols’
elfutils-0.192-build/elfutils-0.192/src/nm.c:1226:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def66]
elfutils-0.192-build/elfutils-0.192/src/nm.c: scope_hint: In function ‘handle_elf’
elfutils-0.192-build/elfutils-0.192/src/nm.c:1528:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def67]
elfutils-0.192-build/elfutils-0.192/src/objdump.c: scope_hint: In function ‘handle_ar’
elfutils-0.192-build/elfutils-0.192/src/objdump.c:286:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def68]
elfutils-0.192-build/elfutils-0.192/src/objdump.c: scope_hint: In function ‘handle_elf.isra’
elfutils-0.192-build/elfutils-0.192/src/objdump.c:750:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def69]
elfutils-0.192-build/elfutils-0.192/src/ranlib.c: scope_hint: In function ‘handle_file’
elfutils-0.192-build/elfutils-0.192/src/ranlib.c:135:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def70]
elfutils-0.192-build/elfutils-0.192/src/readelf.c: scope_hint: In function ‘open_input_section’
elfutils-0.192-build/elfutils-0.192/src/readelf.c:661:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def71]
elfutils-0.192-build/elfutils-0.192/src/readelf.c: scope_hint: In function ‘process_file’
elfutils-0.192-build/elfutils-0.192/src/readelf.c:913:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def72]
elfutils-0.192-build/elfutils-0.192/src/readelf.c: scope_hint: In function ‘handle_versym’
elfutils-0.192-build/elfutils-0.192/src/readelf.c:3287:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def73]
elfutils-0.192-build/elfutils-0.192/src/readelf.c: scope_hint: In function ‘print_debug_frame_section’
elfutils-0.192-build/elfutils-0.192/src/readelf.c:7155:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def74]
elfutils-0.192-build/elfutils-0.192/src/readelf.c: scope_hint: In function ‘print_debug_macinfo_section’
elfutils-0.192-build/elfutils-0.192/src/readelf.c:10421:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def75]
elfutils-0.192-build/elfutils-0.192/src/readelf.c: scope_hint: In function ‘print_debug_macro_section’
elfutils-0.192-build/elfutils-0.192/src/readelf.c:10583:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def76]
elfutils-0.192-build/elfutils-0.192/src/readelf.c: scope_hint: In function ‘handle_core_item’
elfutils-0.192-build/elfutils-0.192/src/readelf.c:12256:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def77]
elfutils-0.192-build/elfutils-0.192/src/readelf.c: scope_hint: In function ‘handle_core_note’
elfutils-0.192-build/elfutils-0.192/src/readelf.c:13080:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def78]
elfutils-0.192-build/elfutils-0.192/src/size.c: scope_hint: In function ‘handle_ar’
elfutils-0.192-build/elfutils-0.192/src/size.c:340:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def79]
elfutils-0.192-build/elfutils-0.192/src/size.c: scope_hint: In function ‘handle_elf’
elfutils-0.192-build/elfutils-0.192/src/size.c:634:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: GCC_ANALYZER_WARNING (CWE-688): [#def80]
elfutils-0.192-build/elfutils-0.192/src/stack.c: scope_hint: In function ‘main’
elfutils-0.192-build/elfutils-0.192/src/stack.c:757:46: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
elfutils-0.192-build/elfutils-0.192/src/stack.c:28: included_from: Included from here.
elfutils-0.192-build/elfutils-0.192/libdwfl/libdwfl.h:749:7: note: argument 1 of ‘dwfl_pid’ must be non-null
Error: COMPILER_WARNING: [#def81]
elfutils-0.192-build/elfutils-0.192/src/strip.c: scope_hint: In function ‘handle_elf.constprop’
elfutils-0.192-build/elfutils-0.192/src/strip.c:981:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: GCC_ANALYZER_WARNING (CWE-457): [#def82]
elfutils-0.192-build/elfutils-0.192/src/unstrip.c: scope_hint: In function ‘adjust_relocs’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:493:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2298:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2310:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2196:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1431:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1446:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1450:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1498:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1688:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:392:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:396:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:640:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:417:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:666:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:622:9: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:490:9: note: in expansion of macro ‘ELF_CHECK’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def83]
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:530:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2298:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2310:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2196:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1431:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1446:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1450:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1498:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1688:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:392:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:396:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:640:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:417:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:666:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:622:9: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def84]
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:534:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2298:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2310:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2196:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1431:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1446:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1450:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1498:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1688:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:392:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:396:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:640:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:417:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:666:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:622:9: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:544:13: note: in expansion of macro ‘CONVERT_HASH’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def85]
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:579:66: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2298:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2310:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:2196:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1431:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1435:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1439:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1443:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1446:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1450:7: note: in expansion of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1498:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1688:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:392:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:396:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:640:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:417:3: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:666:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/lib/eu-config.h:114:46: note: in definition of macro ‘unlikely’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:667:7: note: in expansion of macro ‘ELF_CHECK’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:622:9: note: in expansion of macro ‘ELF_CHECK’
Error: COMPILER_WARNING: [#def86]
elfutils-0.192-build/elfutils-0.192/src/unstrip.c: scope_hint: In function ‘add_new_section_symbols.isra’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:633:1: warning[-Wstack-usage=]: stack usage might be unbounded
Error: COMPILER_WARNING: [#def87]
elfutils-0.192-build/elfutils-0.192/src/unstrip.c: scope_hint: In function ‘copy_elided_sections’
elfutils-0.192-build/elfutils-0.192/src/unstrip.c:1427:1: warning[-Wstack-usage=]: stack usage might be unbounded
Scan Properties
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-134.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | elfutils-0.192-3.fc42 |
store-results-to | /tmp/tmpw_4rbio2/elfutils-0.192-3.fc42.tar.xz |
time-created | 2024-11-12 23:47:37 |
time-finished | 2024-11-12 23:52:21 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpw_4rbio2/elfutils-0.192-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpw_4rbio2/elfutils-0.192-3.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |