Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
xen-4.20.1/tools/xentrace/xenalyze.c:327:14: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(fn, "rb")’ where non-null expected
xen-4.20.1/tools/xentrace/xenalyze.c:10924:5: enter_function: entry to ‘main’
xen-4.20.1/tools/xentrace/xenalyze.c:10930:8: branch_false: following ‘false’ branch...
xen-4.20.1/tools/xentrace/xenalyze.c:10933:18: branch_false: ...to here
xen-4.20.1/tools/xentrace/xenalyze.c:10935:9: call_function: inlined call to ‘error’ from ‘main’
xen-4.20.1/tools/xentrace/xenalyze.c:10942:18: branch_false: ...to here
xen-4.20.1/tools/xentrace/xenalyze.c:10945:8: branch_true: following ‘true’ branch...
xen-4.20.1/tools/xentrace/xenalyze.c:10946:9: branch_true: ...to here
xen-4.20.1/tools/xentrace/xenalyze.c:10946:9: call_function: calling ‘parse_symbol_file’ from ‘main’
#  325|           /* FIXME -- use regexp.  This won't work for symbols with spaces (yes they exist) */
#  326|           (*p)->symbols[(*p)->count].addr = 0xDEADBEEF;
#  327|->         if ( fscanf(symbol_file, "%llx %128s",
#  328|                  &(*p)->symbols[(*p)->count].addr,
#  329|                       (*p)->symbols[(*p)->count].name) == 0 )

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
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-169.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namexen-4.20.2-2.fc44
diffbase-store-results-to/tmp/tmpsunzp3ro/xen-4.20.2-2.fc44.tar.xz
diffbase-time-created2026-01-08 22:22:57
diffbase-time-finished2026-01-08 22:34:20
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpsunzp3ro/xen-4.20.2-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpsunzp3ro/xen-4.20.2-2.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-169.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namexen-4.20.1-6.fc43
store-results-to/tmp/tmpftvjpvau/xen-4.20.1-6.fc43.tar.xz
time-created2026-01-08 22:10:01
time-finished2026-01-08 22:21:58
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpftvjpvau/xen-4.20.1-6.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpftvjpvau/xen-4.20.1-6.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9