Newly introduced findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/usr/share/xdp-tools/test_runner.sh:253:11: warning[SC2034]: pids appears unused. Verify use (or export if used externally).
#  251|   
#  252|       local OUTPUT_FILE="${STATEDIR}/proc/${PID}"
#  253|->     local pids
#  254|   
#  255|       kill_process_group $PID

Error: SHELLCHECK_WARNING (CWE-758): [#def2]
/usr/share/xdp-tools/tests/libxdp/test-libxdp.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
#    1|-> # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
#    2|   
#    3|   ALL_TESTS="test_link_so test_link_a test_old_dispatcher test_xdp_frags test_xsk_prog_refcnt_bpffs test_xsk_prog_refcnt_legacy test_xsk_non_privileged test_link_detach test_xsk_umem_flags"

Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/share/xdp-tools/tests/libxdp/test-libxdp.sh:3:1: warning[SC2034]: ALL_TESTS appears unused. Verify use (or export if used externally).
#    1|   # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
#    2|   
#    3|-> ALL_TESTS="test_link_so test_link_a test_old_dispatcher test_xdp_frags test_xsk_prog_refcnt_bpffs test_xsk_prog_refcnt_legacy test_xsk_non_privileged test_link_detach test_xsk_umem_flags"
#    4|   
#    5|   TESTS_DIR=$(dirname "${BASH_SOURCE[0]}")

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/share/xdp-tools/tests/xdpdump/test-xdpdump.sh:10:1: warning[SC2034]: TEST_RETRIES appears unused. Verify use (or export if used externally).
#    8|   XDPDUMP=${XDPDUMP:-./xdpdump}
#    9|   XDP_LOADER=${XDP_LOADER:-../xdp-loader/xdp-loader}
#   10|-> TEST_RETRIES=3
#   11|   
#   12|   RESULT=""

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.90.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
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-97.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-gcc-latest-x86_64
diffbase-project-namexdp-tools-1.5.6-1.fc43
diffbase-store-results-to/tmp/tmppls9aw5g/xdp-tools-1.5.6-1.fc43.tar.xz
diffbase-time-created2025-10-28 20:38:52
diffbase-time-finished2025-10-28 20:41:40
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmppls9aw5g/xdp-tools-1.5.6-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmppls9aw5g/xdp-tools-1.5.6-1.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-97.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-gcc-latest-x86_64
project-namexdp-tools-1.5.7-1.fc44
store-results-to/tmp/tmpyolxo6dg/xdp-tools-1.5.7-1.fc44.tar.xz
time-created2025-10-28 20:41:59
time-finished2025-10-28 20:44:15
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpyolxo6dg/xdp-tools-1.5.7-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpyolxo6dg/xdp-tools-1.5.7-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9