python-debugpy-1.8.20-1.20260331033636947871.pr2

List of Findings

Error: SHELLCHECK_WARNING (CWE-758): [#def1]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
#    1|-> set -e

#    2|   

#    3|   ARCH="$(uname -m)"


Error: SHELLCHECK_WARNING: [#def2]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:1:7: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|-> set -e

#    2|   

#    3|   ARCH="$(uname -m)"


Error: SHELLCHECK_WARNING: [#def3]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:2:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|   set -e

#    2|-> 

#    3|   ARCH="$(uname -m)"

#    4|   case $ARCH in


Error: SHELLCHECK_WARNING: [#def4]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:3:19: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|   set -e

#    2|   

#    3|-> ARCH="$(uname -m)"

#    4|   case $ARCH in

#    5|       i*86) SUFFIX=x86;;


Error: SHELLCHECK_WARNING: [#def5]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:4:14: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    2|   

#    3|   ARCH="$(uname -m)"

#    4|-> case $ARCH in

#    5|       i*86) SUFFIX=x86;;

#    6|       x86_64*) SUFFIX=amd64;;


Error: SHELLCHECK_WARNING: [#def6]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:5:23: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    3|   ARCH="$(uname -m)"

#    4|   case $ARCH in

#    5|->     i*86) SUFFIX=x86;;

#    6|       x86_64*) SUFFIX=amd64;;

#    7|       *) echo >&2 "unsupported: $ARCH, this script may not work";;


Error: SHELLCHECK_WARNING: [#def7]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:6:28: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    4|   case $ARCH in

#    5|       i*86) SUFFIX=x86;;

#    6|->     x86_64*) SUFFIX=amd64;;

#    7|       *) echo >&2 "unsupported: $ARCH, this script may not work";;

#    8|   esac


Error: SHELLCHECK_WARNING: [#def8]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:7:65: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    5|       i*86) SUFFIX=x86;;

#    6|       x86_64*) SUFFIX=amd64;;

#    7|->     *) echo >&2 "unsupported: $ARCH, this script may not work";;

#    8|   esac

#    9|   


Error: SHELLCHECK_WARNING: [#def9]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:8:5: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    6|       x86_64*) SUFFIX=amd64;;

#    7|       *) echo >&2 "unsupported: $ARCH, this script may not work";;

#    8|-> esac

#    9|   

#   10|   SRC="$(dirname "$0")/.."


Error: SHELLCHECK_WARNING: [#def10]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:9:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    7|       *) echo >&2 "unsupported: $ARCH, this script may not work";;

#    8|   esac

#    9|-> 

#   10|   SRC="$(dirname "$0")/.."

#   11|   g++ -std=c++11 -shared -fPIC -O2 -D_FORTIFY_SOURCE=2 -nostartfiles -fstack-protector-strong $SRC/linux_and_mac/attach.cpp -o $SRC/attach_linux_$SUFFIX.so


Error: SHELLCHECK_WARNING: [#def11]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:10:25: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    8|   esac

#    9|   

#   10|-> SRC="$(dirname "$0")/.."

#   11|   g++ -std=c++11 -shared -fPIC -O2 -D_FORTIFY_SOURCE=2 -nostartfiles -fstack-protector-strong $SRC/linux_and_mac/attach.cpp -o $SRC/attach_linux_$SUFFIX.so


Error: SHELLCHECK_WARNING: [#def12]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:11:154: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    9|   

#   10|   SRC="$(dirname "$0")/.."

#   11|-> g++ -std=c++11 -shared -fPIC -O2 -D_FORTIFY_SOURCE=2 -nostartfiles -fstack-protector-strong $SRC/linux_and_mac/attach.cpp -o $SRC/attach_linux_$SUFFIX.so


Error: SHELLCHECK_WARNING: [#def13]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:1:12: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|-> #!/bin/bash

#    2|   set -e

#    3|   SRC="$(dirname "$0")/.."


Error: SHELLCHECK_WARNING: [#def14]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:2:7: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|   #!/bin/bash

#    2|-> set -e

#    3|   SRC="$(dirname "$0")/.."

#    4|   


Error: SHELLCHECK_WARNING: [#def15]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:3:25: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|   #!/bin/bash

#    2|   set -e

#    3|-> SRC="$(dirname "$0")/.."

#    4|   

#    5|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"


Error: SHELLCHECK_WARNING: [#def16]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:4:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    2|   set -e

#    3|   SRC="$(dirname "$0")/.."

#    4|-> 

#    5|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"

#    6|   g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc


Error: SHELLCHECK_WARNING: [#def17]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:5:126: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    3|   SRC="$(dirname "$0")/.."

#    4|   

#    5|-> g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"

#    6|   g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc

#    7|   rm "$SRC/attach_arm64.o"


Error: SHELLCHECK_WARNING: [#def18]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:6:97: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    4|   

#    5|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"

#    6|-> g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc

#    7|   rm "$SRC/attach_arm64.o"

#    8|   


Error: SHELLCHECK_WARNING: [#def19]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:7:25: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    5|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"

#    6|   g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc

#    7|-> rm "$SRC/attach_arm64.o"

#    8|   

#    9|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"


Error: SHELLCHECK_WARNING: [#def20]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:8:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    6|   g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc

#    7|   rm "$SRC/attach_arm64.o"

#    8|-> 

#    9|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"

#   10|   g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc


Error: SHELLCHECK_WARNING: [#def21]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:9:128: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    7|   rm "$SRC/attach_arm64.o"

#    8|   

#    9|-> g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"

#   10|   g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc

#   11|   rm "$SRC/attach_x86_64.o"


Error: SHELLCHECK_WARNING: [#def22]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:10:100: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    8|   

#    9|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"

#   10|-> g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc

#   11|   rm "$SRC/attach_x86_64.o"

#   12|   


Error: SHELLCHECK_WARNING: [#def23]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:11:26: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    9|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"

#   10|   g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc

#   11|-> rm "$SRC/attach_x86_64.o"

#   12|   

#   13|   lipo -create "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib" -output "$SRC/attach.dylib"


Error: SHELLCHECK_WARNING: [#def24]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:12:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#   10|   g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc

#   11|   rm "$SRC/attach_x86_64.o"

#   12|-> 

#   13|   lipo -create "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib" -output "$SRC/attach.dylib"

#   14|   rm "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib"


Error: SHELLCHECK_WARNING: [#def25]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:13:94: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#   11|   rm "$SRC/attach_x86_64.o"

#   12|   

#   13|-> lipo -create "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib" -output "$SRC/attach.dylib"

#   14|   rm "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib"


Error: SHELLCHECK_WARNING: [#def26]
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:14:56: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#   12|   

#   13|   lipo -create "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib" -output "$SRC/attach.dylib"

#   14|-> rm "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib"


Error: COMPILER_WARNING (CWE-1164): [#def27]
debugpy-1.8.20/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c:19564:18: warning[-Wunused-function]: ‘__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values’ defined but not used
#19564 | static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(CYTHON_UNUSED PyObject *__pyx_v_py_db, PyObject *__pyx_v_frame) {
#      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#19562|    */

#19563|   

#19564|-> static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(CYTHON_UNUSED PyObject *__pyx_v_py_db, PyObject *__pyx_v_frame) {

#19565|     PyObject *__pyx_v_f_locals_back = NULL;

#19566|     PyObject *__pyx_r = NULL;


Scan Properties

analyzer-version-clippy1.94.1
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-219.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-debugpy-1.8.20-1.20260331033636947871.pr2
store-results-to/tmp/tmpa_uchpql/python-debugpy-1.8.20-1.20260331033636947871.pr2.tar.xz
time-created2026-03-31 03:49:35
time-finished2026-03-31 03:51:59
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpa_uchpql/python-debugpy-1.8.20-1.20260331033636947871.pr2.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpa_uchpql/python-debugpy-1.8.20-1.20260331033636947871.pr2.src.rpm'
tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9