debugedit-5.1-1.fc42
List of Findings
Error: SHELLCHECK_WARNING (CWE-569): [#def1]
/usr/bin/find-debuginfo:289:23: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def2]
/usr/bin/find-debuginfo:289:27: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def3]
/usr/bin/find-debuginfo:323:1: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-569): [#def4]
/usr/bin/find-debuginfo:324:1: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-569): [#def5]
/usr/bin/find-debuginfo:325:1: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-569): [#def6]
/usr/bin/find-debuginfo:326:1: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-571): [#def7]
/usr/bin/find-debuginfo:352:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def8]
/usr/bin/find-debuginfo:353:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def9]
/usr/bin/find-debuginfo:354:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def10]
/usr/bin/find-debuginfo:355:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def11]
/usr/bin/find-debuginfo:363:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-398): [#def12]
/usr/bin/find-debuginfo:449:12: warning[SC2229]: This does not read 'var'. Remove $/${} for that, or use ${var?} to quiet.
Error: SHELLCHECK_WARNING (CWE-569): [#def13]
/usr/bin/find-debuginfo:557:3: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-569): [#def14]
/usr/bin/find-debuginfo:558:3: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-156): [#def15]
/usr/bin/find-debuginfo:566:13: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-252): [#def16]
/usr/bin/find-debuginfo:617:27: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING: [#def17]
/usr/bin/find-debuginfo:630:11: error[SC2157]: Argument to -n is always true due to literal strings.
Error: SHELLCHECK_WARNING (CWE-88): [#def18]
/usr/bin/find-debuginfo:639:63: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-252): [#def19]
/usr/bin/find-debuginfo:651:6: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def20]
/usr/bin/find-debuginfo:687:4: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def21]
/usr/bin/find-debuginfo:697:4: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def22]
/usr/bin/find-debuginfo:700:4: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def23]
/usr/bin/find-debuginfo:708:3: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-252): [#def24]
/usr/bin/find-debuginfo:710:6: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def25]
/usr/bin/find-debuginfo:763:3: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: CPPCHECK_WARNING (CWE-457): [#def26]
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c:2270: error[uninitvar]: Uninitialized variables: &key.cu, &key.new_idx, &key.size_diff, &key.replace_dirs, &key.replace_files, &key.unit_length, &key.version, &key.header_length, &key.min_instr_len, &key.max_op_per_instr, &key.default_is_stmt, &key.line_base, &key.line_range, &key.opcode_base
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c: scope_hint: In function ‘main’
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c:3384:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopen_dso(fd, file)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def28]
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c: scope_hint: In function ‘fdopen_dso’
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c:3456:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*dso.filename’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def29]
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c: scope_hint: In function ‘main’
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c:3728:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.shdr[i].sh_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c:3941:6: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c:3963:6: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: CPPCHECK_WARNING (CWE-823): [#def32]
debugedit-5.1-build/debugedit-5.1/tools/hashtab.c:186: error[arrayIndexOutOfBounds]: Array 'prime_tab[30]' accessed at index 30, which is out of bounds.
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-45.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | debugedit-5.1-1.fc42 |
store-results-to | /tmp/tmp0yzqtzpv/debugedit-5.1-1.fc42.tar.xz |
time-created | 2024-11-12 23:30:01 |
time-finished | 2024-11-12 23:31:28 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp0yzqtzpv/debugedit-5.1-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp0yzqtzpv/debugedit-5.1-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |