Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
debugedit-5.2/tools/debugedit.c:3823:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.shdr[i].sh_type’
debugedit-5.2/tools/debugedit.c:3686:1: enter_function: entry to ‘main’
debugedit-5.2/tools/debugedit.c:3748:6: branch_false: following ‘false’ branch...
debugedit-5.2/tools/debugedit.c:3754:17: branch_false: ...to here
debugedit-5.2/tools/debugedit.c:3754:6: branch_false: following ‘false’ branch...
debugedit-5.2/tools/debugedit.c:3760:7: branch_false: ...to here
debugedit-5.2/tools/debugedit.c:3792:6: branch_false: following ‘false’ branch...
debugedit-5.2/tools/debugedit.c:3797:7: branch_false: ...to here
debugedit-5.2/tools/debugedit.c:3797:6: branch_false: following ‘false’ branch...
debugedit-5.2/tools/debugedit.c:3803:20: branch_false: ...to here
debugedit-5.2/tools/debugedit.c:3810:6: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
debugedit-5.2/tools/debugedit.c:3815:9: branch_false: ...to here
debugedit-5.2/tools/debugedit.c:3815:9: call_function: calling ‘fdopen_dso’ from ‘main’
debugedit-5.2/tools/debugedit.c:3815:9: return_function: returning to ‘main’ from ‘fdopen_dso’
debugedit-5.2/tools/debugedit.c:3816:6: branch_false: following ‘false’ branch...
debugedit-5.2/tools/debugedit.c:3816:6: branch_false: ...to here
debugedit-5.2/tools/debugedit.c:3819:15: branch_true: following ‘true’ branch...
debugedit-5.2/tools/debugedit.c:3823:15: branch_true: ...to here
debugedit-5.2/tools/debugedit.c:3823:15: danger: use of uninitialized value ‘*<unknown>.shdr[i].sh_type’ here
# 3821|         const char *name;
# 3822|   
# 3823|->       switch (dso->shdr[i].sh_type)
# 3824|   	{
# 3825|   	case SHT_MIPS_DWARF:

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-149.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namedebugedit-5.3-3.fc45
diffbase-store-results-to/tmp/tmp87_kwq_b/debugedit-5.3-3.fc45.tar.xz
diffbase-time-created2026-08-03 13:47:31
diffbase-time-finished2026-08-03 13:49:00
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp87_kwq_b/debugedit-5.3-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp87_kwq_b/debugedit-5.3-3.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.HEAD-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-149.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namedebugedit-5.2-6.fc44
store-results-to/tmp/tmpofufot2f/debugedit-5.2-6.fc44.tar.xz
time-created2026-08-03 13:45:07
time-finished2026-08-03 13:47:23
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpofufot2f/debugedit-5.2-6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpofufot2f/debugedit-5.2-6.fc44.src.rpm'
tool-versioncsmock-3.8.7.HEAD-1.el9