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.95.0
analyzer-version-cppcheck2.20.0
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.95.0
diffbase-analyzer-version-cppcheck2.20.0
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-127.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-2.fc45
diffbase-store-results-to/tmp/tmpdri0b1e4/debugedit-5.3-2.fc45.tar.xz
diffbase-time-created2026-06-01 11:46:09
diffbase-time-finished2026-06-01 11:47:38
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpdri0b1e4/debugedit-5.3-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpdri0b1e4/debugedit-5.3-2.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-127.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/tmpj36edpf6/debugedit-5.2-6.fc44.tar.xz
time-created2026-06-01 11:44:07
time-finished2026-06-01 11:46:01
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpj36edpf6/debugedit-5.2-6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpj36edpf6/debugedit-5.2-6.fc44.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9