python3.12-3.12.3-2.fc41

List of Defects

Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/bin/python3.12-config:2:26: warning[SC2046]: Quote this to prevent word splitting.
#    1|   #!/usr/bin/sh
#    2|-> exec /usr/bin/python3.12-`uname -m`-config "$@"

Error: SHELLCHECK_WARNING (CWE-156): [#def2]
/usr/bin/python3.12-x86_64-config:18:22: warning[SC2046]: Quote this to prevent word splitting.
#   16|   installed_prefix ()
#   17|   {
#   18|->     RESULT=$(dirname $(cd $(dirname "$1") && pwd -P))
#   19|       if which readlink >/dev/null 2>&1 ; then
#   20|           if readlink -f "$RESULT" >/dev/null 2>&1; then

Error: SHELLCHECK_WARNING (CWE-156): [#def3]
/usr/bin/python3.12-x86_64-config:18:27: warning[SC2046]: Quote this to prevent word splitting.
#   16|   installed_prefix ()
#   17|   {
#   18|->     RESULT=$(dirname $(cd $(dirname "$1") && pwd -P))
#   19|       if which readlink >/dev/null 2>&1 ; then
#   20|           if readlink -f "$RESULT" >/dev/null 2>&1; then

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/bin/python3.12-x86_64-config:34:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
#   32|   # substitution, issue #22140.
#   33|   prefix="/usr"
#   34|-> exec_prefix="/usr"
#   35|   exec_prefix_real=${prefix_real}
#   36|   includedir=$(echo "/usr/include" | sed "s#$prefix#$prefix_real#")

Error: SHELLCHECK_WARNING (CWE-563): [#def5]
/usr/bin/python3.12-x86_64-config:47:1: warning[SC2034]: LDLIBRARY appears unused. Verify use (or export if used externally).
#   45|   LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} -ldl  $SYSLIBS"
#   46|   BASECFLAGS=" -fno-strict-overflow -Wsign-compare"
#   47|-> LDLIBRARY="libpython${LDVERSION}.so"
#   48|   OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions "
#   49|   PY_ENABLE_SHARED="1"

Error: SHELLCHECK_WARNING (CWE-563): [#def6]
/usr/bin/python3.12-x86_64-config:51:1: warning[SC2034]: LIBDEST appears unused. Verify use (or export if used externally).
#   49|   PY_ENABLE_SHARED="1"
#   50|   LDVERSION="${VERSION}${ABIFLAGS}"
#   51|-> LIBDEST=${prefix_real}/lib/python${VERSION}
#   52|   LIBPL=$(echo "${prefix}/lib64/python3.12/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#")
#   53|   SO=".cpython-312-x86_64-linux-gnu.so"

Error: SHELLCHECK_WARNING (CWE-563): [#def7]
/usr/bin/python3.12-x86_64-config:54:1: warning[SC2034]: PYTHONFRAMEWORK appears unused. Verify use (or export if used externally).
#   52|   LIBPL=$(echo "${prefix}/lib64/python3.12/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#")
#   53|   SO=".cpython-312-x86_64-linux-gnu.so"
#   54|-> PYTHONFRAMEWORK=""
#   55|   INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"
#   56|   PLATINCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"

Error: SHELLCHECK_WARNING (CWE-569): [#def8]
/usr/bin/python3.12-x86_64-config:60:12: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
#   58|   
#   59|   # Scan for --help or unknown argument.
#   60|-> for ARG in $*
#   61|   do
#   62|       case $ARG in

Error: SHELLCHECK_WARNING (CWE-156): [#def9]
/usr/bin/python3.12d-config:2:27: warning[SC2046]: Quote this to prevent word splitting.
#    1|   #!/usr/bin/sh
#    2|-> exec /usr/bin/python3.12d-`uname -m`-config "$@"

Error: SHELLCHECK_WARNING (CWE-156): [#def10]
/usr/bin/python3.12d-x86_64-config:18:22: warning[SC2046]: Quote this to prevent word splitting.
#   16|   installed_prefix ()
#   17|   {
#   18|->     RESULT=$(dirname $(cd $(dirname "$1") && pwd -P))
#   19|       if which readlink >/dev/null 2>&1 ; then
#   20|           if readlink -f "$RESULT" >/dev/null 2>&1; then

Error: SHELLCHECK_WARNING (CWE-156): [#def11]
/usr/bin/python3.12d-x86_64-config:18:27: warning[SC2046]: Quote this to prevent word splitting.
#   16|   installed_prefix ()
#   17|   {
#   18|->     RESULT=$(dirname $(cd $(dirname "$1") && pwd -P))
#   19|       if which readlink >/dev/null 2>&1 ; then
#   20|           if readlink -f "$RESULT" >/dev/null 2>&1; then

Error: SHELLCHECK_WARNING (CWE-563): [#def12]
/usr/bin/python3.12d-x86_64-config:34:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
#   32|   # substitution, issue #22140.
#   33|   prefix="/usr"
#   34|-> exec_prefix="/usr"
#   35|   exec_prefix_real=${prefix_real}
#   36|   includedir=$(echo "/usr/include" | sed "s#$prefix#$prefix_real#")

Error: SHELLCHECK_WARNING (CWE-563): [#def13]
/usr/bin/python3.12d-x86_64-config:47:1: warning[SC2034]: LDLIBRARY appears unused. Verify use (or export if used externally).
#   45|   LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} -ldl  $SYSLIBS"
#   46|   BASECFLAGS=" -fno-strict-overflow -Wsign-compare -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
#   47|-> LDLIBRARY="libpython${LDVERSION}.so"
#   48|   OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 -fcf-protection -fexceptions "
#   49|   PY_ENABLE_SHARED="1"

Error: SHELLCHECK_WARNING (CWE-563): [#def14]
/usr/bin/python3.12d-x86_64-config:51:1: warning[SC2034]: LIBDEST appears unused. Verify use (or export if used externally).
#   49|   PY_ENABLE_SHARED="1"
#   50|   LDVERSION="${VERSION}${ABIFLAGS}"
#   51|-> LIBDEST=${prefix_real}/lib/python${VERSION}
#   52|   LIBPL=$(echo "${prefix}/lib64/python3.12/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#")
#   53|   SO=".cpython-312d-x86_64-linux-gnu.so"

Error: SHELLCHECK_WARNING (CWE-563): [#def15]
/usr/bin/python3.12d-x86_64-config:54:1: warning[SC2034]: PYTHONFRAMEWORK appears unused. Verify use (or export if used externally).
#   52|   LIBPL=$(echo "${prefix}/lib64/python3.12/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#")
#   53|   SO=".cpython-312d-x86_64-linux-gnu.so"
#   54|-> PYTHONFRAMEWORK=""
#   55|   INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"
#   56|   PLATINCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"

Error: SHELLCHECK_WARNING (CWE-569): [#def16]
/usr/bin/python3.12d-x86_64-config:60:12: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
#   58|   
#   59|   # Scan for --help or unknown argument.
#   60|-> for ARG in $*
#   61|   do
#   62|       case $ARG in

Error: SHELLCHECK_WARNING: [#def17]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:142:33: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
#  140|           shift;;
#  141|   
#  142|->     --help) echo "$usage"; exit $?;;
#  143|   
#  144|       -m) mode=$2

Error: SHELLCHECK_WARNING: [#def18]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:173:47: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
#  171|       -T) is_target_a_directory=never;;
#  172|   
#  173|->     --version) echo "$0 $scriptversion"; exit $?;;
#  174|   
#  175|       --) shift

Error: SHELLCHECK_WARNING (CWE-456): [#def19]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:204:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  202|       if test -n "$dst_arg"; then
#  203|         # $@ is not empty: it contains at least $arg.
#  204|->       set fnord "$@" "$dst_arg"
#  205|         shift # fnord
#  206|       fi

Error: SHELLCHECK_WARNING (CWE-569): [#def20]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:237:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#  235|   if test -z "$dir_arg"; then
#  236|     do_exit='(exit $ret); exit $ret'
#  237|->   trap "ret=129; $do_exit" 1
#  238|     trap "ret=130; $do_exit" 2
#  239|     trap "ret=141; $do_exit" 13

Error: SHELLCHECK_WARNING (CWE-569): [#def21]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:238:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#  236|     do_exit='(exit $ret); exit $ret'
#  237|     trap "ret=129; $do_exit" 1
#  238|->   trap "ret=130; $do_exit" 2
#  239|     trap "ret=141; $do_exit" 13
#  240|     trap "ret=143; $do_exit" 15

Error: SHELLCHECK_WARNING (CWE-569): [#def22]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:239:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#  237|     trap "ret=129; $do_exit" 1
#  238|     trap "ret=130; $do_exit" 2
#  239|->   trap "ret=141; $do_exit" 13
#  240|     trap "ret=143; $do_exit" 15
#  241|   

Error: SHELLCHECK_WARNING (CWE-398): [#def23]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:239:28: warning[SC2172]: Trapping signals by number is not well defined. Prefer signal names.
#  237|     trap "ret=129; $do_exit" 1
#  238|     trap "ret=130; $do_exit" 2
#  239|->   trap "ret=141; $do_exit" 13
#  240|     trap "ret=143; $do_exit" 15
#  241|   

Error: SHELLCHECK_WARNING (CWE-569): [#def24]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:240:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#  238|     trap "ret=130; $do_exit" 2
#  239|     trap "ret=141; $do_exit" 13
#  240|->   trap "ret=143; $do_exit" 15
#  241|   
#  242|     # Set umask so as not to create temps with too-generous modes.

Error: SHELLCHECK_WARNING: [#def25]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:339:27: warning[SC3028]: In POSIX sh, RANDOM is undefined.
#  337|   	# The $RANDOM variable is not portable (e.g., dash).  Use it
#  338|   	# here however when possible just to lower collision chance.
#  339|-> 	tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
#  340|   
#  341|   	trap '

Error: SHELLCHECK_WARNING (CWE-457): [#def26]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:341:7: warning[SC2154]: ret is referenced but not assigned.
#  339|   	tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
#  340|   
#  341|-> 	trap '
#  342|   	  ret=$?
#  343|   	  rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null

Error: SHELLCHECK_WARNING (CWE-456): [#def27]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:403:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  401|         IFS=/
#  402|         set -f
#  403|->       set fnord $dstdir
#  404|         shift
#  405|         set +f

Error: SHELLCHECK_WARNING (CWE-456): [#def28]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:488:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  486|          new=`LC_ALL=C ls -dlL "$dsttmp"  2>/dev/null` &&
#  487|          set -f &&
#  488|->        set X $old && old=:$2:$4:$5:$6 &&
#  489|          set X $new && new=:$2:$4:$5:$6 &&
#  490|          set +f &&

Error: SHELLCHECK_WARNING (CWE-456): [#def29]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/install-sh:489:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  487|          set -f &&
#  488|          set X $old && old=:$2:$4:$5:$6 &&
#  489|->        set X $new && new=:$2:$4:$5:$6 &&
#  490|          set +f &&
#  491|          test "$old" = "$new" &&

Error: SHELLCHECK_WARNING (CWE-569): [#def30]
/usr/lib64/python3.12/config-3.12-x86_64-linux-gnu/makesetup:103:10: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
#  101|   
#  102|   # Main loop
#  103|-> for i in ${*-Setup}
#  104|   do
#  105|   	case $i in

Error: SHELLCHECK_WARNING: [#def31]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:142:33: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
#  140|           shift;;
#  141|   
#  142|->     --help) echo "$usage"; exit $?;;
#  143|   
#  144|       -m) mode=$2

Error: SHELLCHECK_WARNING: [#def32]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:173:47: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
#  171|       -T) is_target_a_directory=never;;
#  172|   
#  173|->     --version) echo "$0 $scriptversion"; exit $?;;
#  174|   
#  175|       --) shift

Error: SHELLCHECK_WARNING (CWE-456): [#def33]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:204:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  202|       if test -n "$dst_arg"; then
#  203|         # $@ is not empty: it contains at least $arg.
#  204|->       set fnord "$@" "$dst_arg"
#  205|         shift # fnord
#  206|       fi

Error: SHELLCHECK_WARNING (CWE-569): [#def34]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:237:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#  235|   if test -z "$dir_arg"; then
#  236|     do_exit='(exit $ret); exit $ret'
#  237|->   trap "ret=129; $do_exit" 1
#  238|     trap "ret=130; $do_exit" 2
#  239|     trap "ret=141; $do_exit" 13

Error: SHELLCHECK_WARNING (CWE-569): [#def35]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:238:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#  236|     do_exit='(exit $ret); exit $ret'
#  237|     trap "ret=129; $do_exit" 1
#  238|->   trap "ret=130; $do_exit" 2
#  239|     trap "ret=141; $do_exit" 13
#  240|     trap "ret=143; $do_exit" 15

Error: SHELLCHECK_WARNING (CWE-569): [#def36]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:239:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#  237|     trap "ret=129; $do_exit" 1
#  238|     trap "ret=130; $do_exit" 2
#  239|->   trap "ret=141; $do_exit" 13
#  240|     trap "ret=143; $do_exit" 15
#  241|   

Error: SHELLCHECK_WARNING (CWE-398): [#def37]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:239:28: warning[SC2172]: Trapping signals by number is not well defined. Prefer signal names.
#  237|     trap "ret=129; $do_exit" 1
#  238|     trap "ret=130; $do_exit" 2
#  239|->   trap "ret=141; $do_exit" 13
#  240|     trap "ret=143; $do_exit" 15
#  241|   

Error: SHELLCHECK_WARNING (CWE-569): [#def38]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:240:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
#  238|     trap "ret=130; $do_exit" 2
#  239|     trap "ret=141; $do_exit" 13
#  240|->   trap "ret=143; $do_exit" 15
#  241|   
#  242|     # Set umask so as not to create temps with too-generous modes.

Error: SHELLCHECK_WARNING: [#def39]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:339:27: warning[SC3028]: In POSIX sh, RANDOM is undefined.
#  337|   	# The $RANDOM variable is not portable (e.g., dash).  Use it
#  338|   	# here however when possible just to lower collision chance.
#  339|-> 	tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
#  340|   
#  341|   	trap '

Error: SHELLCHECK_WARNING (CWE-457): [#def40]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:341:7: warning[SC2154]: ret is referenced but not assigned.
#  339|   	tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
#  340|   
#  341|-> 	trap '
#  342|   	  ret=$?
#  343|   	  rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null

Error: SHELLCHECK_WARNING (CWE-456): [#def41]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:403:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  401|         IFS=/
#  402|         set -f
#  403|->       set fnord $dstdir
#  404|         shift
#  405|         set +f

Error: SHELLCHECK_WARNING (CWE-456): [#def42]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:488:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  486|          new=`LC_ALL=C ls -dlL "$dsttmp"  2>/dev/null` &&
#  487|          set -f &&
#  488|->        set X $old && old=:$2:$4:$5:$6 &&
#  489|          set X $new && new=:$2:$4:$5:$6 &&
#  490|          set +f &&

Error: SHELLCHECK_WARNING (CWE-456): [#def43]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/install-sh:489:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#  487|          set -f &&
#  488|          set X $old && old=:$2:$4:$5:$6 &&
#  489|->        set X $new && new=:$2:$4:$5:$6 &&
#  490|          set +f &&
#  491|          test "$old" = "$new" &&

Error: SHELLCHECK_WARNING (CWE-569): [#def44]
/usr/lib64/python3.12/config-3.12d-x86_64-linux-gnu/makesetup:103:10: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
#  101|   
#  102|   # Main loop
#  103|-> for i in ${*-Setup}
#  104|   do
#  105|   	case $i in

Error: SHELLCHECK_WARNING (CWE-561): [#def45]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:7:1: warning[SC2093]: Remove "exec " if script should continue after this command.
#    5|       exit 4
#    6|   fi
#    7|-> EXECUTABLE="$0" exec "${INTERPRETER_UNDER_TEST}" -E - <<END_OF_PYTHON
#    8|   import os
#    9|   import zipfile

Error: SHELLCHECK_WARNING (CWE-398): [#def46]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:25:1: warning[SC2211]: This is a glob used as a command name. Was it supposed to be in ${..}, array, or is it missing quoting?
#   23|   ### Archive contents will be appended after this file. ###
#   24|   END_OF_PYTHON
#   25|-> PK-[NUL][NUL][NUL][NUL][NUL]\*OI_?S��������[NUL][NUL]-[NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL]# Test data file to be stored within a zip file.
#   26|   FAVORITE_NUMBER = 5
#   27|   PK-[NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]��[NUL][NUL][NUL][NUL]-PK,[NUL][NUL][NUL][NUL][NUL][NUL][NUL]-[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]/[NUL][NUL][NUL][NUL][NUL][NUL][NUL]x[NUL][NUL][NUL][NUL][NUL][NUL][NUL]PK[NUL][NUL][NUL][NUL]�[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]PK[NUL][NUL][NUL][NUL][NUL][NUL]/[NUL][N [...]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:25:1: note: trimmed 1 message(s) with length over 512

Error: SHELLCHECK_WARNING: [#def47]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:25:1: warning[SC2288]: This is interpreted as a command name ending with '#'. Double check syntax.
#   23|   ### Archive contents will be appended after this file. ###
#   24|   END_OF_PYTHON
#   25|-> PK-[NUL][NUL][NUL][NUL][NUL]\*OI_?S��������[NUL][NUL]-[NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL]# Test data file to be stored within a zip file.
#   26|   FAVORITE_NUMBER = 5
#   27|   PK-[NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]��[NUL][NUL][NUL][NUL]-PK,[NUL][NUL][NUL][NUL][NUL][NUL][NUL]-[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]/[NUL][NUL][NUL][NUL][NUL][NUL][NUL]x[NUL][NUL][NUL][NUL][NUL][NUL][NUL]PK[NUL][NUL][NUL][NUL]�[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]PK[NUL][NUL][NUL][NUL][NUL][NUL]/[NUL][N [...]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:25:1: note: trimmed 1 message(s) with length over 512

Error: SHELLCHECK_WARNING: [#def48]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:26:17: error[SC2283]: Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal).
#   24|   END_OF_PYTHON
#   25|   PK-[NUL][NUL][NUL][NUL][NUL]\*OI_?S��������[NUL][NUL]-[NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL]# Test data file to be stored within a zip file.
#   26|-> FAVORITE_NUMBER = 5
#   27|   PK-[NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]��[NUL][NUL][NUL][NUL]-PK,[NUL][NUL][NUL][NUL][NUL][NUL][NUL]-[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]/[NUL][NUL][NUL][NUL][NUL][NUL][NUL]x[NUL][NUL][NUL][NUL][NUL][NUL][NUL]PK[NUL][NUL][NUL][NUL]�[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]PK[NUL][NUL][NUL][NUL][NUL][NUL]/[NUL][N [...]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:26:17: note: trimmed 1 message(s) with length over 512

Error: SHELLCHECK_WARNING (CWE-398): [#def49]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:27:1: warning[SC2211]: This is a glob used as a command name. Was it supposed to be in ${..}, array, or is it missing quoting?
#   25|   PK-[NUL][NUL][NUL][NUL][NUL]\*OI_?S��������[NUL][NUL]-[NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL]# Test data file to be stored within a zip file.
#   26|   FAVORITE_NUMBER = 5
#   27|-> PK-[NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]��[NUL][NUL][NUL][NUL]-PK,[NUL][NUL][NUL][NUL][NUL][NUL][NUL]-[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]/[NUL][NUL][NUL][NUL][NUL][NUL][NUL]x[NUL][NUL][NUL][NUL][NUL][NUL][NUL]PK[NUL][NUL][NUL][NUL]�[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]PK[NUL][NUL][NUL][NUL][NUL][NUL]/[NUL][N [...]
/usr/lib64/python3.12/test/ziptestdata/exe_with_z64:27:1: note: trimmed 1 message(s) with length over 512

Error: SHELLCHECK_WARNING (CWE-561): [#def50]
/usr/lib64/python3.12/test/ziptestdata/exe_with_zip:7:1: warning[SC2093]: Remove "exec " if script should continue after this command.
#    5|       exit 4
#    6|   fi
#    7|-> EXECUTABLE="$0" exec "${INTERPRETER_UNDER_TEST}" -E - <<END_OF_PYTHON
#    8|   import os
#    9|   import zipfile

Error: SHELLCHECK_WARNING (CWE-398): [#def51]
/usr/lib64/python3.12/test/ziptestdata/exe_with_zip:26:1: warning[SC2211]: This is a glob used as a command name. Was it supposed to be in ${..}, array, or is it missing quoting?
#   24|   END_OF_PYTHON
#   25|   PK
#   26|-> [NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL]testdata_module_inside_zip.pyUT	[NUL]�w]��w]ux[NUL]�[NUL][NUL]�[NUL][NUL]# Test data file to be stored within a zip file.
#   27|   FAVORITE_NUMBER = 5
#   28|   PK

Error: SHELLCHECK_WARNING (CWE-569): [#def52]
/usr/lib64/python3.12/test/ziptestdata/exe_with_zip:26:61: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   24|   END_OF_PYTHON
#   25|   PK
#   26|-> [NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL]testdata_module_inside_zip.pyUT	[NUL]�w]��w]ux[NUL]�[NUL][NUL]�[NUL][NUL]# Test data file to be stored within a zip file.
#   27|   FAVORITE_NUMBER = 5
#   28|   PK

Error: SHELLCHECK_WARNING: [#def53]
/usr/lib64/python3.12/test/ziptestdata/exe_with_zip:27:17: error[SC2283]: Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal).
#   25|   PK
#   26|   [NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL]testdata_module_inside_zip.pyUT	[NUL]�w]��w]ux[NUL]�[NUL][NUL]�[NUL][NUL]# Test data file to be stored within a zip file.
#   27|-> FAVORITE_NUMBER = 5
#   28|   PK
#   29|   [NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]��[NUL][NUL][NUL][NUL]testdata_module_inside_zip.pyUT[NUL]�w]ux[NUL]�[NUL][NUL]�[NUL][NUL]PK[NUL][NUL][NUL][NUL][NUL][NUL]c[NUL][NUL][NUL]�[NUL][NUL][NUL][NUL][NUL]

Error: SHELLCHECK_WARNING (CWE-398): [#def54]
/usr/lib64/python3.12/test/ziptestdata/exe_with_zip:29:1: warning[SC2211]: This is a glob used as a command name. Was it supposed to be in ${..}, array, or is it missing quoting?
#   27|   FAVORITE_NUMBER = 5
#   28|   PK
#   29|-> [NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]��[NUL][NUL][NUL][NUL]testdata_module_inside_zip.pyUT[NUL]�w]ux[NUL]�[NUL][NUL]�[NUL][NUL]PK[NUL][NUL][NUL][NUL][NUL][NUL]c[NUL][NUL][NUL]�[NUL][NUL][NUL][NUL][NUL]

Error: SHELLCHECK_WARNING (CWE-569): [#def55]
/usr/lib64/python3.12/test/ziptestdata/exe_with_zip:29:75: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   27|   FAVORITE_NUMBER = 5
#   28|   PK
#   29|-> [NUL][NUL][NUL][NUL][NUL]\*OI_?SE[NUL][NUL][NUL]E[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]��[NUL][NUL][NUL][NUL]testdata_module_inside_zip.pyUT[NUL]�w]ux[NUL]�[NUL][NUL]�[NUL][NUL]PK[NUL][NUL][NUL][NUL][NUL][NUL]c[NUL][NUL][NUL]�[NUL][NUL][NUL][NUL][NUL]

Error: CLANG_WARNING: [#def56]
Python-3.12.3/Objects/listobject.c:3: included_from: Included from here.
Python-3.12.3/Include/Python.h:63: included_from: Included from here.
Python-3.12.3/Include/listobject.h:45: included_from: Included from here.
Python-3.12.3/Include/cpython/listobject.h:44:26: warning[core.NullDereference]: Array access (via field 'ob_item') results in a null pointer dereference
#   42|   PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
#   43|       PyListObject *list = _PyList_CAST(op);
#   44|->     list->ob_item[index] = value;
#   45|   }
#   46|   #define PyList_SET_ITEM(op, index, value) \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
Python-3.12.3/Include/object.h:953: included_from: Included from here.
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Python/import.c:3: included_from: Included from here.
Python-3.12.3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
Python-3.12.3/Include/cpython/object.h:374:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘outer_link’
Python-3.12.3/Python/import.c:2559:13: note: in expansion of macro ‘Py_XSETREF’
Python-3.12.3/Include/unicodeobject.h:115:5: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Python/import.c:2824:10: note: in expansion of macro ‘PyUnicode_Check’
Python-3.12.3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
Python-3.12.3/Include/unicodeobject.h:1013: included_from: Included from here.
Python-3.12.3/Include/Python.h:51: included_from: Included from here.
Python-3.12.3/Python/import.c:2843:13: note: in expansion of macro ‘PyUnicode_GET_LENGTH’
Python-3.12.3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
Python-3.12.3/Python/import.c:2847:20: note: in expansion of macro ‘Py_NewRef’
Python-3.12.3/Include/object.h:814:5: note: in expansion of macro ‘Py_INCREF’
Python-3.12.3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
Python-3.12.3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
Python-3.12.3/Python/import.c:2941:5: note: in expansion of macro ‘Py_XDECREF’
Python-3.12.3/Include/object.h:798:9: note: in expansion of macro ‘Py_DECREF’
Python-3.12.3/Include/object.h:700:9: note: in expansion of macro ‘_Py_IsImmortal’
Python-3.12.3/Include/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’
Python-3.12.3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
Python-3.12.3/Python/import.c:2941:5: note: in expansion of macro ‘Py_XDECREF’
Python-3.12.3/Python/import.c:2942:5: note: in expansion of macro ‘Py_XDECREF’
Python-3.12.3/Python/import.c:2942:5: note: in expansion of macro ‘Py_XDECREF’
Python-3.12.3/Python/import.c:2943:5: note: in expansion of macro ‘Py_XDECREF’
Python-3.12.3/Python/import.c:2943:5: note: in expansion of macro ‘Py_XDECREF’
Python-3.12.3/Python/import.c:2559:13: note: in expansion of macro ‘Py_XSETREF’
#  372|       do { \
#  373|           _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
#  374|->         _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
#  375|           *_tmp_dst_ptr = (src); \
#  376|           Py_XDECREF(_tmp_old_dst); \

Error: CLANG_WARNING: [#def58]
Python-3.12.3/Objects/longobject.c:8: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_long.h:160:13: warning[core.NullDereference]: Dereference of null pointer
#  158|   _PyLong_IsZero(const PyLongObject *op)
#  159|   {
#  160|->     return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
#  161|   }
#  162|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
Python-3.12.3/Include/internal/pycore_flowgraph.h:11: included_from: Included from here.
Python-3.12.3/Python/flowgraph.c:5: included_from: Included from here.
Python-3.12.3/Python/flowgraph.c: scope_hint: In function ‘is_jump’
Python-3.12.3/Include/internal/pycore_opcode_utils.h:21:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i’
Python-3.12.3/Python/flowgraph.c:48:12: note: in expansion of macro ‘IS_JUMP_OPCODE’
Python-3.12.3/Python/flowgraph.c: scope_hint: In function ‘is_jump’
Python-3.12.3/Python/flowgraph.c:48:12: note: in expansion of macro ‘IS_JUMP_OPCODE’
#   19|   
#   20|   #define IS_JUMP_OPCODE(opcode) \
#   21|->          is_bit_set_in_table(_PyOpcode_Jump, opcode)
#   22|   
#   23|   #define IS_BLOCK_PUSH_OPCODE(opcode) \

Error: CPPCHECK_WARNING (CWE-476): [#def60]
Python-3.12.3/Include/object.h:220: error[ctunullpointer]: Null pointer dereference: ob
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: CPPCHECK_WARNING (CWE-476): [#def61]
Python-3.12.3/Include/object.h:220: warning[nullPointer]: Possible null pointer dereference: ob
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: CLANG_WARNING: [#def62]
Python-3.12.3/Modules/_testcapi/bytearray.c:2: included_from: Included from here.
Python-3.12.3/Modules/_testcapi/parts.h:25: included_from: Included from here.
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/object.h:220:12: warning[core.NullDereference]: Access to field 'ob_type' results in a dereference of a null pointer (loaded from variable 'ob')
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
Python-3.12.3/Include/object.h:220:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Python-3.12.3/Objects/genericaliasobject.c: scope_hint: In function ‘_Py_subs_parameters’
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Objects/genericaliasobject.c:469:20: note: in expansion of macro ‘PyTuple_Check’
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Objects/genericaliasobject.c:469:20: note: in expansion of macro ‘PyTuple_Check’
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
Python-3.12.3/Include/object.h:220:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
Python-3.12.3/Objects/genericaliasobject.c: scope_hint: In function ‘_Py_subs_parameters’
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Objects/genericaliasobject.c:456:17: note: in expansion of macro ‘PyTuple_Check’
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Objects/genericaliasobject.c:456:17: note: in expansion of macro ‘PyTuple_Check’
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Objects/genericaliasobject.c:456:17: note: in expansion of macro ‘PyTuple_Check’
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
Python-3.12.3/Include/object.h:220:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’
Python-3.12.3/Modules/_testcapi/bytearray.c:3: included_from: Included from here.
Python-3.12.3/Modules/_testcapi/bytearray.c: scope_hint: In function ‘bytearray_checkexact’
Python-3.12.3/Modules/_testcapi/bytearray.c:18:5: note: in expansion of macro ‘NULLABLE’
Python-3.12.3/Include/bytearrayobject.h:25:38: note: in expansion of macro ‘Py_IS_TYPE’
Python-3.12.3/Modules/_testcapi/bytearray.c:19:28: note: in expansion of macro ‘PyByteArray_CheckExact’
Python-3.12.3/Include/object.h:250:12: note: in expansion of macro ‘Py_TYPE’
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Objects/genericaliasobject.c:3: included_from: Included from here.
Python-3.12.3/Include/object.h: scope_hint: In function ‘Py_TYPE’
Python-3.12.3/Include/object.h:220:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ob’
Python-3.12.3/Include/tupleobject.h:39: included_from: Included from here.
Python-3.12.3/Include/Python.h:62: included_from: Included from here.
Python-3.12.3/Objects/genericaliasobject.c:441:26: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Objects/genericaliasobject.c:441:26: note: in expansion of macro ‘PyTuple_GET_SIZE’
/usr/include/bits/types/stack_t.h:23: included_from: Included from here.
/usr/include/signal.h:313: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_faulthandler.h:12: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_runtime.h:15: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_pystate.h:11: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_object.h:14: included_from: Included from here.
Python-3.12.3/Objects/genericaliasobject.c:4: included_from: Included from here.
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Objects/genericaliasobject.c:469:20: note: in expansion of macro ‘PyTuple_Check’
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Objects/genericaliasobject.c:469:20: note: in expansion of macro ‘PyTuple_Check’
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
Python-3.12.3/Include/object.h:220:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘op’
Python-3.12.3/Modules/_testcapi/list.c: scope_hint: In function ‘PyList_GET_SIZE’
Python-3.12.3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
Python-3.12.3/Modules/_testcapi/util.h:18:28: note: in definition of macro ‘RETURN_SIZE’
Python-3.12.3/Modules/_testcapi/list.c:35:17: note: in expansion of macro ‘PyList_GET_SIZE’
Python-3.12.3/Include/listobject.h:45: included_from: Included from here.
Python-3.12.3/Include/Python.h:63: included_from: Included from here.
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Include/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Include/cpython/listobject.h:29:13: note: in expansion of macro ‘PyList_Check’
Python-3.12.3/Include/cpython/listobject.h:34:26: note: in expansion of macro ‘_PyList_CAST’
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
Python-3.12.3/Include/object.h:220:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
Python-3.12.3/Modules/_struct.c: scope_hint: In function ‘s_pack’
Python-3.12.3/Include/object.h:953: included_from: Included from here.
Python-3.12.3/Modules/_struct.c:2239:9: note: in expansion of macro ‘Py_SETREF’
Python-3.12.3/Include/cpython/object.h:354:9: note: in expansion of macro ‘Py_DECREF’
Python-3.12.3/Modules/_struct.c:2239:9: note: in expansion of macro ‘Py_SETREF’
Python-3.12.3/Modules/_struct.c:2014:33: note: in expansion of macro ‘get_struct_state_structinst’
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
Python-3.12.3/Include/object.h:220:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘so’
Python-3.12.3/Modules/_testcapi/set.c: scope_hint: In function ‘PySet_GET_SIZE’
Python-3.12.3/Modules/_testcapi/set.c:76:5: note: in expansion of macro ‘NULLABLE’
Python-3.12.3/Modules/_testcapi/util.h:18:28: note: in definition of macro ‘RETURN_SIZE’
Python-3.12.3/Modules/_testcapi/set.c:77:17: note: in expansion of macro ‘PySet_GET_SIZE’
Python-3.12.3/Include/setobject.h:42: included_from: Included from here.
Python-3.12.3/Include/Python.h:67: included_from: Included from here.
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Include/setobject.h:31:6: note: in expansion of macro ‘Py_IS_TYPE’
Python-3.12.3/Include/cpython/setobject.h:62:13: note: in expansion of macro ‘PyAnySet_Check’
Python-3.12.3/Include/cpython/setobject.h:65:12: note: in expansion of macro ‘_PySet_CAST’
Python-3.12.3/Include/object.h:250:12: note: in expansion of macro ‘Py_TYPE’
#  218|   // bpo-39573: The Py_SET_TYPE() function must be used to set an object type.
#  219|   static inline PyTypeObject* Py_TYPE(PyObject *ob) {
#  220|->     return ob->ob_type;
#  221|   }
#  222|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: CPPCHECK_WARNING (CWE-476): [#def70]
Python-3.12.3/Include/object.h:231: error[ctunullpointer]: Null pointer dereference: ob
#  229|   // bpo-39573: The Py_SET_SIZE() function must be used to set an object size.
#  230|   static inline Py_ssize_t Py_SIZE(PyObject *ob) {
#  231|->     assert(ob->ob_type != &PyLong_Type);
#  232|       assert(ob->ob_type != &PyBool_Type);
#  233|       return  _PyVarObject_CAST(ob)->ob_size;

Error: CPPCHECK_WARNING (CWE-476): [#def71]
Python-3.12.3/Include/object.h:231: warning[nullPointer]: Possible null pointer dereference: ob
#  229|   // bpo-39573: The Py_SET_SIZE() function must be used to set an object size.
#  230|   static inline Py_ssize_t Py_SIZE(PyObject *ob) {
#  231|->     assert(ob->ob_type != &PyLong_Type);
#  232|       assert(ob->ob_type != &PyBool_Type);
#  233|       return  _PyVarObject_CAST(ob)->ob_size;

Error: CPPCHECK_WARNING (CWE-476): [#def72]
Python-3.12.3/Include/object.h:232: warning[nullPointer]: Possible null pointer dereference: ob
#  230|   static inline Py_ssize_t Py_SIZE(PyObject *ob) {
#  231|       assert(ob->ob_type != &PyLong_Type);
#  232|->     assert(ob->ob_type != &PyBool_Type);
#  233|       return  _PyVarObject_CAST(ob)->ob_size;
#  234|   }

Error: CPPCHECK_WARNING (CWE-476): [#def73]
Python-3.12.3/Include/object.h:233: warning[nullPointer]: Possible null pointer dereference: (struct PyVarObject*)(ob)
#  231|       assert(ob->ob_type != &PyLong_Type);
#  232|       assert(ob->ob_type != &PyBool_Type);
#  233|->     return  _PyVarObject_CAST(ob)->ob_size;
#  234|   }
#  235|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: CLANG_WARNING: [#def74]
Python-3.12.3/Parser/pegen.c:1: included_from: Included from here.
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/object.h:242:12: warning[core.NullDereference]: Dereference of null pointer
#  240|   {
#  241|   #if SIZEOF_VOID_P > 4
#  242|->     return _Py_CAST(PY_INT32_T, op->ob_refcnt) < 0;
#  243|   #else
#  244|       return op->ob_refcnt == _Py_IMMORTAL_REFCNT;

Error: CLANG_WARNING: [#def75]
Python-3.12.3/Modules/_sre/sre.c:43: included_from: Included from here.
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/object.h:280:12: warning[core.NullDereference]: Dereference of null pointer
#  278|   
#  279|   static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
#  280|->     assert(ob->ob_base.ob_type != &PyLong_Type);
#  281|       assert(ob->ob_base.ob_type != &PyBool_Type);
#  282|       ob->ob_size = size;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
Python-3.12.3/Include/object.h:282:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
Python-3.12.3/Modules/_sre/sre.c: scope_hint: In function ‘expand_template.part.0’
Python-3.12.3/Include/unicodeobject.h:115:5: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Modules/_sre/sre.c:2830:10: note: in expansion of macro ‘PyUnicode_Check’
Python-3.12.3/Modules/_sre/sre.c:2839:20: note: in expansion of macro ‘Py_NewRef’
Python-3.12.3/Modules/_sre/sre.c:2865:9: note: in expansion of macro ‘Py_SET_SIZE’
#  280|       assert(ob->ob_base.ob_type != &PyLong_Type);
#  281|       assert(ob->ob_base.ob_type != &PyBool_Type);
#  282|->     ob->ob_size = size;
#  283|   }
#  284|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: CLANG_WARNING: [#def77]
Python-3.12.3/Modules/_sre/sre.c:43: included_from: Included from here.
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/object.h:282:17: warning[core.NullDereference]: Access to field 'ob_size' results in a dereference of a null pointer (loaded from variable 'ob')
#  280|       assert(ob->ob_base.ob_type != &PyLong_Type);
#  281|       assert(ob->ob_base.ob_type != &PyBool_Type);
#  282|->     ob->ob_size = size;
#  283|   }
#  284|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Error: CLANG_WARNING: [#def78]
Python-3.12.3/Parser/pegen.c:1: included_from: Included from here.
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/object.h:681:9: warning[core.NullDereference]: Dereference of null pointer
#  679|   static inline void Py_DECREF(const char *filename, int lineno, PyObject *op)
#  680|   {
#  681|->     if (op->ob_refcnt <= 0) {
#  682|           _Py_NegativeRefcount(filename, lineno, op);
#  683|       }

Error: COMPILER_WARNING: [#def79]
Python-3.12.3/Modules/_abc.c: scope_hint: In function ‘PyInit__abc’
Python-3.12.3/Modules/_abc.c:967:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_abc.gcda’ profile count data file not found
#  965|   {
#  966|       return PyModuleDef_Init(&_abcmodule);
#  967|-> }

Error: COMPILER_WARNING: [#def80]
Python-3.12.3/Modules/_asynciomodule.c: scope_hint: In function ‘PyInit__asyncio’
Python-3.12.3/Modules/_asynciomodule.c:3815:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_asynciomodule.gcda’ profile count data file not found
# 3813|   {
# 3814|       return PyModuleDef_Init(&_asynciomodule);
# 3815|-> }

Error: COMPILER_WARNING: [#def81]
Python-3.12.3/Modules/_bisectmodule.c: scope_hint: In function ‘PyInit__bisect’
Python-3.12.3/Modules/_bisectmodule.c:479:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_bisectmodule.gcda’ profile count data file not found
#  477|   {
#  478|       return PyModuleDef_Init(&_bisectmodule);
#  479|-> }

Error: COMPILER_WARNING: [#def82]
Python-3.12.3/Modules/_blake2/blake2b_impl.c: scope_hint: In function ‘py_blake2b_dealloc’
Python-3.12.3/Modules/_blake2/blake2b_impl.c:416:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/blake2b_impl.gcda’ profile count data file not found
#  414|       .flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_IMMUTABLETYPE,
#  415|       .slots = blake2b_type_slots
#  416|-> };

Error: COMPILER_WARNING: [#def83]
Python-3.12.3/Modules/_blake2/blake2module.c: scope_hint: In function ‘PyInit__blake2’
Python-3.12.3/Modules/_blake2/blake2module.c:159:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/blake2module.gcda’ profile count data file not found
#  157|   {
#  158|       return PyModuleDef_Init(&blake2_module);
#  159|-> }

Error: COMPILER_WARNING: [#def84]
Python-3.12.3/Modules/_blake2/blake2s_impl.c: scope_hint: In function ‘py_blake2s_dealloc’
Python-3.12.3/Modules/_blake2/blake2s_impl.c:416:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/blake2s_impl.gcda’ profile count data file not found
#  414|       .flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_IMMUTABLETYPE,
#  415|       .slots = blake2s_type_slots
#  416|-> };

Error: COMPILER_WARNING: [#def85]
Python-3.12.3/Modules/_bz2module.c: scope_hint: In function ‘PyInit__bz2’
Python-3.12.3/Modules/_bz2module.c:820:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_bz2module.gcda’ profile count data file not found
#  818|   {
#  819|       return PyModuleDef_Init(&_bz2module);
#  820|-> }

Error: COMPILER_WARNING: [#def86]
Python-3.12.3/Modules/_codecsmodule.c: scope_hint: In function ‘PyInit__codecs’
Python-3.12.3/Modules/_codecsmodule.c:1072:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_codecsmodule.gcda’ profile count data file not found
# 1070|   {
# 1071|       return PyModuleDef_Init(&codecsmodule);
# 1072|-> }

Error: COMPILER_WARNING: [#def87]
Python-3.12.3/Modules/_collectionsmodule.c: scope_hint: In function ‘PyInit__collections’
Python-3.12.3/Modules/_collectionsmodule.c:2595:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_collectionsmodule.gcda’ profile count data file not found
# 2593|   {
# 2594|       return PyModuleDef_Init(&_collectionsmodule);
# 2595|-> }

Error: COMPILER_WARNING: [#def88]
Python-3.12.3/Modules/_contextvarsmodule.c: scope_hint: In function ‘PyInit__contextvars’
Python-3.12.3/Modules/_contextvarsmodule.c:67:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_contextvarsmodule.gcda’ profile count data file not found
#   65|   {
#   66|       return PyModuleDef_Init(&_contextvarsmodule);
#   67|-> }

Error: COMPILER_WARNING: [#def89]
Python-3.12.3/Modules/_cryptmodule.c: scope_hint: In function ‘PyInit__crypt’
Python-3.12.3/Modules/_cryptmodule.c:81:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_cryptmodule.gcda’ profile count data file not found
#   79|   {
#   80|       return PyModuleDef_Init(&cryptmodule);
#   81|-> }

Error: COMPILER_WARNING: [#def90]
Python-3.12.3/Modules/_csv.c: scope_hint: In function ‘PyInit__csv’
Python-3.12.3/Modules/_csv.c:1844:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_csv.gcda’ profile count data file not found
# 1842|   {
# 1843|       return PyModuleDef_Init(&_csvmodule);
# 1844|-> }

Error: COMPILER_WARNING: [#def91]
Python-3.12.3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyInit__ctypes’
Python-3.12.3/Modules/_ctypes/_ctypes.c:5829:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_ctypes.gcda’ profile count data file not found
# 5827|       }
# 5828|       return mod;
# 5829|-> }
# 5830|   
# 5831|   /*

Error: GCC_ANALYZER_WARNING (CWE-404): [#def92]
Python-3.12.3/Modules/_ctypes/_ctypes_test.c: scope_hint: In function ‘myprintf’
Python-3.12.3/Modules/_ctypes/_ctypes_test.c:387:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
#  385|       va_end(argptr);
#  386|       return result;
#  387|-> }
#  388|   
#  389|   EXPORT(char *)my_strtok(char *token, const char *delim)

Error: COMPILER_WARNING: [#def93]
Python-3.12.3/Modules/_ctypes/_ctypes_test.c: scope_hint: In function ‘PyInit__ctypes_test’
Python-3.12.3/Modules/_ctypes/_ctypes_test.c:1175:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_ctypes_test.gcda’ profile count data file not found
# 1173|   {
# 1174|       return PyModuleDef_Init(&_ctypes_testmodule);
# 1175|-> }

Error: CLANG_WARNING: [#def94]
Python-3.12.3/Modules/_ctypes/callbacks.c:231:20: warning[core.NullDereference]: Array access (from variable 'space') results in an undefined pointer dereference
#  229|   #endif
#  230|       if (flags & FUNCFLAG_USE_ERRNO) {
#  231|->         int temp = space[0];
#  232|           space[0] = errno;
#  233|           errno = temp;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def95]
Python-3.12.3/Modules/_ctypes/callbacks.c: scope_hint: In function ‘_CallPythonObject’
Python-3.12.3/Modules/_ctypes/callbacks.c:231:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘space’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Modules/_ctypes/callbacks.c:5: included_from: Included from here.
Python-3.12.3/Include/tupleobject.h:39: included_from: Included from here.
Python-3.12.3/Include/Python.h:62: included_from: Included from here.
Python-3.12.3/Modules/_ctypes/callbacks.c:151:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_ctypes/callbacks.c:151:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_ctypes/callbacks.c:151:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
#  229|   #endif
#  230|       if (flags & FUNCFLAG_USE_ERRNO) {
#  231|->         int temp = space[0];
#  232|           space[0] = errno;
#  233|           errno = temp;

Error: COMPILER_WARNING: [#def96]
Python-3.12.3/Modules/_ctypes/callbacks.c: scope_hint: In function ‘_ctypes_alloc_callback’
Python-3.12.3/Modules/_ctypes/callbacks.c:451:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/callbacks.gcda’ profile count data file not found
#  449|       Py_XDECREF(p);
#  450|       return NULL;
#  451|-> }
#  452|   
#  453|   #ifdef MS_WIN32

Error: COMPILER_WARNING: [#def97]
Python-3.12.3/Modules/_ctypes/callproc.c: scope_hint: In function ‘buffer_info’
Python-3.12.3/Modules/_ctypes/callproc.c:2032:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/callproc.gcda’ profile count data file not found
# 2030|       {"Py_DECREF", My_Py_DECREF, METH_O },
# 2031|       {NULL,      NULL}        /* Sentinel */
# 2032|-> };
# 2033|   
# 2034|   /*

Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
Python-3.12.3/Modules/_ctypes/cfield.c: scope_hint: In function ‘PyCField_FromDesc’
Python-3.12.3/Modules/_ctypes/cfield.c:125:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/locale.h:28: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_fileutils.h:11: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_unicodeobject.h:11: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_interp.h:34: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_runtime.h:18: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_pystate.h:11: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_call.h:11: included_from: Included from here.
Python-3.12.3/Modules/_ctypes/cfield.c:12: included_from: Included from here.
#  123|                   return NULL;
#  124|               }
#  125|->             if (idict->getfunc == _ctypes_get_fielddesc("c")->getfunc) {
#  126|                   struct fielddesc *fd = _ctypes_get_fielddesc("s");
#  127|                   getfunc = fd->getfunc;

Error: COMPILER_WARNING: [#def99]
Python-3.12.3/Modules/_ctypes/cfield.c: scope_hint: In function ‘_ctypes_get_fielddesc’
Python-3.12.3/Modules/_ctypes/cfield.c:1583:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/cfield.gcda’ profile count data file not found
# 1581|       }
# 1582|       return NULL;
# 1583|-> }
# 1584|   
# 1585|   /*---------------- EOF ----------------*/

Error: COMPILER_WARNING: [#def100]
Python-3.12.3/Modules/_ctypes/stgdict.c: scope_hint: In function ‘PyCStructUnionType_update_stgdict’
Python-3.12.3/Modules/_ctypes/stgdict.c:963:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/stgdict.gcda’ profile count data file not found
#  961|   
#  962|       return MakeAnonFields(type);
#  963|-> }

Error: COMPILER_WARNING: [#def101]
Python-3.12.3/Modules/_curses_panel.c: scope_hint: In function ‘PyInit__curses_panel’
Python-3.12.3/Modules/_curses_panel.c:713:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_curses_panel.gcda’ profile count data file not found
#  711|   {
#  712|       return PyModuleDef_Init(&_curses_panelmodule);
#  713|-> }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def102]
Python-3.12.3/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_window_border_impl’
Python-3.12.3/Modules/_cursesmodule.c:1107:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ch[7]’
Python-3.12.3/Modules/_cursesmodule.c:2476: included_from: Included from here.
Python-3.12.3/Modules/_cursesmodule.c:1096:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1096:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1097:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1097:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1098:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1098:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1099:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1099:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1100:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1100:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1101:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1101:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1102:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1102:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1103:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
Python-3.12.3/Modules/_cursesmodule.c:1103:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
# 1105|   #undef CONVERTTOCHTYPE
# 1106|   
# 1107|->     wborder(self->win,
# 1108|               ch[0], ch[1], ch[2], ch[3],
# 1109|               ch[4], ch[5], ch[6], ch[7]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
Python-3.12.3/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_initscr_impl’
Python-3.12.3/Modules/_cursesmodule.c:3352:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 3350|   
# 3351|       winobj = (PyCursesWindowObject *)PyCursesWindow_New(win, NULL);
# 3352|->     screen_encoding = winobj->encoding;
# 3353|       return (PyObject *)winobj;
# 3354|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
Python-3.12.3/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_initscr_impl’
Python-3.12.3/Modules/_cursesmodule.c:3352:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘winobj’
/usr/include/locale.h:28: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_fileutils.h:11: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_unicodeobject.h:11: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_interp.h:34: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_runtime.h:18: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_long.h:12: included_from: Included from here.
Python-3.12.3/Modules/_cursesmodule.c:110: included_from: Included from here.
# 3350|   
# 3351|       winobj = (PyCursesWindowObject *)PyCursesWindow_New(win, NULL);
# 3352|->     screen_encoding = winobj->encoding;
# 3353|       return (PyObject *)winobj;
# 3354|   }

Error: COMPILER_WARNING: [#def105]
Python-3.12.3/Modules/_cursesmodule.c: scope_hint: In function ‘PyInit__curses’
Python-3.12.3/Modules/_cursesmodule.c:4941:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_cursesmodule.gcda’ profile count data file not found
# 4939|       }
# 4940|       return m;
# 4941|-> }

Error: COMPILER_WARNING: [#def106]
Python-3.12.3/Modules/_datetimemodule.c: scope_hint: In function ‘PyInit__datetime’
Python-3.12.3/Modules/_datetimemodule.c:6940:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_datetimemodule.gcda’ profile count data file not found
# 6938|   
# 6939|       return mod;
# 6940|-> }
# 6941|   
# 6942|   /* ---------------------------------------------------------------------------

Error: COMPILER_WARNING: [#def107]
Python-3.12.3/Modules/_dbmmodule.c: scope_hint: In function ‘PyInit__dbm’
Python-3.12.3/Modules/_dbmmodule.c:605:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_dbmmodule.gcda’ profile count data file not found
#  603|   {
#  604|       return PyModuleDef_Init(&_dbmmodule);
#  605|-> }

Error: COMPILER_WARNING: [#def108]
Python-3.12.3/Modules/_decimal/_decimal.c: scope_hint: In function ‘PyInit__decimal’
Python-3.12.3/Modules/_decimal/_decimal.c:5995:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_decimal.gcda’ profile count data file not found
# 5993|   
# 5994|       return NULL; /* GCOV_NOT_REACHED */
# 5995|-> }

Error: COMPILER_WARNING: [#def109]
Python-3.12.3/Modules/_elementtree.c: scope_hint: In function ‘PyInit__elementtree’
Python-3.12.3/Modules/_elementtree.c:4493:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_elementtree.gcda’ profile count data file not found
# 4491|   {
# 4492|       return PyModuleDef_Init(&elementtreemodule);
# 4493|-> }

Error: COMPILER_WARNING: [#def110]
Python-3.12.3/Modules/_functoolsmodule.c: scope_hint: In function ‘PyInit__functools’
Python-3.12.3/Modules/_functoolsmodule.c:1543:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_functoolsmodule.gcda’ profile count data file not found
# 1541|   {
# 1542|       return PyModuleDef_Init(&_functools_module);
# 1543|-> }

Error: COMPILER_WARNING: [#def111]
Python-3.12.3/Modules/_gdbmmodule.c: scope_hint: In function ‘PyInit__gdbm’
Python-3.12.3/Modules/_gdbmmodule.c:816:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_gdbmmodule.gcda’ profile count data file not found
#  814|   {
#  815|       return PyModuleDef_Init(&_gdbmmodule);
#  816|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:47:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:217:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:47:3: note: in expansion of macro ‘KRML_MAYBE_FOR4’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_MD5_malloc’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1169:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.h:34: included_from: Included from here.
Python-3.12.3/Modules/_hacl/internal/Hacl_Hash_MD5.h:38: included_from: Included from here.
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1175:3: note: in expansion of macro ‘Hacl_Hash_MD5_init’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:217:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:47:3: note: in expansion of macro ‘KRML_MAYBE_FOR4’
#   45|   void Hacl_Hash_MD5_init(uint32_t *s)
#   46|   {
#   47|->   KRML_MAYBE_FOR4(i, 0U, 4U, 1U, s[i] = _h0[i];);
#   48|   }
#   49|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_MD5_malloc’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1174:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1173:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
# 1172|     Hacl_Streaming_MD_state_32
# 1173|     *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32));
# 1174|->   p[0U] = s;
# 1175|     Hacl_Hash_MD5_init(block_state);
# 1176|     return p;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def114]
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_MD5_copy’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1415:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
Python-3.12.3/Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h:15: included_from: Included from here.
Python-3.12.3/Modules/_hacl/include/krml/FStar_UInt128_Verified.h:10: included_from: Included from here.
Python-3.12.3/Modules/_hacl/include/krml/types.h:14: included_from: Included from here.
Python-3.12.3/Modules/_hacl/internal/Hacl_Hash_MD5.h:34: included_from: Included from here.
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:26: included_from: Included from here.
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1414:29: note: in expansion of macro ‘KRML_HOST_CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 1413|     uint64_t total_len0 = scrut.total_len;
# 1414|     uint8_t *buf = (uint8_t *)KRML_HOST_CALLOC(64U, sizeof (uint8_t));
# 1415|->   memcpy(buf, buf0, 64U * sizeof (uint8_t));
# 1416|     uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC(4U, sizeof (uint32_t));
# 1417|     memcpy(block_state, block_state0, 4U * sizeof (uint32_t));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1417:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1416:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
# 1415|     memcpy(buf, buf0, 64U * sizeof (uint8_t));
# 1416|     uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC(4U, sizeof (uint32_t));
# 1417|->   memcpy(block_state, block_state0, 4U * sizeof (uint32_t));
# 1418|     Hacl_Streaming_MD_state_32
# 1419|     s = { .block_state = block_state, .buf = buf, .total_len = total_len0 };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1422:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1421:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
# 1420|     Hacl_Streaming_MD_state_32
# 1421|     *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32));
# 1422|->   p[0U] = s;
# 1423|     return p;
# 1424|   }

Error: COMPILER_WARNING: [#def117]
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_MD5_hash’
Python-3.12.3/Modules/_hacl/Hacl_Hash_MD5.c:1429:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/Hacl_Hash_MD5.gcda’ profile count data file not found
# 1427|   {
# 1428|     Hacl_Hash_MD5_hash_oneshot(output, input, input_len);
# 1429|-> }
# 1430|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def118]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA1_copy’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c:448:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
Python-3.12.3/Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h:15: included_from: Included from here.
Python-3.12.3/Modules/_hacl/include/krml/FStar_UInt128_Verified.h:10: included_from: Included from here.
Python-3.12.3/Modules/_hacl/include/krml/types.h:14: included_from: Included from here.
Python-3.12.3/Modules/_hacl/internal/Hacl_Hash_SHA1.h:34: included_from: Included from here.
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c:26: included_from: Included from here.
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c:447:29: note: in expansion of macro ‘KRML_HOST_CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  446|     uint64_t total_len0 = scrut.total_len;
#  447|     uint8_t *buf = (uint8_t *)KRML_HOST_CALLOC(64U, sizeof (uint8_t));
#  448|->   memcpy(buf, buf0, 64U * sizeof (uint8_t));
#  449|     uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC(5U, sizeof (uint32_t));
#  450|     memcpy(block_state, block_state0, 5U * sizeof (uint32_t));

Error: GCC_ANALYZER_WARNING (CWE-688): [#def119]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c:450:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c:449:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  448|     memcpy(buf, buf0, 64U * sizeof (uint8_t));
#  449|     uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC(5U, sizeof (uint32_t));
#  450|->   memcpy(block_state, block_state0, 5U * sizeof (uint32_t));
#  451|     Hacl_Streaming_MD_state_32
#  452|     s = { .block_state = block_state, .buf = buf, .total_len = total_len0 };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c:455:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c:454:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
#  453|     Hacl_Streaming_MD_state_32
#  454|     *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32));
#  455|->   p[0U] = s;
#  456|     return p;
#  457|   }

Error: COMPILER_WARNING: [#def121]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA1_hash’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA1.c:462:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/Hacl_Hash_SHA1.gcda’ profile count data file not found
#  460|   {
#  461|     Hacl_Hash_SHA1_hash_oneshot(output, input, input_len);
#  462|-> }
#  463|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:38:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:32:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_256’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:450:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:32:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
#   36|       uint32_t *os = hash;
#   37|       uint32_t x = Hacl_Hash_SHA2_h256[i];
#   38|->     os[i] = x;);
#   39|   }
#   40|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:211:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:205:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_224’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:763:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:205:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
#  209|       uint32_t *os = hash;
#  210|       uint32_t x = Hacl_Hash_SHA2_h224[i];
#  211|->     os[i] = x;);
#  212|   }
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:239:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:233:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_512’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:861:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:233:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
#  237|       uint64_t *os = hash;
#  238|       uint64_t x = Hacl_Hash_SHA2_h512[i];
#  239|->     os[i] = x;);
#  240|   }
#  241|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:417:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:411:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_384’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:1175:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:411:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
#  415|       uint64_t *os = hash;
#  416|       uint64_t x = Hacl_Hash_SHA2_h384[i];
#  417|->     os[i] = x;);
#  418|   }
#  419|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
Python-3.12.3/Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h:15: included_from: Included from here.
Python-3.12.3/Modules/_hacl/include/krml/FStar_UInt128_Verified.h:10: included_from: Included from here.
Python-3.12.3/Modules/_hacl/include/krml/types.h:14: included_from: Included from here.
Python-3.12.3/Modules/_hacl/internal/Hacl_Hash_SHA2.h:34: included_from: Included from here.
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:26: included_from: Included from here.
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘Hacl_Hash_SHA2_sha384_init’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:417:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hash’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:411:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.h:34: included_from: Included from here.
Python-3.12.3/Modules/_hacl/internal/Hacl_Hash_SHA2.h:39: included_from: Included from here.
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:1172:29: note: in expansion of macro ‘Hacl_Hash_SHA2_malloc_384’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:1175:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
Python-3.12.3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:411:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
#  415|       uint64_t *os = hash;
#  416|       uint64_t x = Hacl_Hash_SHA2_h384[i];
#  417|->     os[i] = x;);
#  418|   }
#  419|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_256’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:455:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:454:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
#  453|     Hacl_Streaming_MD_state_32
#  454|     *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32));
#  455|->   p[0U] = s;
#  456|     Hacl_Hash_SHA2_sha256_init(block_state);
#  457|     return p;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def128]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_copy_256’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:473:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:472:29: note: in expansion of macro ‘KRML_HOST_CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  471|     uint64_t total_len0 = scrut.total_len;
#  472|     uint8_t *buf = (uint8_t *)KRML_HOST_CALLOC(64U, sizeof (uint8_t));
#  473|->   memcpy(buf, buf0, 64U * sizeof (uint8_t));
#  474|     uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC(8U, sizeof (uint32_t));
#  475|     memcpy(block_state, block_state0, 8U * sizeof (uint32_t));

Error: GCC_ANALYZER_WARNING (CWE-688): [#def129]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:475:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:474:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  473|     memcpy(buf, buf0, 64U * sizeof (uint8_t));
#  474|     uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC(8U, sizeof (uint32_t));
#  475|->   memcpy(block_state, block_state0, 8U * sizeof (uint32_t));
#  476|     Hacl_Streaming_MD_state_32
#  477|     s = { .block_state = block_state, .buf = buf, .total_len = total_len0 };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:480:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:479:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
#  478|     Hacl_Streaming_MD_state_32
#  479|     *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32));
#  480|->   p[0U] = s;
#  481|     return p;
#  482|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_224’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:768:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:767:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
#  766|     Hacl_Streaming_MD_state_32
#  767|     *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32));
#  768|->   p[0U] = s;
#  769|     Hacl_Hash_SHA2_sha224_init(block_state);
#  770|     return p;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_512’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:866:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:865:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
#  864|     Hacl_Streaming_MD_state_64
#  865|     *p = (Hacl_Streaming_MD_state_64 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_64));
#  866|->   p[0U] = s;
#  867|     Hacl_Hash_SHA2_sha512_init(block_state);
#  868|     return p;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def133]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_copy_512’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:884:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:883:29: note: in expansion of macro ‘KRML_HOST_CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  882|     uint64_t total_len0 = scrut.total_len;
#  883|     uint8_t *buf = (uint8_t *)KRML_HOST_CALLOC(128U, sizeof (uint8_t));
#  884|->   memcpy(buf, buf0, 128U * sizeof (uint8_t));
#  885|     uint64_t *block_state = (uint64_t *)KRML_HOST_CALLOC(8U, sizeof (uint64_t));
#  886|     memcpy(block_state, block_state0, 8U * sizeof (uint64_t));

Error: GCC_ANALYZER_WARNING (CWE-688): [#def134]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:886:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:885:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  884|     memcpy(buf, buf0, 128U * sizeof (uint8_t));
#  885|     uint64_t *block_state = (uint64_t *)KRML_HOST_CALLOC(8U, sizeof (uint64_t));
#  886|->   memcpy(block_state, block_state0, 8U * sizeof (uint64_t));
#  887|     Hacl_Streaming_MD_state_64
#  888|     s = { .block_state = block_state, .buf = buf, .total_len = total_len0 };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:891:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:890:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
#  889|     Hacl_Streaming_MD_state_64
#  890|     *p = (Hacl_Streaming_MD_state_64 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_64));
#  891|->   p[0U] = s;
#  892|     return p;
#  893|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_384’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:1180:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:1179:38: note: in expansion of macro ‘KRML_HOST_MALLOC’
# 1178|     Hacl_Streaming_MD_state_64
# 1179|     *p = (Hacl_Streaming_MD_state_64 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_64));
# 1180|->   p[0U] = s;
# 1181|     Hacl_Hash_SHA2_sha384_init(block_state);
# 1182|     return p;

Error: COMPILER_WARNING: [#def137]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘Hacl_Hash_SHA2_hash_384’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA2.c:1272:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/Hacl_Hash_SHA2.gcda’ profile count data file not found
# 1270|     Hacl_Hash_SHA2_sha384_update_last(len_, rem, lb, st);
# 1271|     Hacl_Hash_SHA2_sha384_finish(st, rb);
# 1272|-> }
# 1273|   

Error: COMPILER_WARNING: [#def138]
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA3.c: scope_hint: In function ‘Hacl_Hash_SHA3_keccak’
Python-3.12.3/Modules/_hacl/Hacl_Hash_SHA3.c:733:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/Hacl_Hash_SHA3.gcda’ profile count data file not found
#  731|     absorb(s, rateInBytes, inputByteLen, input, delimitedSuffix);
#  732|     Hacl_Hash_SHA3_squeeze0(s, rateInBytes, outputByteLen, output);
#  733|-> }
#  734|   

Error: GCC_ANALYZER_WARNING (CWE-404): [#def139]
Python-3.12.3/Modules/_hashopenssl.c: scope_hint: In function ‘_setException’
Python-3.12.3/Modules/_hashopenssl.c:288:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
#  286|       }
#  287|       return NULL;
#  288|-> }
#  289|   /* LCOV_EXCL_STOP */
#  290|   

Error: COMPILER_WARNING: [#def140]
Python-3.12.3/Modules/_hashopenssl.c: scope_hint: In function ‘PyInit__hashlib’
Python-3.12.3/Modules/_hashopenssl.c:2290:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_hashopenssl.gcda’ profile count data file not found
# 2288|   {
# 2289|       return PyModuleDef_Init(&_hashlibmodule);
# 2290|-> }

Error: COMPILER_WARNING: [#def141]
Python-3.12.3/Modules/_heapqmodule.c: scope_hint: In function ‘PyInit__heapq’
Python-3.12.3/Modules/_heapqmodule.c:705:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_heapqmodule.gcda’ profile count data file not found
#  703|   {
#  704|       return PyModuleDef_Init(&_heapqmodule);
#  705|-> }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def142]
Python-3.12.3/Modules/_io/_iomodule.c: scope_hint: In function ‘_io_open_impl’
Python-3.12.3/Modules/_io/_iomodule.c:261:13: warning[-Wanalyzer-out-of-bounds]: buffer over-read
Python-3.12.3/Modules/_io/_iomodule.c:627: included_from: Included from here.
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Modules/_io/_iomodule.c:11: included_from: Included from here.
Python-3.12.3/Modules/_io/_iomodule.c:215:22: note: in expansion of macro ‘Py_NewRef’
Python-3.12.3/Include/object.h:814:5: note: in expansion of macro ‘Py_INCREF’
Python-3.12.3/Modules/_io/_iomodule.c:261:13: note: read of 1 byte from after the end of ‘"r"’
Python-3.12.3/Modules/_io/_iomodule.c:261:13: note: valid subscripts for ‘"r"’ are ‘[0]’ to ‘[1]’
#                               └─────────────────────────────────────────┘
#                                        ^                      ^
Python-3.12.3/Include/Python.h:26: included_from: Included from here.
/usr/include/string.h:246:14: note: argument 1 of ‘strchr’ must be a pointer to a null-terminated string
#  259|   
#  260|           /* c must not be duplicated */
#  261|->         if (strchr(mode+i+1, c)) {
#  262|             invalid_mode:
#  263|               PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode);

Error: COMPILER_WARNING: [#def143]
Python-3.12.3/Modules/_io/_iomodule.c: scope_hint: In function ‘PyInit__io’
Python-3.12.3/Modules/_io/_iomodule.c:739:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_iomodule.gcda’ profile count data file not found
#  737|   {
#  738|       return PyModuleDef_Init(&_PyIO_Module);
#  739|-> }

Error: COMPILER_WARNING: [#def144]
Python-3.12.3/Modules/_io/bufferedio.c: scope_hint: In function ‘_io_BufferedRandom___init__’
Python-3.12.3/Modules/_io/bufferedio.c:2711:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bufferedio.gcda’ profile count data file not found
# 2709|                 Py_TPFLAGS_IMMUTABLETYPE),
# 2710|       .slots = bufferedrandom_slots,
# 2711|-> };

Error: COMPILER_WARNING: [#def145]
Python-3.12.3/Modules/_io/bytesio.c: scope_hint: In function ‘bytesiobuf_dealloc’
Python-3.12.3/Modules/_io/bytesio.c:1133:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bytesio.gcda’ profile count data file not found
# 1131|                 Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_DISALLOW_INSTANTIATION),
# 1132|       .slots = bytesiobuf_slots,
# 1133|-> };

Error: COMPILER_WARNING: [#def146]
Python-3.12.3/Modules/_io/fileio.c: scope_hint: In function ‘get_mode’
Python-3.12.3/Modules/_io/fileio.c:1230:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/fileio.gcda’ profile count data file not found
# 1228|                 Py_TPFLAGS_IMMUTABLETYPE),
# 1229|       .slots = fileio_slots,
# 1230|-> };

Error: COMPILER_WARNING: [#def147]
Python-3.12.3/Modules/_io/iobase.c: scope_hint: In function ‘rawiobase_write’
Python-3.12.3/Modules/_io/iobase.c:1061:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/iobase.gcda’ profile count data file not found
# 1059|                 Py_TPFLAGS_IMMUTABLETYPE),
# 1060|       .slots = rawiobase_slots,
# 1061|-> };

Error: COMPILER_WARNING: [#def148]
Python-3.12.3/Modules/_io/stringio.c: scope_hint: In function ‘_io_StringIO_seekable’
Python-3.12.3/Modules/_io/stringio.c:1037:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/stringio.gcda’ profile count data file not found
# 1035|                 Py_TPFLAGS_IMMUTABLETYPE),
# 1036|       .slots = stringio_slots,
# 1037|-> };

Error: COMPILER_WARNING: [#def149]
Python-3.12.3/Modules/_io/textio.c: scope_hint: In function ‘textiowrapper_chunk_size_set’
Python-3.12.3/Modules/_io/textio.c:3352:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/textio.gcda’ profile count data file not found
# 3350|                 Py_TPFLAGS_IMMUTABLETYPE),
# 3351|       .slots = textiowrapper_slots,
# 3352|-> };

Error: COMPILER_WARNING: [#def150]
Python-3.12.3/Modules/_json.c: scope_hint: In function ‘PyInit__json’
Python-3.12.3/Modules/_json.c:1820:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_json.gcda’ profile count data file not found
# 1818|   {
# 1819|       return PyModuleDef_Init(&jsonmodule);
# 1820|-> }

Error: COMPILER_WARNING: [#def151]
Python-3.12.3/Modules/_localemodule.c: scope_hint: In function ‘PyInit__locale’
Python-3.12.3/Modules/_localemodule.c:919:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_localemodule.gcda’ profile count data file not found
#  917|   {
#  918|       return PyModuleDef_Init(&_localemodule);
#  919|-> }
#  920|   
#  921|   /*

Error: COMPILER_WARNING: [#def152]
Python-3.12.3/Modules/_lsprof.c: scope_hint: In function ‘PyInit__lsprof’
Python-3.12.3/Modules/_lsprof.c:1027:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_lsprof.gcda’ profile count data file not found
# 1025|   {
# 1026|       return PyModuleDef_Init(&_lsprofmodule);
# 1027|-> }

Error: COMPILER_WARNING: [#def153]
Python-3.12.3/Modules/_lzmamodule.c: scope_hint: In function ‘PyInit__lzma’
Python-3.12.3/Modules/_lzmamodule.c:1663:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_lzmamodule.gcda’ profile count data file not found
# 1661|   {
# 1662|       return PyModuleDef_Init(&_lzmamodule);
# 1663|-> }

Error: COMPILER_WARNING: [#def154]
Python-3.12.3/Modules/_multiprocessing/multiprocessing.c: scope_hint: In function ‘PyInit__multiprocessing’
Python-3.12.3/Modules/_multiprocessing/multiprocessing.c:295:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/multiprocessing.gcda’ profile count data file not found
#  293|   {
#  294|       return PyModuleDef_Init(&multiprocessing_module);
#  295|-> }

Error: COMPILER_WARNING: [#def155]
Python-3.12.3/Modules/_multiprocessing/posixshmem.c: scope_hint: In function ‘PyInit__posixshmem’
Python-3.12.3/Modules/_multiprocessing/posixshmem.c:143:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/posixshmem.gcda’ profile count data file not found
#  141|   {
#  142|       return PyModuleDef_Init(&_posixshmemmodule);
#  143|-> }

Error: COMPILER_WARNING: [#def156]
Python-3.12.3/Modules/_multiprocessing/semaphore.c: scope_hint: In function ‘_PyMp_sem_unlink’
Python-3.12.3/Modules/_multiprocessing/semaphore.c:788:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/semaphore.gcda’ profile count data file not found
#  786|   
#  787|       Py_RETURN_NONE;
#  788|-> }
#  789|   
#  790|   #endif // HAVE_MP_SEMAPHORE

Error: COMPILER_WARNING: [#def157]
Python-3.12.3/Modules/_opcode.c: scope_hint: In function ‘PyInit__opcode’
Python-3.12.3/Modules/_opcode.c:115:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_opcode.gcda’ profile count data file not found
#  113|   {
#  114|       return PyModuleDef_Init(&opcodemodule);
#  115|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
Python-3.12.3/Modules/_operator.c: scope_hint: In function ‘_tscmp’
Python-3.12.3/Modules/_operator.c:770:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  768|   
#  769|       for (i=0; i < length; i++) {
#  770|->         result |= *left++ ^ *right++;
#  771|       }
#  772|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
Python-3.12.3/Modules/_operator.c: scope_hint: In function ‘_tscmp’
Python-3.12.3/Modules/_operator.c:770:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘left’
#  768|   
#  769|       for (i=0; i < length; i++) {
#  770|->         result |= *left++ ^ *right++;
#  771|       }
#  772|   

Error: COMPILER_WARNING: [#def160]
Python-3.12.3/Modules/_operator.c: scope_hint: In function ‘PyInit__operator’
Python-3.12.3/Modules/_operator.c:1877:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_operator.gcda’ profile count data file not found
# 1875|   {
# 1876|       return PyModuleDef_Init(&operatormodule);
# 1877|-> }

Error: COMPILER_WARNING: [#def161]
Python-3.12.3/Modules/_pickle.c: scope_hint: In function ‘PyInit__pickle’
Python-3.12.3/Modules/_pickle.c:7986:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_pickle.gcda’ profile count data file not found
# 7984|   {
# 7985|       return PyModuleDef_Init(&_picklemodule);
# 7986|-> }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
Python-3.12.3/Modules/_posixsubprocess.c:75:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(c2pwrite, 1)’
Python-3.12.3/Modules/_posixsubprocess.c:643:9: note: in expansion of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:946:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:946:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:145:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:145:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:200:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:200:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:609:5: note: in expansion of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:643:9: note: in expansion of macro ‘POSIX_CALL’
#   73|   #endif
#   74|   
#   75|-> #define POSIX_CALL(call)   do { if ((call) == -1) goto error; } while (0)
#   76|   
#   77|   static struct PyModuleDef _posixsubprocessmodule;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
Python-3.12.3/Modules/_posixsubprocess.c:75:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(errwrite, 2)’
Python-3.12.3/Modules/_posixsubprocess.c:650:9: note: in expansion of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:946:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:946:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:145:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:145:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:200:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:200:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:609:5: note: in expansion of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:650:9: note: in expansion of macro ‘POSIX_CALL’
#   73|   #endif
#   74|   
#   75|-> #define POSIX_CALL(call)   do { if ((call) == -1) goto error; } while (0)
#   76|   
#   77|   static struct PyModuleDef _posixsubprocessmodule;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
Python-3.12.3/Modules/_posixsubprocess.c: scope_hint: In function ‘child_exec’
Python-3.12.3/Modules/_posixsubprocess.c:75:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p2cread, 0)’
Python-3.12.3/Modules/_posixsubprocess.c:636:9: note: in expansion of macro ‘POSIX_CALL’
Python-3.12.3/Include/tupleobject.h:39: included_from: Included from here.
Python-3.12.3/Include/Python.h:62: included_from: Included from here.
Python-3.12.3/Modules/_posixsubprocess.c:6: included_from: Included from here.
Python-3.12.3/Modules/_posixsubprocess.c:946:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:946:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:145:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:145:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:200:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:200:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:609:5: note: in expansion of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:636:9: note: in expansion of macro ‘POSIX_CALL’
#   73|   #endif
#   74|   
#   75|-> #define POSIX_CALL(call)   do { if ((call) == -1) goto error; } while (0)
#   76|   
#   77|   static struct PyModuleDef _posixsubprocessmodule;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def165]
Python-3.12.3/Modules/_posixsubprocess.c:738:13: warning[-Wanalyzer-null-argument]: use of NULL ‘argv’ where non-null expected
Python-3.12.3/Modules/_posixsubprocess.c:946:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:946:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:145:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:145:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:200:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:200:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Modules/_posixsubprocess.c:75:38: note: in definition of macro ‘POSIX_CALL’
Python-3.12.3/Modules/_posixsubprocess.c:609:5: note: in expansion of macro ‘POSIX_CALL’
Python-3.12.3/Include/Python.h:29: included_from: Included from here.
/usr/include/unistd.h:584:12: note: argument 2 of ‘execv’ must be non-null
#  736|               execve(executable, argv, envp);
#  737|           } else {
#  738|->             execv(executable, argv);
#  739|           }
#  740|           if (errno != ENOENT && errno != ENOTDIR && saved_errno == 0) {

Error: CLANG_WARNING: [#def166]
Python-3.12.3/Modules/_posixsubprocess.c:824:15: warning[security.insecureAPI.vfork]: Call to function 'vfork' is insecure as it can lead to denial of service situations in the parent process. Replace calls to vfork with calls to the safer 'posix_spawn' function
#  822|            */
#  823|           vfork_tstate_save = PyEval_SaveThread();
#  824|->         pid = vfork();
#  825|           if (pid != 0) {
#  826|               // Not in the child process, reacquire the GIL.

Error: CLANG_WARNING: [#def167]
Python-3.12.3/Modules/_posixsubprocess.c:856:9: warning[unix.Vfork]: This function call is prohibited after a successful vfork
#  854|            * back into Python.  The user asked us to use hope as a strategy
#  855|            * to avoid deadlock... */
#  856|->         PyOS_AfterFork_Child();
#  857|       }
#  858|   

Error: CLANG_WARNING: [#def168]
Python-3.12.3/Modules/_posixsubprocess.c:859:5: warning[unix.Vfork]: This function call is prohibited after a successful vfork
#  857|       }
#  858|   
#  859|->     child_exec(exec_array, argv, envp, cwd,
#  860|                  p2cread, p2cwrite, c2pread, c2pwrite,
#  861|                  errread, errwrite, errpipe_read, errpipe_write,

Error: COMPILER_WARNING: [#def169]
Python-3.12.3/Modules/_posixsubprocess.c: scope_hint: In function ‘PyInit__posixsubprocess’
Python-3.12.3/Modules/_posixsubprocess.c:1251:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_posixsubprocess.gcda’ profile count data file not found
# 1249|   {
# 1250|       return PyModuleDef_Init(&_posixsubprocessmodule);
# 1251|-> }

Error: COMPILER_WARNING: [#def170]
Python-3.12.3/Modules/_queuemodule.c: scope_hint: In function ‘PyInit__queue’
Python-3.12.3/Modules/_queuemodule.c:456:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_queuemodule.gcda’ profile count data file not found
#  454|   {
#  455|      return PyModuleDef_Init(&queuemodule);
#  456|-> }

Error: COMPILER_WARNING: [#def171]
Python-3.12.3/Modules/_randommodule.c: scope_hint: In function ‘PyInit__random’
Python-3.12.3/Modules/_randommodule.c:668:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_randommodule.gcda’ profile count data file not found
#  666|   {
#  667|       return PyModuleDef_Init(&_randommodule);
#  668|-> }

Error: COMPILER_WARNING: [#def172]
Python-3.12.3/Modules/_sqlite/blob.c: scope_hint: In function ‘pysqlite_blob_setup_types’
Python-3.12.3/Modules/_sqlite/blob.c:617:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/blob.gcda’ profile count data file not found
#  615|       state->BlobType = (PyTypeObject *)type;
#  616|       return 0;
#  617|-> }

Error: CLANG_WARNING: [#def173]
Python-3.12.3/Modules/_sqlite/connection.c:346:5: warning[deadcode.DeadStores]: Value stored to 'rc' is never read
#  344|       // There are no statements or other SQLite objects attached to the
#  345|       // database, so sqlite3_close() should always return SQLITE_OK.
#  346|->     rc = sqlite3_close(db);
#  347|       assert(rc == SQLITE_OK);
#  348|       return -1;

Error: CLANG_WARNING: [#def174]
Python-3.12.3/Modules/_sqlite/connection.c:1075:5: warning[core.NullDereference]: Access to field 'callable' results in a dereference of a null pointer (loaded from variable 'ctx')
# 1073|   {
# 1074|       assert(ctx != NULL);
# 1075|->     Py_XDECREF(ctx->callable);
# 1076|       Py_XDECREF(ctx->module);
# 1077|       PyMem_Free(ctx);

Error: COMPILER_WARNING: [#def175]
Python-3.12.3/Modules/_sqlite/connection.c: scope_hint: In function ‘pysqlite_connection_setup_types’
Python-3.12.3/Modules/_sqlite/connection.c:2659:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/connection.gcda’ profile count data file not found
# 2657|       state->ConnectionType = (PyTypeObject *)type;
# 2658|       return 0;
# 2659|-> }

Error: COMPILER_WARNING: [#def176]
Python-3.12.3/Modules/_sqlite/cursor.c: scope_hint: In function ‘pysqlite_cursor_setup_types’
Python-3.12.3/Modules/_sqlite/cursor.c:1366:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/cursor.gcda’ profile count data file not found
# 1364|       state->CursorType = (PyTypeObject *)type;
# 1365|       return 0;
# 1366|-> }

Error: COMPILER_WARNING: [#def177]
Python-3.12.3/Modules/_sqlite/microprotocols.c: scope_hint: In function ‘pysqlite_microprotocols_adapt’
Python-3.12.3/Modules/_sqlite/microprotocols.c:144:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/microprotocols.gcda’ profile count data file not found
#  142|       PyErr_SetString(state->ProgrammingError, "can't adapt");
#  143|       return NULL;
#  144|-> }

Error: COMPILER_WARNING: [#def178]
Python-3.12.3/Modules/_sqlite/module.c: scope_hint: In function ‘PyInit__sqlite3’
Python-3.12.3/Modules/_sqlite/module.c:807:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/module.gcda’ profile count data file not found
#  805|   {
#  806|       return PyModuleDef_Init(&_sqlite3module);
#  807|-> }

Error: COMPILER_WARNING: [#def179]
Python-3.12.3/Modules/_sqlite/prepare_protocol.c: scope_hint: In function ‘pysqlite_prepare_protocol_setup_types’
Python-3.12.3/Modules/_sqlite/prepare_protocol.c:77:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/prepare_protocol.gcda’ profile count data file not found
#   75|       state->PrepareProtocolType = (PyTypeObject *)type;
#   76|       return 0;
#   77|-> }

Error: COMPILER_WARNING: [#def180]
Python-3.12.3/Modules/_sqlite/row.c: scope_hint: In function ‘pysqlite_row_setup_types’
Python-3.12.3/Modules/_sqlite/row.c:276:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/row.gcda’ profile count data file not found
#  274|       state->RowType = (PyTypeObject *)type;
#  275|       return 0;
#  276|-> }

Error: COMPILER_WARNING: [#def181]
Python-3.12.3/Modules/_sqlite/statement.c: scope_hint: In function ‘pysqlite_statement_setup_types’
Python-3.12.3/Modules/_sqlite/statement.c:205:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/statement.gcda’ profile count data file not found
#  203|       state->StatementType = (PyTypeObject *)type;
#  204|       return 0;
#  205|-> }

Error: COMPILER_WARNING: [#def182]
Python-3.12.3/Modules/_sqlite/util.c: scope_hint: In function ‘_pysqlite_long_as_int64’
Python-3.12.3/Modules/_sqlite/util.c:167:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/util.gcda’ profile count data file not found
#  165|                       "Python int too large to convert to SQLite INTEGER");
#  166|       return -1;
#  167|-> }

Error: COMPILER_WARNING: [#def183]
Python-3.12.3/Modules/_sre/sre.c: scope_hint: In function ‘PyInit__sre’
Python-3.12.3/Modules/_sre/sre.c:3246:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/sre.gcda’ profile count data file not found
# 3244|   {
# 3245|       return PyModuleDef_Init(&sremodule);
# 3246|-> }
# 3247|   
# 3248|   /* vim:ts=4:sw=4:et

Error: CLANG_WARNING: [#def184]
Python-3.12.3/Modules/_sre/sre.c:226: included_from: Included from here.
Python-3.12.3/Modules/_sre/sre_lib.h:1798:41: warning[deadcode.DeadStores]: Although the value stored to 'ptr' is used in the enclosing expression, the value is never actually read from 'ptr'
# 1796|                pattern[1] == SRE_AT_BEGINNING_STRING))
# 1797|           {
# 1798|->             state->start = state->ptr = ptr = end;
# 1799|               return 0;
# 1800|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
Python-3.12.3/Modules/_ssl.c: scope_hint: In function ‘newPySSLSocket’
Python-3.12.3/Modules/_ssl.c:847:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘inbio’
#  845|            * To prevent a double free in memory_bio_dealloc() we need to take an
#  846|            * extra reference here. */
#  847|->         BIO_up_ref(inbio->bio);
#  848|           BIO_up_ref(outbio->bio);
#  849|           SSL_set_bio(self->ssl, inbio->bio, outbio->bio);

Error: CLANG_WARNING: [#def186]
Python-3.12.3/Modules/_ssl.c:847:20: warning[core.NullDereference]: Access to field 'bio' results in a dereference of a null pointer (loaded from variable 'inbio')
#  845|            * To prevent a double free in memory_bio_dealloc() we need to take an
#  846|            * extra reference here. */
#  847|->         BIO_up_ref(inbio->bio);
#  848|           BIO_up_ref(outbio->bio);
#  849|           SSL_set_bio(self->ssl, inbio->bio, outbio->bio);

Error: CLANG_WARNING: [#def187]
Python-3.12.3/Modules/_ssl.c:2826:10: warning[deadcode.DeadStores]: Although the value stored to 'session' is used in the enclosing expression, the value is never actually read from 'session'
# 2824|           Py_RETURN_NONE;
# 2825|       }
# 2826|->     if ((session = _ssl_session_dup(session)) == NULL) {
# 2827|           return NULL;
# 2828|       }

Error: GCC_ANALYZER_WARNING (CWE-465): [#def188]
Python-3.12.3/Modules/_ssl.c: scope_hint: In function ‘PySSLSession_richcompare’
Python-3.12.3/Modules/_ssl.c:5007:8: warning[-Wanalyzer-deref-before-check]: check of ‘left’ for NULL after already dereferencing it
# 5005|       PyTypeObject *sesstype = ((PySSLSession*)left)->ctx->state->PySSLSession_Type;
# 5006|   
# 5007|->     if (left == NULL || right == NULL) {
# 5008|           PyErr_BadInternalCall();
# 5009|           return NULL;

Error: COMPILER_WARNING: [#def189]
Python-3.12.3/Modules/_ssl.c: scope_hint: In function ‘PyInit__ssl’
Python-3.12.3/Modules/_ssl.c:6348:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_ssl.gcda’ profile count data file not found
# 6346|   {
# 6347|       return PyModuleDef_Init(&_sslmodule_def);
# 6348|-> }

Error: COMPILER_WARNING: [#def190]
Python-3.12.3/Modules/_stat.c: scope_hint: In function ‘PyInit__stat’
Python-3.12.3/Modules/_stat.c:634:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_stat.gcda’ profile count data file not found
#  632|   {
#  633|       return PyModuleDef_Init(&statmodule);
#  634|-> }
#  635|   
#  636|   #ifdef __cplusplus

Error: COMPILER_WARNING: [#def191]
Python-3.12.3/Modules/_statisticsmodule.c: scope_hint: In function ‘PyInit__statistics’
Python-3.12.3/Modules/_statisticsmodule.c:152:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_statisticsmodule.gcda’ profile count data file not found
#  150|   {
#  151|       return PyModuleDef_Init(&statisticsmodule);
#  152|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
Python-3.12.3/Modules/_struct.c: scope_hint: In function ‘align’
Python-3.12.3/Modules/_struct.c:1398:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘e’
Python-3.12.3/Include/Python.h:39: included_from: Included from here.
Python-3.12.3/Include/cpython/pyctype.h:27:41: note: in expansion of macro ‘Py_CHARMASK’
Python-3.12.3/Modules/_struct.c:1509:13: note: in expansion of macro ‘Py_ISSPACE’
# 1396|       Py_ssize_t extra;
# 1397|   
# 1398|->     if (e->format == c) {
# 1399|           if (e->alignment && size > 0) {
# 1400|               extra = (e->alignment - 1) - (size - 1) % (e->alignment);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
Python-3.12.3/Modules/_struct.c:2299:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s_object’
Python-3.12.3/Modules/clinic/_struct.c.h: scope_hint: In function ‘calcsize’
Python-3.12.3/Modules/_struct.c:2239:9: note: in expansion of macro ‘Py_SETREF’
Python-3.12.3/Modules/_struct.c:2239:9: note: in expansion of macro ‘Py_SETREF’
Python-3.12.3/Include/cpython/object.h:354:9: note: in expansion of macro ‘Py_DECREF’
Python-3.12.3/Modules/_struct.c:2239:9: note: in expansion of macro ‘Py_SETREF’
Python-3.12.3/Modules/_struct.c: scope_hint: In function ‘calcsize’
# 2297|   /*[clinic end generated code: output=db7d23d09c6932c4 input=96a6a590c7717ecd]*/
# 2298|   {
# 2299|->     return s_object->s_size;
# 2300|   }
# 2301|   

Error: COMPILER_WARNING: [#def194]
Python-3.12.3/Modules/_struct.c: scope_hint: In function ‘PyInit__struct’
Python-3.12.3/Modules/_struct.c:2596:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_struct.gcda’ profile count data file not found
# 2594|   {
# 2595|       return PyModuleDef_Init(&_structmodule);
# 2596|-> }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def195]
Python-3.12.3/Modules/_testbuffer.c: scope_hint: In function ‘copy_rec’
Python-3.12.3/Modules/_testbuffer.c:492:17: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
Python-3.12.3/Modules/_testbuffer.c:491:31: note: in expansion of macro ‘ADJUST_PTR’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  490|               for (i=0, p=mem; i<shape[0]; p+=itemsize, sptr+=sstrides[0], i++) {
#  491|                   char *xsptr = ADJUST_PTR(sptr, ssuboffsets);
#  492|->                 memcpy(p, xsptr, itemsize);
#  493|               }
#  494|               for (i=0, p=mem; i<shape[0]; p+=itemsize, dptr+=dstrides[0], i++) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def196]
Python-3.12.3/Modules/_testbuffer.c:496:17: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
Python-3.12.3/Modules/_testbuffer.c:503:23: note: in expansion of macro ‘ADJUST_PTR’
Python-3.12.3/Modules/_testbuffer.c:504:23: note: in expansion of macro ‘ADJUST_PTR’
Python-3.12.3/Modules/_testbuffer.c:46:6: note: in expansion of macro ‘HAVE_PTR’
Python-3.12.3/Modules/_testbuffer.c:504:23: note: in expansion of macro ‘ADJUST_PTR’
Python-3.12.3/Modules/_testbuffer.c:483:40: note: in expansion of macro ‘HAVE_PTR’
Python-3.12.3/Modules/_testbuffer.c:495:31: note: in expansion of macro ‘ADJUST_PTR’
Python-3.12.3/Modules/_testbuffer.c:495:31: note: in expansion of macro ‘ADJUST_PTR’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  494|               for (i=0, p=mem; i<shape[0]; p+=itemsize, dptr+=dstrides[0], i++) {
#  495|                   char *xdptr = ADJUST_PTR(dptr, dsuboffsets);
#  496|->                 memcpy(xdptr, p, itemsize);
#  497|               }
#  498|           }

Error: GCC_ANALYZER_WARNING (CWE-465): [#def197]
Python-3.12.3/Modules/_testbuffer.c: scope_hint: In function ‘ndarray_ass_subscript’
Python-3.12.3/Modules/_testbuffer.c:1909:8: warning[-Wanalyzer-deref-before-check]: check of ‘self’ for NULL after already dereferencing it
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Modules/_testbuffer.c:7: included_from: Included from here.
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Modules/_testbuffer.c:1786:13: note: in expansion of macro ‘PyTuple_Check’
Python-3.12.3/Modules/_testbuffer.c: scope_hint: In function ‘ndarray_ass_subscript’
Python-3.12.3/Modules/_testbuffer.c:1790:20: note: in expansion of macro ‘Py_NewRef’
Python-3.12.3/Include/object.h:814:5: note: in expansion of macro ‘Py_INCREF’
Python-3.12.3/Modules/_testbuffer.c: scope_hint: In function ‘ndarray_ass_subscript’
# 1907|   
# 1908|       nd = (NDArrayObject *)ndarray_subscript(self, key);
# 1909|->     if (nd != NULL) {
# 1910|           dest = &nd->head->base;
# 1911|           ret = copy_buffer(dest, &src);

Error: COMPILER_WARNING: [#def198]
Python-3.12.3/Modules/_testbuffer.c: scope_hint: In function ‘PyInit__testbuffer’
Python-3.12.3/Modules/_testbuffer.c:2909:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_testbuffer.gcda’ profile count data file not found
# 2907|       }
# 2908|       return mod;
# 2909|-> }

Error: COMPILER_WARNING: [#def199]
Python-3.12.3/Modules/_testcapi/abstract.c: scope_hint: In function ‘_PyTestCapi_Init_Abstract’
Python-3.12.3/Modules/_testcapi/abstract.c:549:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/abstract.gcda’ profile count data file not found
#  547|   
#  548|       return 0;
#  549|-> }

Error: COMPILER_WARNING: [#def200]
Python-3.12.3/Modules/_testcapi/buffer.c: scope_hint: In function ‘_PyTestCapi_Init_Buffer’
Python-3.12.3/Modules/_testcapi/buffer.c:102:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/buffer.gcda’ profile count data file not found
#  100|   
#  101|       return 0;
#  102|-> }

Error: COMPILER_WARNING: [#def201]
Python-3.12.3/Modules/_testcapi/bytearray.c: scope_hint: In function ‘_PyTestCapi_Init_ByteArray’
Python-3.12.3/Modules/_testcapi/bytearray.c:124:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bytearray.gcda’ profile count data file not found
#  122|   
#  123|       return 0;
#  124|-> }

Error: COMPILER_WARNING: [#def202]
Python-3.12.3/Modules/_testcapi/bytes.c: scope_hint: In function ‘_PyTestCapi_Init_Bytes’
Python-3.12.3/Modules/_testcapi/bytes.c:256:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bytes.gcda’ profile count data file not found
#  254|   
#  255|       return 0;
#  256|-> }

Error: COMPILER_WARNING: [#def203]
Python-3.12.3/Modules/_testcapi/code.c: scope_hint: In function ‘_PyTestCapi_Init_Code’
Python-3.12.3/Modules/_testcapi/code.c:121:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/code.gcda’ profile count data file not found
#  119|   
#  120|       return 0;
#  121|-> }

Error: COMPILER_WARNING: [#def204]
Python-3.12.3/Modules/_testcapi/codec.c: scope_hint: In function ‘_PyTestCapi_Init_Codec’
Python-3.12.3/Modules/_testcapi/codec.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/codec.gcda’ profile count data file not found
#   15|   
#   16|       return 0;
#   17|-> }

Error: COMPILER_WARNING: [#def205]
Python-3.12.3/Modules/_testcapi/complex.c: scope_hint: In function ‘_PyTestCapi_Init_Complex’
Python-3.12.3/Modules/_testcapi/complex.c:167:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/complex.gcda’ profile count data file not found
#  165|   
#  166|       return 0;
#  167|-> }

Error: COMPILER_WARNING: [#def206]
Python-3.12.3/Modules/_testcapi/datetime.c: scope_hint: In function ‘_PyTestCapi_Init_DateTime’
Python-3.12.3/Modules/_testcapi/datetime.c:481:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/datetime.gcda’ profile count data file not found
#  479|       }
#  480|       return 0;
#  481|-> }

Error: COMPILER_WARNING: [#def207]
Python-3.12.3/Modules/_testcapi/dict.c: scope_hint: In function ‘_PyTestCapi_Init_Dict’
Python-3.12.3/Modules/_testcapi/dict.c:306:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/dict.gcda’ profile count data file not found
#  304|   
#  305|       return 0;
#  306|-> }

Error: COMPILER_WARNING: [#def208]
Python-3.12.3/Modules/_testcapi/docstring.c: scope_hint: In function ‘_PyTestCapi_Init_Docstring’
Python-3.12.3/Modules/_testcapi/docstring.c:107:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/docstring.gcda’ profile count data file not found
#  105|       }
#  106|       return 0;
#  107|-> }

Error: COMPILER_WARNING: [#def209]
Python-3.12.3/Modules/_testcapi/exceptions.c: scope_hint: In function ‘_PyTestCapi_Init_Exceptions’
Python-3.12.3/Modules/_testcapi/exceptions.c:431:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/exceptions.gcda’ profile count data file not found
#  429|   
#  430|       return 0;
#  431|-> }

Error: COMPILER_WARNING: [#def210]
Python-3.12.3/Modules/_testcapi/file.c: scope_hint: In function ‘_PyTestCapi_Init_File’
Python-3.12.3/Modules/_testcapi/file.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/file.gcda’ profile count data file not found
#   15|   
#   16|       return 0;
#   17|-> }

Error: COMPILER_WARNING: [#def211]
Python-3.12.3/Modules/_testcapi/float.c: scope_hint: In function ‘_PyTestCapi_Init_Float’
Python-3.12.3/Modules/_testcapi/float.c:188:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/float.gcda’ profile count data file not found
#  186|   
#  187|       return 0;
#  188|-> }

Error: CLANG_WARNING: [#def212]
Python-3.12.3/Modules/_testcapi/gc.c:7:17: warning[deadcode.DeadStores]: Value stored to 'msg' during its initialization is never read
#    5|   {
#    6|       int orig_enabled = PyGC_IsEnabled();
#    7|->     const char* msg = "ok";
#    8|       int old_state;
#    9|   

Error: COMPILER_WARNING: [#def213]
Python-3.12.3/Modules/_testcapi/gc.c: scope_hint: In function ‘_PyTestCapi_Init_GC’
Python-3.12.3/Modules/_testcapi/gc.c:344:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/gc.gcda’ profile count data file not found
#  342|   
#  343|       return 0;
#  344|-> }

Error: COMPILER_WARNING: [#def214]
Python-3.12.3/Modules/_testcapi/getargs.c: scope_hint: In function ‘_PyTestCapi_Init_GetArgs’
Python-3.12.3/Modules/_testcapi/getargs.c:993:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getargs.gcda’ profile count data file not found
#  991|   
#  992|       return 0;
#  993|-> }

Error: COMPILER_WARNING: [#def215]
Python-3.12.3/Modules/_testcapi/heaptype.c: scope_hint: In function ‘_PyTestCapi_Init_Heaptype’
Python-3.12.3/Modules/_testcapi/heaptype.c:1259:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/heaptype.gcda’ profile count data file not found
# 1257|   
# 1258|       return 0;
# 1259|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
Python-3.12.3/Modules/_testcapi/heaptype_relative.c: scope_hint: In function ‘get_memb_offset’
Python-3.12.3/Modules/_testcapi/heaptype_relative.c:226:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/strings.h:23: included_from: Included from here.
/usr/include/string.h:462: included_from: Included from here.
Python-3.12.3/Modules/_testcapi/heaptype_relative.c:4: included_from: Included from here.
#  224|   {
#  225|       PyMemberDef *def = heaptype_with_member_extract_and_check_memb(self);
#  226|->     return PyLong_FromSsize_t(def->offset);
#  227|   }
#  228|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
Python-3.12.3/Modules/_testcapi/heaptype_relative.c: scope_hint: In function ‘get_memb_offset’
Python-3.12.3/Modules/_testcapi/heaptype_relative.c:226:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘def’
/usr/include/strings.h:23: included_from: Included from here.
/usr/include/string.h:462: included_from: Included from here.
Python-3.12.3/Modules/_testcapi/heaptype_relative.c:4: included_from: Included from here.
#  224|   {
#  225|       PyMemberDef *def = heaptype_with_member_extract_and_check_memb(self);
#  226|->     return PyLong_FromSsize_t(def->offset);
#  227|   }
#  228|   

Error: COMPILER_WARNING: [#def218]
Python-3.12.3/Modules/_testcapi/heaptype_relative.c: scope_hint: In function ‘_PyTestCapi_Init_HeaptypeRelative’
Python-3.12.3/Modules/_testcapi/heaptype_relative.c:341:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/heaptype_relative.gcda’ profile count data file not found
#  339|   
#  340|       return 0;
#  341|-> }
#  342|   
#  343|   #endif // LIMITED_API_AVAILABLE

Error: COMPILER_WARNING: [#def219]
Python-3.12.3/Modules/_testcapi/immortal.c: scope_hint: In function ‘_PyTestCapi_Init_Immortal’
Python-3.12.3/Modules/_testcapi/immortal.c:47:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/immortal.gcda’ profile count data file not found
#   45|       }
#   46|       return 0;
#   47|-> }

Error: COMPILER_WARNING: [#def220]
Python-3.12.3/Modules/_testcapi/list.c: scope_hint: In function ‘_PyTestCapi_Init_List’
Python-3.12.3/Modules/_testcapi/list.c:195:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/list.gcda’ profile count data file not found
#  193|   
#  194|       return 0;
#  195|-> }

Error: COMPILER_WARNING: [#def221]
Python-3.12.3/Modules/_testcapi/long.c: scope_hint: In function ‘_PyTestCapi_Init_Long’
Python-3.12.3/Modules/_testcapi/long.c:805:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/long.gcda’ profile count data file not found
#  803|   
#  804|       return 0;
#  805|-> }

Error: COMPILER_WARNING: [#def222]
Python-3.12.3/Modules/_testcapi/mem.c: scope_hint: In function ‘_PyTestCapi_Init_Mem’
Python-3.12.3/Modules/_testcapi/mem.c:724:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/mem.gcda’ profile count data file not found
#  722|   
#  723|       return 0;
#  724|-> }

Error: COMPILER_WARNING: [#def223]
Python-3.12.3/Modules/_testcapi/numbers.c: scope_hint: In function ‘_PyTestCapi_Init_Numbers’
Python-3.12.3/Modules/_testcapi/numbers.c:16:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/numbers.gcda’ profile count data file not found
#   14|   
#   15|       return 0;
#   16|-> }

Error: COMPILER_WARNING: [#def224]
Python-3.12.3/Modules/_testcapi/pyos.c: scope_hint: In function ‘_PyTestCapi_Init_PyOS’
Python-3.12.3/Modules/_testcapi/pyos.c:60:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pyos.gcda’ profile count data file not found
#   58|   
#   59|       return 0;
#   60|-> }

Error: COMPILER_WARNING: [#def225]
Python-3.12.3/Modules/_testcapi/pytime.c: scope_hint: In function ‘_PyTestCapi_Init_PyTime’
Python-3.12.3/Modules/_testcapi/pytime.c:274:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pytime.gcda’ profile count data file not found
#  272|       }
#  273|       return 0;
#  274|-> }

Error: COMPILER_WARNING: [#def226]
Python-3.12.3/Modules/_testcapi/set.c: scope_hint: In function ‘_PyTestCapi_Init_Set’
Python-3.12.3/Modules/_testcapi/set.c:197:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/set.gcda’ profile count data file not found
#  195|   
#  196|       return 0;
#  197|-> }

Error: COMPILER_WARNING: [#def227]
Python-3.12.3/Modules/_testcapi/structmember.c: scope_hint: In function ‘_PyTestCapi_Init_Structmember’
Python-3.12.3/Modules/_testcapi/structmember.c:217:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/structmember.gcda’ profile count data file not found
#  215|   
#  216|       return 0;
#  217|-> }

Error: COMPILER_WARNING: [#def228]
Python-3.12.3/Modules/_testcapi/sys.c: scope_hint: In function ‘_PyTestCapi_Init_Sys’
Python-3.12.3/Modules/_testcapi/sys.c:57:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/sys.gcda’ profile count data file not found
#   55|   
#   56|       return 0;
#   57|-> }

Error: COMPILER_WARNING: [#def229]
Python-3.12.3/Modules/_testcapi/tuple.c: scope_hint: In function ‘_PyTestCapi_Init_Tuple’
Python-3.12.3/Modules/_testcapi/tuple.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/tuple.gcda’ profile count data file not found
#   15|   
#   16|       return 0;
#   17|-> }

Error: COMPILER_WARNING: [#def230]
Python-3.12.3/Modules/_testcapi/unicode.c: scope_hint: In function ‘_PyTestCapi_Init_Unicode’
Python-3.12.3/Modules/_testcapi/unicode.c:2074:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/unicode.gcda’ profile count data file not found
# 2072|   
# 2073|       return 0;
# 2074|-> }

Error: COMPILER_WARNING: [#def231]
Python-3.12.3/Modules/_testcapi/vectorcall.c: scope_hint: In function ‘_PyTestCapi_Init_Vectorcall’
Python-3.12.3/Modules/_testcapi/vectorcall.c:406:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/vectorcall.gcda’ profile count data file not found
#  404|   
#  405|       return 0;
#  406|-> }

Error: COMPILER_WARNING: [#def232]
Python-3.12.3/Modules/_testcapi/vectorcall_limited.c: scope_hint: In function ‘_PyTestCapi_Init_VectorcallLimited’
Python-3.12.3/Modules/_testcapi/vectorcall_limited.c:177:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/vectorcall_limited.gcda’ profile count data file not found
#  175|   
#  176|       return 0;
#  177|-> }
#  178|   
#  179|   #endif // LIMITED_API_AVAILABLE

Error: COMPILER_WARNING: [#def233]
Python-3.12.3/Modules/_testcapi/watchers.c: scope_hint: In function ‘_PyTestCapi_Init_Watchers’
Python-3.12.3/Modules/_testcapi/watchers.c:715:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/watchers.gcda’ profile count data file not found
#  713|   
#  714|       return 0;
#  715|-> }

Error: CPPCHECK_WARNING (CWE-768): [#def234]
Python-3.12.3/Modules/_testcapimodule.c:2356: error[unknownEvaluationOrder]: Expression '__typeof__(*p++)*_tmp_op_ptr=&(*p++)' depends on order of evaluation of side effects
# 2354|   
# 2355|       PyObject **p = array;
# 2356|->     Py_CLEAR(*p++);
# 2357|       assert(array[0] == NULL);
# 2358|       assert(p == array + 1);

Error: CPPCHECK_WARNING (CWE-768): [#def235]
Python-3.12.3/Modules/_testcapimodule.c:2395: error[unknownEvaluationOrder]: Expression '__typeof__(*p++)*_tmp_dst_ptr=&(*p++)' depends on order of evaluation of side effects
# 2393|   
# 2394|       PyObject **p = array;
# 2395|->     Py_SETREF(*p++, NULL);
# 2396|       assert(array[0] == NULL);
# 2397|       assert(p == array + 1);

Error: CPPCHECK_WARNING (CWE-768): [#def236]
Python-3.12.3/Modules/_testcapimodule.c:2407: error[unknownEvaluationOrder]: Expression '__typeof__(*p2++)*_tmp_dst_ptr=&(*p2++)' depends on order of evaluation of side effects
# 2405|   
# 2406|       PyObject **p2 = array2;
# 2407|->     Py_XSETREF(*p2++, NULL);
# 2408|       assert(array2[0] == NULL);
# 2409|       assert(p2 == array2 + 1);

Error: CPPCHECK_WARNING (CWE-768): [#def237]
Python-3.12.3/Modules/_testcapimodule.c:2413: error[unknownEvaluationOrder]: Expression '__typeof__(*p2++)*_tmp_dst_ptr=&(*p2++)' depends on order of evaluation of side effects
# 2411|       // test Py_XSETREF() when the argument is NULL
# 2412|       p2 = array2;
# 2413|->     Py_XSETREF(*p2++, NULL);
# 2414|       assert(array2[0] == NULL);
# 2415|       assert(p2 == array2 + 1);

Error: COMPILER_WARNING: [#def238]
Python-3.12.3/Modules/_testcapimodule.c: scope_hint: In function ‘test_buildvalue_issue38913’
Python-3.12.3/Modules/_testcapimodule.c:4158:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_testcapimodule.gcda’ profile count data file not found
# 4156|   
# 4157|       Py_RETURN_NONE;
# 4158|-> }

Error: GCC_ANALYZER_WARNING (CWE-404): [#def239]
Python-3.12.3/Modules/_testclinic.c: scope_hint: In function ‘pack_arguments_newref’
Python-3.12.3/Modules/_testclinic.c:60:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Modules/_testclinic.c:10: included_from: Included from here.
#   58|       va_end(vargs);
#   59|       return tuple;
#   60|-> }
#   61|   
#   62|   /* Pack arguments to a tuple.

Error: COMPILER_WARNING: [#def240]
Python-3.12.3/Modules/_testclinic.c: scope_hint: In function ‘PyInit__testclinic’
Python-3.12.3/Modules/_testclinic.c:1311:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_testclinic.gcda’ profile count data file not found
# 1309|       Py_DECREF(m);
# 1310|       return NULL;
# 1311|-> }
# 1312|   
# 1313|   #undef RETURN_PACKED_ARGS

Error: COMPILER_WARNING: [#def241]
Python-3.12.3/Modules/_testimportmultiple.c: scope_hint: In function ‘PyInit__testimportmultiple_bar’
Python-3.12.3/Modules/_testimportmultiple.c:56:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_testimportmultiple.gcda’ profile count data file not found
#   54|   PyMODINIT_FUNC PyInit__testimportmultiple_bar(void){
#   55|       return PyModule_Create(&_barmodule);
#   56|-> }
#   57|   

Error: COMPILER_WARNING: [#def242]
Python-3.12.3/Modules/_testinternalcapi.c: scope_hint: In function ‘PyInit__testinternalcapi’
Python-3.12.3/Modules/_testinternalcapi.c:1156:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_testinternalcapi.gcda’ profile count data file not found
# 1154|   {
# 1155|       return PyModuleDef_Init(&_testcapimodule);
# 1156|-> }

Error: COMPILER_WARNING: [#def243]
Python-3.12.3/Modules/_testmultiphase.c: scope_hint: In function ‘PyInit__test_shared_gil_only’
Python-3.12.3/Modules/_testmultiphase.c:969:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_testmultiphase.gcda’ profile count data file not found
#  967|   {
#  968|       return PyModuleDef_Init(&shared_gil_only_def);
#  969|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
Python-3.12.3/Modules/_testsinglephase.c: scope_hint: In function ‘clear_state’
Python-3.12.3/Modules/_testsinglephase.c:62:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
#   60|   clear_state(module_state *state)
#   61|   {
#   62|->     state->initialized = 0;
#   63|       Py_CLEAR(state->error);
#   64|       Py_CLEAR(state->int_const);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
Python-3.12.3/Modules/_testsinglephase.c: scope_hint: In function ‘init_state’
Python-3.12.3/Modules/_testsinglephase.c:102:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
#  100|   
#  101|       /* Add an exception type */
#  102|->     state->error = PyErr_NewException("_testsinglephase.error", NULL, NULL);
#  103|       if (state->error == NULL) {
#  104|           goto error;

Error: COMPILER_WARNING: [#def246]
Python-3.12.3/Modules/_testsinglephase.c: scope_hint: In function ‘PyInit__testsinglephase_with_state’
Python-3.12.3/Modules/_testsinglephase.c:483:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_testsinglephase.gcda’ profile count data file not found
#  481|   finally:
#  482|       return module;
#  483|-> }

Error: COMPILER_WARNING: [#def247]
Python-3.12.3/Modules/_threadmodule.c: scope_hint: In function ‘PyInit__thread’
Python-3.12.3/Modules/_threadmodule.c:1788:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_threadmodule.gcda’ profile count data file not found
# 1786|   {
# 1787|       return PyModuleDef_Init(&thread_module);
# 1788|-> }

Error: COMPILER_WARNING: [#def248]
Python-3.12.3/Modules/_tkinter.c: scope_hint: In function ‘PyInit__tkinter’
Python-3.12.3/Modules/_tkinter.c:3361:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_tkinter.gcda’ profile count data file not found
# 3359|   
# 3360|       return m;
# 3361|-> }

Error: COMPILER_WARNING: [#def249]
Python-3.12.3/Modules/_tracemalloc.c: scope_hint: In function ‘PyInit__tracemalloc’
Python-3.12.3/Modules/_tracemalloc.c:228:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_tracemalloc.gcda’ profile count data file not found
#  226|   
#  227|       return m;
#  228|-> }

Error: COMPILER_WARNING: [#def250]
Python-3.12.3/Modules/_typingmodule.c: scope_hint: In function ‘PyInit__typing’
Python-3.12.3/Modules/_typingmodule.c:90:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_typingmodule.gcda’ profile count data file not found
#   88|   {
#   89|       return PyModuleDef_Init(&typingmodule);
#   90|-> }

Error: COMPILER_WARNING: [#def251]
Python-3.12.3/Modules/_uuidmodule.c: scope_hint: In function ‘PyInit__uuid’
Python-3.12.3/Modules/_uuidmodule.c:125:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_uuidmodule.gcda’ profile count data file not found
#  123|   {
#  124|       return PyModuleDef_Init(&uuidmodule);
#  125|-> }

Error: COMPILER_WARNING: [#def252]
Python-3.12.3/Modules/_weakref.c: scope_hint: In function ‘PyInit__weakref’
Python-3.12.3/Modules/_weakref.c:197:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_weakref.gcda’ profile count data file not found
#  195|   {
#  196|       return PyModuleDef_Init(&weakrefmodule);
#  197|-> }

Error: COMPILER_WARNING: [#def253]
Python-3.12.3/Modules/_xxinterpchannelsmodule.c: scope_hint: In function ‘PyInit__xxinterpchannels’
Python-3.12.3/Modules/_xxinterpchannelsmodule.c:2479:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_xxinterpchannelsmodule.gcda’ profile count data file not found
# 2477|   {
# 2478|       return PyModuleDef_Init(&moduledef);
# 2479|-> }

Error: COMPILER_WARNING: [#def254]
Python-3.12.3/Modules/_xxsubinterpretersmodule.c: scope_hint: In function ‘PyInit__xxsubinterpreters’
Python-3.12.3/Modules/_xxsubinterpretersmodule.c:862:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_xxsubinterpretersmodule.gcda’ profile count data file not found
#  860|   {
#  861|       return PyModuleDef_Init(&moduledef);
#  862|-> }

Error: COMPILER_WARNING: [#def255]
Python-3.12.3/Modules/_xxtestfuzz/_xxtestfuzz.c: scope_hint: In function ‘PyInit__xxtestfuzz’
Python-3.12.3/Modules/_xxtestfuzz/_xxtestfuzz.c:48:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_xxtestfuzz.gcda’ profile count data file not found
#   46|   {
#   47|       return PyModule_Create(&_fuzzmodule);
#   48|-> }

Error: COMPILER_WARNING: [#def256]
Python-3.12.3/Modules/_xxtestfuzz/fuzzer.c: scope_hint: In function ‘LLVMFuzzerTestOneInput’
Python-3.12.3/Modules/_xxtestfuzz/fuzzer.c:569:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/fuzzer.gcda’ profile count data file not found
#  567|   #endif
#  568|     return rv;
#  569|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def257]
Python-3.12.3/Modules/_zoneinfo.c: scope_hint: In function ‘remove_from_strong_cache’
Python-3.12.3/Modules/_zoneinfo.c:2380:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
/usr/include/locale.h:28: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_fileutils.h:11: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_unicodeobject.h:11: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_interp.h:34: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_runtime.h:18: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_long.h:12: included_from: Included from here.
Python-3.12.3/Modules/_zoneinfo.c:6: included_from: Included from here.
# 2378|       }
# 2379|   
# 2380|->     if (node->prev != NULL) {
# 2381|           node->prev->next = node->next;
# 2382|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def258]
Python-3.12.3/Modules/_zoneinfo.c: scope_hint: In function ‘remove_from_strong_cache’
Python-3.12.3/Modules/_zoneinfo.c:2389:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
# 2387|   
# 2388|       node->next = NULL;
# 2389|->     node->prev = NULL;
# 2390|   }
# 2391|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
Python-3.12.3/Modules/_zoneinfo.c: scope_hint: In function ‘update_strong_cache’
Python-3.12.3/Modules/_zoneinfo.c:2516:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_node’
# 2514|       move_strong_cache_node_to_front(state, root, new_node);
# 2515|   
# 2516|->     StrongCacheNode *node = new_node->next;
# 2517|       for (size_t i = 1; i < ZONEINFO_STRONG_CACHE_MAX_SIZE; ++i) {
# 2518|           if (node == NULL) {

Error: COMPILER_WARNING: [#def260]
Python-3.12.3/Modules/_zoneinfo.c: scope_hint: In function ‘PyInit__zoneinfo’
Python-3.12.3/Modules/_zoneinfo.c:2784:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_zoneinfo.gcda’ profile count data file not found
# 2782|   {
# 2783|       return PyModuleDef_Init(&zoneinfomodule);
# 2784|-> }

Error: CLANG_WARNING: [#def261]
Python-3.12.3/Modules/arraymodule.c:273:5: warning[deadcode.DeadStores]: Value stored to 'len' is never read
#  271|   
#  272|       wchar_t w;
#  273|->     len = PyUnicode_AsWideChar(u, &w, 1);
#  274|       assert(len == 1);
#  275|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def262]
Python-3.12.3/Modules/arraymodule.c: scope_hint: In function ‘array_slice’
Python-3.12.3/Modules/arraymodule.c:835:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Modules/arraymodule.c:11: included_from: Included from here.
Python-3.12.3/Modules/arraymodule.c:125:32: note: in expansion of macro ‘PyObject_TypeCheck’
Python-3.12.3/Modules/arraymodule.c:2442:14: note: in expansion of macro ‘array_Check’
Python-3.12.3/Modules/arraymodule.c:2444:18: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/arraymodule.c: scope_hint: In function ‘array_slice’
Python-3.12.3/Modules/arraymodule.c:823:21: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Modules/arraymodule.c: scope_hint: In function ‘array_slice’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  833|           return NULL;
#  834|       if (ihigh > ilow) {
#  835|->         memcpy(np->ob_item, a->ob_item + ilow * a->ob_descr->itemsize,
#  836|                  (ihigh-ilow) * a->ob_descr->itemsize);
#  837|       }

Error: CLANG_WARNING: [#def263]
Python-3.12.3/Modules/arraymodule.c:897:9: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  895|       }
#  896|       if (Py_SIZE(a) > 0) {
#  897|->         memcpy(np->ob_item, a->ob_item, Py_SIZE(a)*a->ob_descr->itemsize);
#  898|       }
#  899|       if (Py_SIZE(b) > 0) {

Error: CLANG_WARNING: [#def264]
Python-3.12.3/Modules/arraymodule.c:900:9: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  898|       }
#  899|       if (Py_SIZE(b) > 0) {
#  900|->         memcpy(np->ob_item + Py_SIZE(a)*a->ob_descr->itemsize,
#  901|                  b->ob_item, Py_SIZE(b)*b->ob_descr->itemsize);
#  902|       }

Error: CLANG_WARNING: [#def265]
Python-3.12.3/Modules/arraymodule.c:2494:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 2492|                   needed - slicelength) < 0)
# 2493|                   return -1;
# 2494|->             memmove(self->ob_item + (start + needed) * itemsize,
# 2495|                   self->ob_item + stop * itemsize,
# 2496|                   (Py_SIZE(self) - start - needed) * itemsize);

Error: CLANG_WARNING: [#def266]
Python-3.12.3/Modules/arraymodule.c:2499:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 2497|           }
# 2498|           if (needed > 0)
# 2499|->             memcpy(self->ob_item + start * itemsize,
# 2500|                      other->ob_item, needed * itemsize);
# 2501|           return 0;

Error: COMPILER_WARNING: [#def267]
Python-3.12.3/Modules/arraymodule.c: scope_hint: In function ‘PyInit_array’
Python-3.12.3/Modules/arraymodule.c:3138:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/arraymodule.gcda’ profile count data file not found
# 3136|   {
# 3137|       return PyModuleDef_Init(&arraymodule);
# 3138|-> }

Error: COMPILER_WARNING: [#def268]
Python-3.12.3/Modules/atexitmodule.c: scope_hint: In function ‘PyInit_atexit’
Python-3.12.3/Modules/atexitmodule.c:335:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/atexitmodule.gcda’ profile count data file not found
#  333|   {
#  334|       return PyModuleDef_Init(&atexitmodule);
#  335|-> }

Error: COMPILER_WARNING: [#def269]
Python-3.12.3/Modules/audioop.c: scope_hint: In function ‘PyInit_audioop’
Python-3.12.3/Modules/audioop.c:2003:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/audioop.gcda’ profile count data file not found
# 2001|   
# 2002|       return PyModuleDef_Init(&audioopmodule);
# 2003|-> }

Error: COMPILER_WARNING: [#def270]
Python-3.12.3/Modules/binascii.c: scope_hint: In function ‘PyInit_binascii’
Python-3.12.3/Modules/binascii.c:1346:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/binascii.gcda’ profile count data file not found
# 1344|   {
# 1345|       return PyModuleDef_Init(&binasciimodule);
# 1346|-> }

Error: COMPILER_WARNING: [#def271]
Python-3.12.3/Modules/cjkcodecs/_codecs_cn.c:7: included_from: Included from here.
Python-3.12.3/Modules/cjkcodecs/_codecs_cn.c: scope_hint: In function ‘PyInit__codecs_cn’
Python-3.12.3/Modules/cjkcodecs/cjkcodecs.h:510:19: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_codecs_cn.gcda’ profile count data file not found
Python-3.12.3/Modules/cjkcodecs/_codecs_cn.c:470:1: note: in expansion of macro ‘I_AM_A_MODULE_FOR’
#  508|   
#  509|   #define I_AM_A_MODULE_FOR(loc)                                          \
#  510|->     static struct PyModuleDef _cjk_module = {                           \
#  511|           PyModuleDef_HEAD_INIT,                                          \
#  512|           .m_name = "_codecs_"#loc,                                       \

Error: COMPILER_WARNING: [#def272]
Python-3.12.3/Modules/cjkcodecs/multibytecodec.c: scope_hint: In function ‘PyInit__multibytecodec’
Python-3.12.3/Modules/cjkcodecs/multibytecodec.c:2084:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/multibytecodec.gcda’ profile count data file not found
# 2082|   {
# 2083|       return PyModuleDef_Init(&_multibytecodecmodule);
# 2084|-> }

Error: COMPILER_WARNING: [#def273]
Python-3.12.3/Modules/cmathmodule.c: scope_hint: In function ‘PyInit_cmath’
Python-3.12.3/Modules/cmathmodule.c:1381:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/cmathmodule.gcda’ profile count data file not found
# 1379|   {
# 1380|       return PyModuleDef_Init(&cmathmodule);
# 1381|-> }

Error: COMPILER_WARNING: [#def274]
Python-3.12.3/Modules/errnomodule.c: scope_hint: In function ‘PyInit_errno’
Python-3.12.3/Modules/errnomodule.c:977:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/errnomodule.gcda’ profile count data file not found
#  975|   {
#  976|       return PyModuleDef_Init(&errnomodule);
#  977|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def275]
Python-3.12.3/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_read_null’
Python-3.12.3/Modules/faulthandler.c:987:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  985|       faulthandler_suppress_crash_report();
#  986|       x = NULL;
#  987|->     y = *x;
#  988|       return PyLong_FromLong(y);
#  989|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def276]
Python-3.12.3/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_read_null’
Python-3.12.3/Modules/faulthandler.c:987:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
#  985|       faulthandler_suppress_crash_report();
#  986|       x = NULL;
#  987|->     y = *x;
#  988|       return PyLong_FromLong(y);
#  989|   

Error: CLANG_WARNING: [#def277]
Python-3.12.3/Modules/faulthandler.c:987:9: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'x')
#  985|       faulthandler_suppress_crash_report();
#  986|       x = NULL;
#  987|->     y = *x;
#  988|       return PyLong_FromLong(y);
#  989|   

Error: CLANG_WARNING: [#def278]
Python-3.12.3/Modules/faulthandler.c:1076:11: warning[core.DivideZero]: Division by zero
# 1074|          PowerPC. Use volatile to disable compile-time optimizations. */
# 1075|       volatile int x = 1, y = 0, z;
# 1076|->     z = x / y;
# 1077|   
# 1078|       /* If the division by zero didn't raise a SIGFPE (e.g. on PowerPC),

Error: CLANG_WARNING: [#def279]
Python-3.12.3/Modules/faulthandler.c:1109:9: warning[core.StackAddressEscape]: Address of stack memory associated with local variable 'buffer' returned to caller
# 1107|       *depth += 1;
# 1108|       if (sp < min_sp || max_sp < sp)
# 1109|->         return sp;
# 1110|       buffer[0] = 1;
# 1111|       buffer[4095] = 0;

Error: GCC_ANALYZER_WARNING (CWE-825): [#def280]
Python-3.12.3/Modules/faulthandler.c: scope_hint: In function ‘stack_overflow’
Python-3.12.3/Modules/faulthandler.c:1112:12: warning[-Wanalyzer-use-of-pointer-in-stale-stack-frame]: dereferencing pointer ‘stack_overflow(min_sp,  max_sp,  depth)’ to within stale stack frame
# 1110|       buffer[0] = 1;
# 1111|       buffer[4095] = 0;
# 1112|->     return stack_overflow(min_sp, max_sp, depth);
# 1113|   }
# 1114|   

Error: GCC_ANALYZER_WARNING (CWE-825): [#def281]
Python-3.12.3/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_stack_overflow’
Python-3.12.3/Modules/faulthandler.c:1139:12: warning[-Wanalyzer-use-of-pointer-in-stale-stack-frame]: dereferencing pointer ‘stack_overflow(lower_limit,  upper_limit, & depth)’ to within stale stack frame
# 1137|       }
# 1138|   
# 1139|->     stop = stack_overflow(lower_limit, upper_limit, &depth);
# 1140|       if (sp < stop)
# 1141|           size = stop - sp;

Error: GCC_ANALYZER_WARNING (CWE-825): [#def282]
Python-3.12.3/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_stack_overflow’
Python-3.12.3/Modules/faulthandler.c:1140:8: warning[-Wanalyzer-use-of-pointer-in-stale-stack-frame]: dereferencing pointer ‘stack_overflow(lower_limit,  upper_limit, & depth)’ to within stale stack frame
# 1138|   
# 1139|       stop = stack_overflow(lower_limit, upper_limit, &depth);
# 1140|->     if (sp < stop)
# 1141|           size = stop - sp;
# 1142|       else

Error: COMPILER_WARNING: [#def283]
Python-3.12.3/Modules/faulthandler.c: scope_hint: In function ‘_PyFaulthandler_Fini’
Python-3.12.3/Modules/faulthandler.c:1394:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/faulthandler.gcda’ profile count data file not found
# 1392|       }
# 1393|   #endif
# 1394|-> }

Error: COMPILER_WARNING: [#def284]
Python-3.12.3/Modules/fcntlmodule.c: scope_hint: In function ‘PyInit_fcntl’
Python-3.12.3/Modules/fcntlmodule.c:707:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/fcntlmodule.gcda’ profile count data file not found
#  705|   {
#  706|       return PyModuleDef_Init(&fcntlmodule);
#  707|-> }

Error: COMPILER_WARNING: [#def285]
Python-3.12.3/Modules/gcmodule.c: scope_hint: In function ‘PyUnstable_GC_VisitObjects’
Python-3.12.3/Modules/gcmodule.c:2445:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/gcmodule.gcda’ profile count data file not found
# 2443|   done:
# 2444|       gcstate->enabled = origenstate;
# 2445|-> }

Error: COMPILER_WARNING: [#def286]
Python-3.12.3/Modules/getbuildinfo.c: scope_hint: In function ‘_Py_gitidentifier’
Python-3.12.3/Modules/getbuildinfo.c:74:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getbuildinfo.gcda’ profile count data file not found
#   72|           gitid = GITBRANCH;
#   73|       return gitid;
#   74|-> }

Error: CLANG_WARNING: [#def287]
Python-3.12.3/Modules/getpath.c:391:14: warning[deadcode.DeadStores]: Value stored to 'p2' during its initialization is never read
#  389|   
#  390|       wchar_t *p1 = wbuffer;
#  391|->     wchar_t *p2 = p1;
#  392|       while ((p2 = wcschr(p1, L'\n')) != NULL) {
#  393|           Py_ssize_t cb = p2 - p1;

Error: COMPILER_WARNING: [#def288]
Python-3.12.3/Modules/getpath.c: scope_hint: In function ‘_PyConfig_InitPathConfig’
Python-3.12.3/Modules/getpath.c:955:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getpath.gcda’ profile count data file not found
#  953|   
#  954|       return _PyStatus_OK();
#  955|-> }
#  956|   

Error: COMPILER_WARNING: [#def289]
Python-3.12.3/Modules/getpath_noop.c: scope_hint: In function ‘_PyConfig_InitPathConfig’
Python-3.12.3/Modules/getpath_noop.c:10:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getpath_noop.gcda’ profile count data file not found
#    8|   {
#    9|       return PyStatus_Error("path configuration is unsupported");
#   10|-> }

Error: COMPILER_WARNING: [#def290]
Python-3.12.3/Modules/grpmodule.c: scope_hint: In function ‘PyInit_grp’
Python-3.12.3/Modules/grpmodule.c:370:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/grpmodule.gcda’ profile count data file not found
#  368|   {
#  369|      return PyModuleDef_Init(&grpmodule);
#  370|-> }

Error: COMPILER_WARNING: [#def291]
Python-3.12.3/Modules/itertoolsmodule.c: scope_hint: In function ‘PyInit_itertools’
Python-3.12.3/Modules/itertoolsmodule.c:4771:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/itertoolsmodule.gcda’ profile count data file not found
# 4769|   {
# 4770|       return PyModuleDef_Init(&itertoolsmodule);
# 4771|-> }

Error: COMPILER_WARNING: [#def292]
Python-3.12.3/Modules/main.c: scope_hint: In function ‘Py_BytesMain’
Python-3.12.3/Modules/main.c:764:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/main.gcda’ profile count data file not found
#  762|           .wchar_argv = NULL};
#  763|       return pymain_main(&args);
#  764|-> }
#  765|   
#  766|   #ifdef __cplusplus

Error: COMPILER_WARNING: [#def293]
Python-3.12.3/Modules/mathmodule.c: scope_hint: In function ‘PyInit_math’
Python-3.12.3/Modules/mathmodule.c:4160:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/mathmodule.gcda’ profile count data file not found
# 4158|   {
# 4159|       return PyModuleDef_Init(&mathmodule);
# 4160|-> }

Error: COMPILER_WARNING: [#def294]
Python-3.12.3/Modules/md5module.c: scope_hint: In function ‘PyInit__md5’
Python-3.12.3/Modules/md5module.c:394:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/md5module.gcda’ profile count data file not found
#  392|   {
#  393|       return PyModuleDef_Init(&_md5module);
#  394|-> }

Error: COMPILER_WARNING: [#def295]
Python-3.12.3/Modules/mmapmodule.c: scope_hint: In function ‘PyInit_mmap’
Python-3.12.3/Modules/mmapmodule.c:1763:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/mmapmodule.gcda’ profile count data file not found
# 1761|   {
# 1762|       return PyModuleDef_Init(&mmapmodule);
# 1763|-> }

Error: COMPILER_WARNING: [#def296]
Python-3.12.3/Modules/nismodule.c: scope_hint: In function ‘PyInit_nis’
Python-3.12.3/Modules/nismodule.c:536:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/nismodule.gcda’ profile count data file not found
#  534|       }
#  535|       return PyModuleDef_Init(&nismodule);
#  536|-> }

Error: COMPILER_WARNING: [#def297]
Python-3.12.3/Modules/ossaudiodev.c: scope_hint: In function ‘PyInit_ossaudiodev’
Python-3.12.3/Modules/ossaudiodev.c:1399:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/ossaudiodev.gcda’ profile count data file not found
# 1397|   #endif
# 1398|       return m;
# 1399|-> }

Error: CLANG_WARNING: [#def298]
Python-3.12.3/Modules/posixmodule.c:4086:22: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 4084|           if (HAVE_LINKAT_RUNTIME) {
# 4085|   
# 4086|->             result = linkat(src_dir_fd, src->narrow,
# 4087|                   dst_dir_fd, dst->narrow,
# 4088|                   follow_symlinks ? AT_SYMLINK_FOLLOW : 0);

Error: CLANG_WARNING: [#def299]
Python-3.12.3/Modules/posixmodule.c:4086:22: warning[core.NonNullParamChecker]: Null pointer passed to 4th parameter expecting 'nonnull'
# 4084|           if (HAVE_LINKAT_RUNTIME) {
# 4085|   
# 4086|->             result = linkat(src_dir_fd, src->narrow,
# 4087|                   dst_dir_fd, dst->narrow,
# 4088|                   follow_symlinks ? AT_SYMLINK_FOLLOW : 0);

Error: CLANG_WARNING: [#def300]
Python-3.12.3/Modules/posixmodule.c:4104:18: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 4102|       else
# 4103|   #endif /* HAVE_LINKAT */
# 4104|->         result = link(src->narrow, dst->narrow);
# 4105|       Py_END_ALLOW_THREADS
# 4106|   

Error: CLANG_WARNING: [#def301]
Python-3.12.3/Modules/posixmodule.c:4104:18: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 4102|       else
# 4103|   #endif /* HAVE_LINKAT */
# 4104|->         result = link(src->narrow, dst->narrow);
# 4105|       Py_END_ALLOW_THREADS
# 4106|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def302]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_readlink_impl’
Python-3.12.3/Modules/posixmodule.c:9656:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:14942: included_from: Included from here.
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Modules/posixmodule.c:12: included_from: Included from here.
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Include/Python.h:29: included_from: Included from here.
/usr/include/unistd.h:838:16: note: argument 1 of ‘readlink’ must be non-null
# 9654|       } else
# 9655|   #endif
# 9656|->         length = readlink(path->narrow, buffer, MAXPATHLEN);
# 9657|       Py_END_ALLOW_THREADS
# 9658|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def303]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_symlink_impl’
Python-3.12.3/Modules/posixmodule.c:9929:22: warning[-Wanalyzer-null-argument]: use of NULL ‘dst.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1177:5: note: in expansion of macro ‘Py_INCREF’
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_symlink_impl’
/usr/include/unistd.h:847:12: note: argument 3 of ‘symlinkat’ must be non-null
# 9927|       if (dir_fd != DEFAULT_DIR_FD) {
# 9928|           if (HAVE_SYMLINKAT_RUNTIME) {
# 9929|->             result = symlinkat(src->narrow, dir_fd, dst->narrow);
# 9930|           } else {
# 9931|               symlinkat_unavailable = 1;

Error: CLANG_WARNING: [#def304]
Python-3.12.3/Modules/posixmodule.c:9929:22: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 9927|       if (dir_fd != DEFAULT_DIR_FD) {
# 9928|           if (HAVE_SYMLINKAT_RUNTIME) {
# 9929|->             result = symlinkat(src->narrow, dir_fd, dst->narrow);
# 9930|           } else {
# 9931|               symlinkat_unavailable = 1;

Error: CLANG_WARNING: [#def305]
Python-3.12.3/Modules/posixmodule.c:9929:22: warning[core.NonNullParamChecker]: Null pointer passed to 3rd parameter expecting 'nonnull'
# 9927|       if (dir_fd != DEFAULT_DIR_FD) {
# 9928|           if (HAVE_SYMLINKAT_RUNTIME) {
# 9929|->             result = symlinkat(src->narrow, dir_fd, dst->narrow);
# 9930|           } else {
# 9931|               symlinkat_unavailable = 1;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def306]
Python-3.12.3/Modules/posixmodule.c:9935:18: warning[-Wanalyzer-null-argument]: use of NULL ‘dst.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1177:5: note: in expansion of macro ‘Py_INCREF’
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_symlink_impl’
/usr/include/unistd.h:832:12: note: argument 2 of ‘symlink’ must be non-null
# 9933|       } else
# 9934|   #endif
# 9935|->         result = symlink(src->narrow, dst->narrow);
# 9936|       Py_END_ALLOW_THREADS
# 9937|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def307]
Python-3.12.3/Modules/posixmodule.c:9935:18: warning[-Wanalyzer-null-argument]: use of NULL ‘src.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Include/Python.h:95: included_from: Included from here.
Python-3.12.3/Modules/posixmodule.c:9925:5: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
/usr/include/unistd.h:832:12: note: argument 1 of ‘symlink’ must be non-null
# 9933|       } else
# 9934|   #endif
# 9935|->         result = symlink(src->narrow, dst->narrow);
# 9936|       Py_END_ALLOW_THREADS
# 9937|   

Error: CLANG_WARNING: [#def308]
Python-3.12.3/Modules/posixmodule.c:9935:18: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 9933|       } else
# 9934|   #endif
# 9935|->         result = symlink(src->narrow, dst->narrow);
# 9936|       Py_END_ALLOW_THREADS
# 9937|   

Error: CLANG_WARNING: [#def309]
Python-3.12.3/Modules/posixmodule.c:9935:18: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 9933|       } else
# 9934|   #endif
# 9935|->         result = symlink(src->narrow, dst->narrow);
# 9936|       Py_END_ALLOW_THREADS
# 9937|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def310]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_open_impl’
Python-3.12.3/Modules/posixmodule.c:10249:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
/usr/include/features.h:511: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdlib.h:26: included_from: Included from here.
Python-3.12.3/Include/Python.h:23: included_from: Included from here.
/usr/include/fcntl.h:212:12: note: argument 1 of ‘open’ must be non-null
#10247|           } else
#10248|   #endif /* HAVE_OPENAT */
#10249|->             fd = open(path->narrow, flags, mode);
#10250|   #endif /* !MS_WINDOWS */
#10251|           Py_END_ALLOW_THREADS

Error: GCC_ANALYZER_WARNING (CWE-775): [#def311]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_dup2_impl’
Python-3.12.3/Modules/posixmodule.c:10429:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘res’
Python-3.12.3/Modules/posixmodule.c:10420:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
#10427|   
#10428|           if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) {
#10429|->             close(fd2);
#10430|               return -1;
#10431|           }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def312]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_mkfifo_impl’
Python-3.12.3/Modules/posixmodule.c:11668:22: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Include/pyport.h:221: included_from: Included from here.
Python-3.12.3/Include/Python.h:38: included_from: Included from here.
/usr/include/sys/stat.h:418:12: note: argument 1 of ‘mkfifo’ must be non-null
#11666|           } else
#11667|   #endif
#11668|->             result = mkfifo(path->narrow, mode);
#11669|           Py_END_ALLOW_THREADS
#11670|       } while (result != 0 && errno == EINTR &&

Error: GCC_ANALYZER_WARNING (CWE-688): [#def313]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_mknod_impl’
Python-3.12.3/Modules/posixmodule.c:11737:22: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
/usr/include/sys/stat.h:404:12: note: argument 1 of ‘mknod’ must be non-null
#11735|           } else
#11736|   #endif
#11737|->             result = mknod(path->narrow, mode, device);
#11738|           Py_END_ALLOW_THREADS
#11739|       } while (result != 0 && errno == EINTR &&

Error: GCC_ANALYZER_WARNING (CWE-688): [#def314]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_truncate_impl’
Python-3.12.3/Modules/posixmodule.c:11891:14: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:11878:5: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
/usr/include/unistd.h:1030:12: note: argument 1 of ‘truncate’ must be non-null
#11889|       }
#11890|   #else
#11891|->     result = truncate(path->narrow, length);
#11892|   #endif
#11893|       _Py_END_SUPPRESS_IPH

Error: GCC_ANALYZER_WARNING (CWE-688): [#def315]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_statvfs_impl’
Python-3.12.3/Modules/posixmodule.c:12483:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
/usr/include/sys/statvfs.h:56:12: note: argument 1 of ‘statvfs’ must be non-null
#12481|       else
#12482|   #endif
#12483|->         result = statvfs(path->narrow, &st);
#12484|       Py_END_ALLOW_THREADS
#12485|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def316]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘os_pathconf_impl’
Python-3.12.3/Modules/posixmodule.c:12759:17: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
Python-3.12.3/Modules/posixmodule.c:1145:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
Python-3.12.3/Modules/posixmodule.c:1146:5: note: in expansion of macro ‘Py_CLEAR’
/usr/include/unistd.h:633:17: note: argument 1 of ‘pathconf’ must be non-null
#12757|       else
#12758|   #endif
#12759|->         limit = pathconf(path->narrow, name);
#12760|       if (limit == -1 && errno != 0) {
#12761|           if (errno == EINVAL)

Error: COMPILER_WARNING: [#def317]
Python-3.12.3/Modules/posixmodule.c: scope_hint: In function ‘PyInit_posix’
Python-3.12.3/Modules/posixmodule.c:17041:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/posixmodule.gcda’ profile count data file not found
#17039|   {
#17040|       return PyModuleDef_Init(&posixmodule);
#17041|-> }
#17042|   
#17043|   #ifdef __cplusplus

Error: COMPILER_WARNING: [#def318]
Python-3.12.3/Modules/pwdmodule.c: scope_hint: In function ‘PyInit_pwd’
Python-3.12.3/Modules/pwdmodule.c:371:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pwdmodule.gcda’ profile count data file not found
#  369|   {
#  370|       return PyModuleDef_Init(&pwdmodule);
#  371|-> }

Error: COMPILER_WARNING: [#def319]
Python-3.12.3/Modules/pyexpat.c: scope_hint: In function ‘clear_handlers’
Python-3.12.3/Modules/pyexpat.c:2201:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pyexpat.gcda’ profile count data file not found
# 2199|   
# 2200|       {NULL, NULL, NULL} /* sentinel */
# 2201|-> };

Error: COMPILER_WARNING: [#def320]
Python-3.12.3/Modules/readline.c: scope_hint: In function ‘PyInit_readline’
Python-3.12.3/Modules/readline.c:1529:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/readline.gcda’ profile count data file not found
# 1527|       Py_DECREF(m);
# 1528|       return NULL;
# 1529|-> }

Error: COMPILER_WARNING: [#def321]
Python-3.12.3/Modules/resource.c: scope_hint: In function ‘PyInit_resource’
Python-3.12.3/Modules/resource.c:556:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/resource.gcda’ profile count data file not found
#  554|   {
#  555|       return PyModuleDef_Init(&resourcemodule);
#  556|-> }

Error: COMPILER_WARNING: [#def322]
Python-3.12.3/Modules/rotatingtree.c: scope_hint: In function ‘RotatingTree_Enum’
Python-3.12.3/Modules/rotatingtree.c:121:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/rotatingtree.gcda’ profile count data file not found
#  119|       }
#  120|       return 0;
#  121|-> }

Error: COMPILER_WARNING: [#def323]
Python-3.12.3/Modules/selectmodule.c: scope_hint: In function ‘PyInit_select’
Python-3.12.3/Modules/selectmodule.c:2807:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/selectmodule.gcda’ profile count data file not found
# 2805|   {
# 2806|       return PyModuleDef_Init(&selectmodule);
# 2807|-> }

Error: COMPILER_WARNING: [#def324]
Python-3.12.3/Modules/sha1module.c: scope_hint: In function ‘PyInit__sha1’
Python-3.12.3/Modules/sha1module.c:397:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/sha1module.gcda’ profile count data file not found
#  395|   {
#  396|       return PyModuleDef_Init(&_sha1module);
#  397|-> }

Error: COMPILER_WARNING: [#def325]
Python-3.12.3/Modules/sha2module.c: scope_hint: In function ‘PyInit__sha2’
Python-3.12.3/Modules/sha2module.c:889:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/sha2module.gcda’ profile count data file not found
#  887|   {
#  888|       return PyModuleDef_Init(&_sha2module);
#  889|-> }

Error: COMPILER_WARNING: [#def326]
Python-3.12.3/Modules/sha3module.c: scope_hint: In function ‘PyInit__sha3’
Python-3.12.3/Modules/sha3module.c:623:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/sha3module.gcda’ profile count data file not found
#  621|   {
#  622|       return PyModuleDef_Init(&_sha3module);
#  623|-> }

Error: COMPILER_WARNING: [#def327]
Python-3.12.3/Modules/signalmodule.c: scope_hint: In function ‘_PyOS_IsMainThread’
Python-3.12.3/Modules/signalmodule.c:2049:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/signalmodule.gcda’ profile count data file not found
# 2047|       PyInterpreterState *interp = _PyInterpreterState_GET();
# 2048|       return _Py_ThreadCanHandleSignals(interp);
# 2049|-> }
# 2050|   
# 2051|   #ifdef MS_WINDOWS

Error: CLANG_WARNING: [#def328]
Python-3.12.3/Modules/socketmodule.c:1710:5: warning[deadcode.DeadStores]: Value stored to 'len' is never read
# 1708|       }
# 1709|       data->obj = NULL;
# 1710|->     len = -1;
# 1711|       if (PyBytes_Check(obj)) {
# 1712|           data->buf = PyBytes_AsString(obj);

Error: COMPILER_WARNING: [#def329]
Python-3.12.3/Modules/socketmodule.c: scope_hint: In function ‘PyInit__socket’
Python-3.12.3/Modules/socketmodule.c:8938:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/socketmodule.gcda’ profile count data file not found
# 8936|   {
# 8937|       return PyModuleDef_Init(&socketmodule);
# 8938|-> }

Error: COMPILER_WARNING: [#def330]
Python-3.12.3/Modules/spwdmodule.c: scope_hint: In function ‘PyInit_spwd’
Python-3.12.3/Modules/spwdmodule.c:268:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/spwdmodule.gcda’ profile count data file not found
#  266|   
#  267|       return PyModuleDef_Init(&spwdmodule);
#  268|-> }

Error: COMPILER_WARNING: [#def331]
Python-3.12.3/Modules/symtablemodule.c: scope_hint: In function ‘PyInit__symtable’
Python-3.12.3/Modules/symtablemodule.c:127:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/symtablemodule.gcda’ profile count data file not found
#  125|   {
#  126|       return PyModuleDef_Init(&symtablemodule);
#  127|-> }

Error: COMPILER_WARNING: [#def332]
Python-3.12.3/Modules/syslogmodule.c: scope_hint: In function ‘PyInit_syslog’
Python-3.12.3/Modules/syslogmodule.c:427:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/syslogmodule.gcda’ profile count data file not found
#  425|   {
#  426|       return PyModuleDef_Init(&syslogmodule);
#  427|-> }

Error: COMPILER_WARNING: [#def333]
Python-3.12.3/Modules/termios.c: scope_hint: In function ‘PyInit_termios’
Python-3.12.3/Modules/termios.c:1290:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/termios.gcda’ profile count data file not found
# 1288|   {
# 1289|       return PyModuleDef_Init(&termiosmodule);
# 1290|-> }

Error: COMPILER_WARNING: [#def334]
Python-3.12.3/Modules/timemodule.c: scope_hint: In function ‘pysleep’
Python-3.12.3/Modules/timemodule.c:2320:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/timemodule.gcda’ profile count data file not found
# 2318|       return -1;
# 2319|   #endif
# 2320|-> }

Error: COMPILER_WARNING: [#def335]
Python-3.12.3/Modules/tkappinit.c: scope_hint: In function ‘Tcl_AppInit’
Python-3.12.3/Modules/tkappinit.c:92:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/tkappinit.gcda’ profile count data file not found
#   90|   #endif
#   91|       return TCL_OK;
#   92|-> }

Error: CLANG_WARNING: [#def336]
Python-3.12.3/Modules/unicodedata.c:1174:33: warning[core.UndefinedBinaryOperatorResult]: The right operand of '!=' is a garbage value
# 1172|           return 0;
# 1173|       for (i = 0; i < namelen; i++) {
# 1174|->         if (Py_TOUPPER(name[i]) != buffer[i])
# 1175|               return 0;
# 1176|       }

Error: CLANG_WARNING: [#def337]
Python-3.12.3/Modules/unicodedata.c:1177:28: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 1175|               return 0;
# 1176|       }
# 1177|->     return buffer[namelen] == '\0';
# 1178|   }
# 1179|   

Error: COMPILER_WARNING: [#def338]
Python-3.12.3/Modules/unicodedata.c: scope_hint: In function ‘PyInit_unicodedata’
Python-3.12.3/Modules/unicodedata.c:1536:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/unicodedata.gcda’ profile count data file not found
# 1534|   {
# 1535|       return PyModuleDef_Init(&unicodedata_module);
# 1536|-> }
# 1537|   
# 1538|   

Error: COMPILER_WARNING: [#def339]
Python-3.12.3/Modules/xxlimited.c: scope_hint: In function ‘PyInit_xxlimited’
Python-3.12.3/Modules/xxlimited.c:437:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/xxlimited.gcda’ profile count data file not found
#  435|   {
#  436|       return PyModuleDef_Init(&xxmodule);
#  437|-> }

Error: COMPILER_WARNING: [#def340]
Python-3.12.3/Modules/xxlimited_35.c: scope_hint: In function ‘PyInit_xxlimited_35’
Python-3.12.3/Modules/xxlimited_35.c:317:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/xxlimited_35.gcda’ profile count data file not found
#  315|   {
#  316|       return PyModuleDef_Init(&xxmodule);
#  317|-> }

Error: COMPILER_WARNING: [#def341]
Python-3.12.3/Modules/xxsubtype.c: scope_hint: In function ‘PyInit_xxsubtype’
Python-3.12.3/Modules/xxsubtype.c:308:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/xxsubtype.gcda’ profile count data file not found
#  306|   {
#  307|       return PyModuleDef_Init(&xxsubtypemodule);
#  308|-> }

Error: COMPILER_WARNING: [#def342]
Python-3.12.3/Modules/zlibmodule.c: scope_hint: In function ‘PyInit_zlib’
Python-3.12.3/Modules/zlibmodule.c:2140:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/zlibmodule.gcda’ profile count data file not found
# 2138|   {
# 2139|       return PyModuleDef_Init(&zlibmodule);
# 2140|-> }

Error: COMPILER_WARNING: [#def343]
Python-3.12.3/Objects/abstract.c: scope_hint: In function ‘_Py_FreeCharPArray’
Python-3.12.3/Objects/abstract.c:2959:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/abstract.gcda’ profile count data file not found
# 2957|       }
# 2958|       PyMem_Free((void*)array);
# 2959|-> }

Error: COMPILER_WARNING: [#def344]
Python-3.12.3/Objects/boolobject.c: scope_hint: In function ‘bool_dealloc’
Python-3.12.3/Objects/boolobject.c:226:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/boolobject.gcda’ profile count data file not found
#  224|           { 1 }
#  225|       }
#  226|-> };

Error: COMPILER_WARNING: [#def345]
Python-3.12.3/Objects/bytearrayobject.c:913:54: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
Python-3.12.3/Objects/bytearrayobject.c: scope_hint: In function ‘bytearray___init__’
Python-3.12.3/Objects/bytearrayobject.c:19:6: note: at offset -1 into destination object ‘_PyByteArray_empty_string’ of size 1
#  911|           else if (PyByteArray_Resize((PyObject *)self, Py_SIZE(self)+1) < 0)
#  912|               goto error;
#  913|->         PyByteArray_AS_STRING(self)[Py_SIZE(self)-1] = value;
#  914|       }
#  915|   

Error: COMPILER_WARNING (CWE-126): [#def346]
Python-3.12.3/Objects/bytearrayobject.c:1822:5: warning[-Wstringop-overread]: ‘memmove’ reading 1 or more bytes from a region of size 0
Python-3.12.3/Objects/bytearrayobject.c: scope_hint: In function ‘bytearray_pop’
Python-3.12.3/Objects/bytearrayobject.c:19:6: note: at offset 1 into source object ‘_PyByteArray_empty_string’ of size 1
# 1820|       buf = PyByteArray_AS_STRING(self);
# 1821|       value = buf[index];
# 1822|->     memmove(buf + index, buf + index + 1, n - index);
# 1823|       if (PyByteArray_Resize((PyObject *)self, n - 1) < 0)
# 1824|           return NULL;

Error: COMPILER_WARNING: [#def347]
Python-3.12.3/Objects/bytearrayobject.c: scope_hint: In function ‘bytearray_iter’
Python-3.12.3/Objects/bytearrayobject.c:2488:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bytearrayobject.gcda’ profile count data file not found
# 2486|       _PyObject_GC_TRACK(it);
# 2487|       return (PyObject *)it;
# 2488|-> }

Error: CLANG_WARNING: [#def348]
Python-3.12.3/Objects/bytes_methods.c:543:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  541|       else if (sub_len == 1) {
#  542|           if (dir > 0)
#  543|->             res = stringlib_find_char(
#  544|                   str + start, end - start,
#  545|                   *sub);

Error: CLANG_WARNING: [#def349]
Python-3.12.3/Objects/bytes_methods.c:547:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  545|                   *sub);
#  546|           else
#  547|->             res = stringlib_rfind_char(
#  548|                   str + start, end - start,
#  549|                   *sub);

Error: COMPILER_WARNING: [#def350]
Python-3.12.3/Objects/bytes_methods.c: scope_hint: In function ‘_Py_bytes_endswith’
Python-3.12.3/Objects/bytes_methods.c:837:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bytes_methods.gcda’ profile count data file not found
#  835|   {
#  836|       return _Py_bytes_tailmatch(str, len, "endswith", args, +1);
#  837|-> }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def351]
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
Python-3.12.3/Objects/bytesobject.c:127:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*str’
Python-3.12.3/Objects/bytesobject.c:42:37: note: in definition of macro ‘CHARACTER’
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Objects/bytesobject.c:5: included_from: Included from here.
Python-3.12.3/Include/bytesobject.h:32:32: note: in expansion of macro ‘Py_IS_TYPE’
Python-3.12.3/Objects/bytesobject.c:2844:9: note: in expansion of macro ‘PyBytes_CheckExact’
Python-3.12.3/Include/object.h:250:12: note: in expansion of macro ‘Py_TYPE’
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
Python-3.12.3/Include/listobject.h:26:31: note: in expansion of macro ‘Py_IS_TYPE’
Python-3.12.3/Objects/bytesobject.c:2852:9: note: in expansion of macro ‘PyList_CheckExact’
Python-3.12.3/Include/object.h:250:12: note: in expansion of macro ‘Py_TYPE’
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
Python-3.12.3/Objects/bytesobject.c:42:37: note: in definition of macro ‘CHARACTER’
Python-3.12.3/Objects/bytesobject.c:42:37: note: in definition of macro ‘CHARACTER’
#  125|       }
#  126|       if (size == 1 && str != NULL) {
#  127|->         op = CHARACTER(*str & 255);
#  128|           return Py_NewRef(op);
#  129|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def352]
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
Python-3.12.3/Objects/bytesobject.c:140:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Objects/bytesobject.c:5: included_from: Included from here.
Python-3.12.3/Include/bytesobject.h:32:32: note: in expansion of macro ‘Py_IS_TYPE’
Python-3.12.3/Objects/bytesobject.c:2844:9: note: in expansion of macro ‘PyBytes_CheckExact’
Python-3.12.3/Include/listobject.h:26:31: note: in expansion of macro ‘Py_IS_TYPE’
Python-3.12.3/Objects/bytesobject.c:2852:9: note: in expansion of macro ‘PyList_CheckExact’
Python-3.12.3/Include/tupleobject.h:28:32: note: in expansion of macro ‘Py_IS_TYPE’
Python-3.12.3/Objects/bytesobject.c:2855:9: note: in expansion of macro ‘PyTuple_CheckExact’
Python-3.12.3/Include/unicodeobject.h:115:5: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Objects/bytesobject.c:2858:10: note: in expansion of macro ‘PyUnicode_Check’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
#  138|           return (PyObject *) op;
#  139|   
#  140|->     memcpy(op->ob_sval, str, size);
#  141|       return (PyObject *) op;
#  142|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def353]
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘_PyBytesWriter_Resize’
Python-3.12.3/Objects/bytesobject.c:3399:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*writer.small_buffer’
Python-3.12.3/Include/bytesobject.h:62: included_from: Included from here.
Python-3.12.3/Include/Python.h:50: included_from: Included from here.
Python-3.12.3/Objects/bytesobject.c:3398:24: note: in expansion of macro ‘PyBytes_AS_STRING’
Python-3.12.3/Objects/bytesobject.c:3398:24: note: in expansion of macro ‘PyBytes_AS_STRING’
Python-3.12.3/Include/cpython/bytesobject.h:37:12: note: in expansion of macro ‘_PyBytes_CAST’
Python-3.12.3/Include/cpython/bytesobject.h:37:12: note: in expansion of macro ‘_PyBytes_CAST’
Python-3.12.3/Objects/bytesobject.c:3398:24: note: in expansion of macro ‘PyBytes_AS_STRING’
# 3397|               else
# 3398|                   dest = PyBytes_AS_STRING(writer->buffer);
# 3399|->             memcpy(dest,
# 3400|                         writer->small_buffer,
# 3401|                         pos);

Error: COMPILER_WARNING: [#def354]
Python-3.12.3/Objects/bytesobject.c: scope_hint: In function ‘_PyBytes_Repeat’
Python-3.12.3/Objects/bytesobject.c:3563:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bytesobject.gcda’ profile count data file not found
# 3561|           }
# 3562|       }
# 3563|-> }
# 3564|   

Error: GCC_ANALYZER_WARNING (CWE-404): [#def355]
Python-3.12.3/Objects/call.c: scope_hint: In function ‘_PyObject_CallMethodIdObjArgs’
Python-3.12.3/Objects/call.c:946:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
#  944|       Py_DECREF(callable);
#  945|       return result;
#  946|-> }
#  947|   
#  948|   

Error: GCC_ANALYZER_WARNING (CWE-404): [#def356]
Python-3.12.3/Objects/call.c: scope_hint: In function ‘PyObject_CallFunctionObjArgs’
Python-3.12.3/Objects/call.c:961:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
#  959|   
#  960|       return result;
#  961|-> }
#  962|   
#  963|   

Error: COMPILER_WARNING: [#def357]
Python-3.12.3/Objects/call.c: scope_hint: In function ‘PyVectorcall_NARGS’
Python-3.12.3/Objects/call.c:1083:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/call.gcda’ profile count data file not found
# 1081|   {
# 1082|       return _PyVectorcall_NARGS(n);
# 1083|-> }

Error: COMPILER_WARNING: [#def358]
Python-3.12.3/Objects/capsule.c: scope_hint: In function ‘capsule_repr’
Python-3.12.3/Objects/capsule.c:317:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/capsule.gcda’ profile count data file not found
#  315|       0,                          /*tp_flags*/
#  316|       PyCapsule_Type__doc__       /*tp_doc*/
#  317|-> };
#  318|   
#  319|   

Error: COMPILER_WARNING: [#def359]
Python-3.12.3/Objects/cellobject.c: scope_hint: In function ‘cell_set_contents’
Python-3.12.3/Objects/cellobject.c:192:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/cellobject.gcda’ profile count data file not found
#  190|       (newfunc)cell_new,                          /* tp_new */
#  191|       0,                                          /* tp_free */
#  192|-> };

Error: COMPILER_WARNING: [#def360]
Python-3.12.3/Objects/classobject.c: scope_hint: In function ‘instancemethod_new_impl’
Python-3.12.3/Objects/classobject.c:537:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/classobject.gcda’ profile count data file not found
#  535|       .tp_descr_get = instancemethod_descr_get,
#  536|       .tp_new = instancemethod_new,
#  537|-> };

Error: COMPILER_WARNING: [#def361]
Python-3.12.3/Objects/codeobject.c: scope_hint: In function ‘_Py_MakeShimCode’
Python-3.12.3/Objects/codeobject.c:2429:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/codeobject.gcda’ profile count data file not found
# 2427|       Py_XDECREF(lines);
# 2428|       return codeobj;
# 2429|-> }

Error: COMPILER_WARNING: [#def362]
Python-3.12.3/Objects/complexobject.c: scope_hint: In function ‘complex_new_impl’
Python-3.12.3/Objects/complexobject.c:1110:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/complexobject.gcda’ profile count data file not found
# 1108|       complex_new,                                /* tp_new */
# 1109|       PyObject_Del,                               /* tp_free */
# 1110|-> };

Error: COMPILER_WARNING: [#def363]
Python-3.12.3/Objects/descrobject.c: scope_hint: In function ‘property_init’
Python-3.12.3/Objects/descrobject.c:1997:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/descrobject.gcda’ profile count data file not found
# 1995|       PyType_GenericNew,                          /* tp_new */
# 1996|       PyObject_GC_Del,                            /* tp_free */
# 1997|-> };

Error: COMPILER_WARNING: [#def364]
Python-3.12.3/Objects/dictobject.c: scope_hint: In function ‘_PyDict_SendEvent’
Python-3.12.3/Objects/dictobject.c:5850:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/dictobject.gcda’ profile count data file not found
# 5848|           watcher_bits >>= 1;
# 5849|       }
# 5850|-> }

Error: COMPILER_WARNING: [#def365]
Python-3.12.3/Objects/enumobject.c: scope_hint: In function ‘reversed_setstate’
Python-3.12.3/Objects/enumobject.c:544:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/enumobject.gcda’ profile count data file not found
#  542|       PyObject_GC_Del,                /* tp_free */
#  543|       .tp_vectorcall = (vectorcallfunc)reversed_vectorcall,
#  544|-> };

Error: COMPILER_WARNING: [#def366]
Python-3.12.3/Objects/exceptions.c: scope_hint: In function ‘_PyException_AddNote’
Python-3.12.3/Objects/exceptions.c:3840:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/exceptions.gcda’ profile count data file not found
# 3838|       Py_XDECREF(r);
# 3839|       return res;
# 3840|-> }
# 3841|   

Error: COMPILER_WARNING: [#def367]
Python-3.12.3/Objects/fileobject.c: scope_hint: In function ‘PyFile_OpenCode’
Python-3.12.3/Objects/fileobject.c:530:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/fileobject.gcda’ profile count data file not found
#  528|       Py_DECREF(pathobj);
#  529|       return f;
#  530|-> }
#  531|   
#  532|   

Error: COMPILER_WARNING: [#def368]
Python-3.12.3/Objects/floatobject.c: scope_hint: In function ‘PyFloat_Unpack8’
Python-3.12.3/Objects/floatobject.c:2632:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/floatobject.gcda’ profile count data file not found
# 2630|           return x;
# 2631|       }
# 2632|-> }

Error: GCC_ANALYZER_WARNING (CWE-465): [#def369]
Python-3.12.3/Objects/frameobject.c: scope_hint: In function ‘PyFrame_LocalsToFast’
Python-3.12.3/Objects/frameobject.c:1464:8: warning[-Wanalyzer-deref-before-check]: check of ‘f’ for NULL after already dereferencing it
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Objects/frameobject.c:3: included_from: Included from here.
# 1462|   {
# 1463|       assert(!_PyFrame_IsIncomplete(f->f_frame));
# 1464|->     if (f && f->f_fast_as_locals && _PyFrame_GetState(f) != FRAME_CLEARED) {
# 1465|           _PyFrame_LocalsToFast(f->f_frame, clear);
# 1466|           f->f_fast_as_locals = 0;

Error: COMPILER_WARNING: [#def370]
Python-3.12.3/Objects/frameobject.c: scope_hint: In function ‘_PyEval_BuiltinsFromGlobals’
Python-3.12.3/Objects/frameobject.c:1565:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/frameobject.gcda’ profile count data file not found
# 1563|   
# 1564|       return _PyEval_GetBuiltins(tstate);
# 1565|-> }

Error: COMPILER_WARNING: [#def371]
Python-3.12.3/Objects/funcobject.c: scope_hint: In function ‘PyStaticMethod_New’
Python-3.12.3/Objects/funcobject.c:1368:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/funcobject.gcda’ profile count data file not found
# 1366|       }
# 1367|       return (PyObject *)sm;
# 1368|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def372]
Python-3.12.3/Objects/genericaliasobject.c: scope_hint: In function ‘ga_getitem’
Python-3.12.3/Objects/genericaliasobject.c:567:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  565|   
#  566|       PyObject *res = Py_GenericAlias(alias->origin, newargs);
#  567|->     ((gaobject *)res)->starred = alias->starred;
#  568|   
#  569|       Py_DECREF(newargs);

Error: COMPILER_WARNING: [#def373]
Python-3.12.3/Objects/genericaliasobject.c: scope_hint: In function ‘Py_GenericAlias’
Python-3.12.3/Objects/genericaliasobject.c:1002:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/genericaliasobject.gcda’ profile count data file not found
# 1000|       }
# 1001|       return (PyObject *)alias;
# 1002|-> }

Error: COMPILER_WARNING: [#def374]
Python-3.12.3/Objects/genobject.c: scope_hint: In function ‘async_gen_athrow_new’
Python-3.12.3/Objects/genobject.c:2340:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/genobject.gcda’ profile count data file not found
# 2338|       _PyObject_GC_TRACK((PyObject*)o);
# 2339|       return (PyObject*)o;
# 2340|-> }

Error: COMPILER_WARNING: [#def375]
Python-3.12.3/Objects/interpreteridobject.c: scope_hint: In function ‘_PyInterpreterID_LookUp’
Python-3.12.3/Objects/interpreteridobject.c:294:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/interpreteridobject.gcda’ profile count data file not found
#  292|       }
#  293|       return _PyInterpreterState_LookUpID(id);
#  294|-> }

Error: COMPILER_WARNING: [#def376]
Python-3.12.3/Objects/iterobject.c: scope_hint: In function ‘PyAnextAwaitable_New’
Python-3.12.3/Objects/iterobject.c:510:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/iterobject.gcda’ profile count data file not found
#  508|       _PyObject_GC_TRACK(anext);
#  509|       return (PyObject *)anext;
#  510|-> }

Error: CLANG_WARNING: [#def377]
Python-3.12.3/Objects/listobject.c:1098:26: warning[core.NullDereference]: Dereference of null pointer
# 1096|       *dst->keys++ = *src->keys++;
# 1097|       if (dst->values != NULL)
# 1098|->         *dst->values++ = *src->values++;
# 1099|   }
# 1100|   

Error: CLANG_WARNING: [#def378]
Python-3.12.3/Objects/listobject.c:1106:26: warning[core.NullDereference]: Dereference of null pointer
# 1104|       *dst->keys-- = *src->keys--;
# 1105|       if (dst->values != NULL)
# 1106|->         *dst->values-- = *src->values--;
# 1107|   }
# 1108|   

Error: CLANG_WARNING: [#def379]
Python-3.12.3/Objects/listobject.c:1116:9: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 1114|       memcpy(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
# 1115|       if (s1->values != NULL)
# 1116|->         memcpy(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
# 1117|   }
# 1118|   

Error: COMPILER_WARNING: [#def380]
Python-3.12.3/Objects/listobject.c: scope_hint: In function ‘listiter_reduce_general’
Python-3.12.3/Objects/listobject.c:3475:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/listobject.gcda’ profile count data file not found
# 3473|           return NULL;
# 3474|       return Py_BuildValue("N(N)", iter, list);
# 3475|-> }

Error: CLANG_WARNING: [#def381]
Python-3.12.3/Objects/longobject.c:2992:5: warning[deadcode.DeadStores]: Value stored to 'carry' is never read
# 2990|          shift v1 left by the same amount.  Results go into w and v. */
# 2991|       d = PyLong_SHIFT - bit_length_digit(w1->long_value.ob_digit[size_w-1]);
# 2992|->     carry = v_lshift(w->long_value.ob_digit, w1->long_value.ob_digit, size_w, d);
# 2993|       assert(carry == 0);
# 2994|       carry = v_lshift(v->long_value.ob_digit, v1->long_value.ob_digit, size_v, d);

Error: CLANG_WARNING: [#def382]
Python-3.12.3/Objects/longobject.c:3079:5: warning[deadcode.DeadStores]: Value stored to 'carry' is never read
# 3077|   
# 3078|       /* unshift remainder; we reuse w to store the result */
# 3079|->     carry = v_rshift(w0, v0, size_w, d);
# 3080|       assert(carry==0);
# 3081|       Py_DECREF(v);

Error: COMPILER_WARNING: [#def383]
Python-3.12.3/Objects/longobject.c: scope_hint: In function ‘PyUnstable_Long_CompactValue’
Python-3.12.3/Objects/longobject.c:6392:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/longobject.gcda’ profile count data file not found
# 6390|   PyUnstable_Long_CompactValue(const PyLongObject* op) {
# 6391|       return _PyLong_CompactValue(op);
# 6392|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def384]
Python-3.12.3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
Python-3.12.3/Objects/memoryobject.c:239:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*mv.view.shape’
Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
Python-3.12.3/Objects/memoryobject.c:2553:5: note: in expansion of macro ‘CHECK_RELEASED’
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Objects/memoryobject.c:13: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_abstract.h:15:37: note: in expansion of macro ‘Py_TYPE’
Python-3.12.3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
Python-3.12.3/Objects/memoryobject.c:2580:9: note: in expansion of macro ‘CHECK_RESTRICTED’
Python-3.12.3/Objects/memoryobject.c:2580:9: note: in expansion of macro ‘CHECK_RESTRICTED’
Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
#  237|   /* Fast contiguity test. Caller must ensure suboffsets==NULL and ndim==1. */
#  238|   #define MV_CONTIGUOUS_NDIM1(view) \
#  239|->     ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
#  240|   
#  241|   /* getbuffer() requests */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
Python-3.12.3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
Python-3.12.3/Objects/memoryobject.c:239:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*mv.view.strides’
Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
Python-3.12.3/Objects/memoryobject.c:2553:5: note: in expansion of macro ‘CHECK_RELEASED’
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Objects/memoryobject.c:13: included_from: Included from here.
Python-3.12.3/Include/internal/pycore_abstract.h:15:37: note: in expansion of macro ‘Py_TYPE’
Python-3.12.3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
Python-3.12.3/Objects/memoryobject.c:2580:9: note: in expansion of macro ‘CHECK_RESTRICTED’
Python-3.12.3/Objects/memoryobject.c:2580:9: note: in expansion of macro ‘CHECK_RESTRICTED’
Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
#  237|   /* Fast contiguity test. Caller must ensure suboffsets==NULL and ndim==1. */
#  238|   #define MV_CONTIGUOUS_NDIM1(view) \
#  239|->     ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
#  240|   
#  241|   /* getbuffer() requests */

Error: CLANG_WARNING: [#def386]
Python-3.12.3/Objects/memoryobject.c:620:13: warning[core.NullDereference]: Array access (via field 'shape') results in a null pointer dereference
#  618|           break;
#  619|       case 1:
#  620|->         if (MV_CONTIGUOUS_NDIM1(view))
#  621|               flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
#  622|           break;

Error: COMPILER_WARNING: [#def387]
Python-3.12.3/Objects/memoryobject.c: scope_hint: In function ‘memory_iter’
Python-3.12.3/Objects/memoryobject.c:3409:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/memoryobject.gcda’ profile count data file not found
# 3407|       0,                                        /* tp_alloc */
# 3408|       memoryview,                               /* tp_new */
# 3409|-> };

Error: COMPILER_WARNING: [#def388]
Python-3.12.3/Objects/methodobject.c: scope_hint: In function ‘cfunction_call’
Python-3.12.3/Objects/methodobject.c:551:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/methodobject.gcda’ profile count data file not found
#  549|       }
#  550|       return _Py_CheckFunctionResult(tstate, func, result, NULL);
#  551|-> }
#  552|   
#  553|   #if defined(__EMSCRIPTEN__) && defined(PY_CALL_TRAMPOLINE)

Error: COMPILER_WARNING: [#def389]
Python-3.12.3/Objects/moduleobject.c: scope_hint: In function ‘module_set_annotations’
Python-3.12.3/Objects/moduleobject.c:1042:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/moduleobject.gcda’ profile count data file not found
# 1040|       new_module,                                 /* tp_new */
# 1041|       PyObject_GC_Del,                            /* tp_free */
# 1042|-> };

Error: COMPILER_WARNING: [#def390]
Python-3.12.3/Objects/namespaceobject.c: scope_hint: In function ‘_PyNamespace_New’
Python-3.12.3/Objects/namespaceobject.c:261:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/namespaceobject.gcda’ profile count data file not found
#  259|   
#  260|       return (PyObject *)ns;
#  261|-> }

Error: COMPILER_WARNING: [#def391]
Python-3.12.3/Objects/object.c: scope_hint: In function ‘Py_IsFalse’
Python-3.12.3/Objects/object.c:2700:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/object.gcda’ profile count data file not found
# 2698|   {
# 2699|       return Py_Is(x, Py_False);
# 2700|-> }
# 2701|   
# 2702|   #ifdef __cplusplus

Error: CLANG_WARNING: [#def392]
Python-3.12.3/Objects/obmalloc.c:1765:30: warning[core.NullDereference]: Access to field 'prevarena' results in a dereference of a null pointer (loaded from field 'nextarena')
# 1763|           usable_arenas = ao->nextarena;
# 1764|       }
# 1765|->     ao->nextarena->prevarena = ao->prevarena;
# 1766|       /* And insert after lastnf. */
# 1767|       ao->prevarena = lastnf;

Error: COMPILER_WARNING: [#def393]
Python-3.12.3/Objects/obmalloc.c: scope_hint: In function ‘_PyObject_DebugMallocStats’
Python-3.12.3/Objects/obmalloc.c:2704:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/obmalloc.gcda’ profile count data file not found
# 2702|   
# 2703|       return 1;
# 2704|-> }
# 2705|   
# 2706|   #endif /* #ifdef WITH_PYMALLOC */

Error: COMPILER_WARNING: [#def394]
Python-3.12.3/Objects/odictobject.c: scope_hint: In function ‘mutablemapping_update’
Python-3.12.3/Objects/odictobject.c:2243:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/odictobject.gcda’ profile count data file not found
# 2241|   
# 2242|       Py_RETURN_NONE;
# 2243|-> }

Error: COMPILER_WARNING: [#def395]
Python-3.12.3/Objects/picklebufobject.c: scope_hint: In function ‘picklebuf_release’
Python-3.12.3/Objects/picklebufobject.c:219:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/picklebufobject.gcda’ profile count data file not found
#  217|       .tp_as_buffer = &picklebuf_as_buffer,
#  218|       .tp_methods = picklebuf_methods,
#  219|-> };

Error: COMPILER_WARNING: [#def396]
Python-3.12.3/Objects/rangeobject.c: scope_hint: In function ‘range_reverse’
Python-3.12.3/Objects/rangeobject.c:1282:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/rangeobject.gcda’ profile count data file not found
# 1280|       Py_DECREF(it);
# 1281|       return NULL;
# 1282|-> }

Error: COMPILER_WARNING: [#def397]
Python-3.12.3/Objects/setobject.c: scope_hint: In function ‘dummy_dealloc’
Python-3.12.3/Objects/setobject.c:2557:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/setobject.gcda’ profile count data file not found
# 2555|       { _Py_IMMORTAL_REFCNT },
# 2556|       &_PySetDummy_Type
# 2557|-> };

Error: COMPILER_WARNING: [#def398]
Python-3.12.3/Objects/sliceobject.c: scope_hint: In function ‘slicehash’
Python-3.12.3/Objects/sliceobject.c:717:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/sliceobject.gcda’ profile count data file not found
#  715|       0,                                          /* tp_alloc */
#  716|       slice_new,                                  /* tp_new */
#  717|-> };

Error: CLANG_WARNING: [#def399]
Python-3.12.3/Objects/bytes_methods.c:439: included_from: Included from here.
Python-3.12.3/Objects/stringlib/fastsearch.h:769:20: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  767|               return STRINGLIB(rfind_char)(s, n, p[0]);
#  768|           else {
#  769|->             return STRINGLIB(count_char)(s, n, p[0], maxcount);
#  770|           }
#  771|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def400]
Python-3.12.3/Objects/bytes_methods.c:439: included_from: Included from here.
Python-3.12.3/Objects/stringlib/fastsearch.h: scope_hint: In function ‘fastsearch’
Python-3.12.3/Objects/stringlib/fastsearch.h:769:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p’
Python-3.12.3/Objects/stringlib/find.h:86:1: note: in expansion of macro ‘STRINGLIB’
Python-3.12.3/Objects/bytes_methods.c:441: included_from: Included from here.
Python-3.12.3/Objects/bytes_methods.c:687:5: note: in expansion of macro ‘ADJUST_INDICES’
Python-3.12.3/Objects/bytes_methods.c:687:5: note: in expansion of macro ‘ADJUST_INDICES’
Python-3.12.3/Objects/bytes_methods.c:687:5: note: in expansion of macro ‘ADJUST_INDICES’
Python-3.12.3/Objects/bytes_methods.c:687:5: note: in expansion of macro ‘ADJUST_INDICES’
Python-3.12.3/Objects/stringlib/count.h:13:1: note: in expansion of macro ‘STRINGLIB’
Python-3.12.3/Objects/bytes_methods.c:440: included_from: Included from here.
Python-3.12.3/Objects/stringlib/count.h:24:13: note: in expansion of macro ‘FASTSEARCH’
Python-3.12.3/Objects/stringlib/count.h:24:13: note: in expansion of macro ‘FASTSEARCH’
Python-3.12.3/Objects/stringlib/fastsearch.h:750:1: note: in expansion of macro ‘FASTSEARCH’
#  767|               return STRINGLIB(rfind_char)(s, n, p[0]);
#  768|           else {
#  769|->             return STRINGLIB(count_char)(s, n, p[0], maxcount);
#  770|           }
#  771|       }

Error: CLANG_WARNING: [#def401]
Python-3.12.3/Objects/bytearrayobject.c:1119: included_from: Included from here.
Python-3.12.3/Objects/stringlib/split.h:65:9: warning[deadcode.DeadStores]: Although the value stored to 'j' is used in the enclosing expression, the value is never actually read from 'j'
#   63|           return NULL;
#   64|   
#   65|->     i = j = 0;
#   66|       while (maxcount-- > 0) {
#   67|           while (i < str_len && STRINGLIB_ISSPACE(str[i]))

Error: CLANG_WARNING: [#def402]
Python-3.12.3/Objects/stringlib/split.h:164:9: warning[deadcode.DeadStores]: Although the value stored to 'j' is used in the enclosing expression, the value is never actually read from 'j'
#  162|           return NULL;
#  163|   
#  164|->     i = j = 0;
#  165|       while (maxcount-- > 0) {
#  166|           pos = FASTSEARCH(str+i, str_len-i, sep, sep_len, -1, FAST_SEARCH);

Error: CLANG_WARNING: [#def403]
Python-3.12.3/Objects/stringlib/split.h:204:9: warning[deadcode.DeadStores]: Although the value stored to 'j' is used in the enclosing expression, the value is never actually read from 'j'
#  202|           return NULL;
#  203|   
#  204|->     i = j = str_len - 1;
#  205|       while (maxcount-- > 0) {
#  206|           while (i >= 0 && STRINGLIB_ISSPACE(str[i]))

Error: GCC_ANALYZER_WARNING (CWE-787): [#def404]
Python-3.12.3/Objects/bytearrayobject.c:1121: included_from: Included from here.
Python-3.12.3/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’
Python-3.12.3/Objects/stringlib/transmogrify.h:319:9: warning[-Wanalyzer-out-of-bounds]: buffer overflow
Python-3.12.3/Objects/stringlib/transmogrify.h:309:14: note: in expansion of macro ‘STRINGLIB_NEW’
Python-3.12.3/Include/Python.h:45: included_from: Included from here.
Python-3.12.3/Objects/bytearrayobject.c:4: included_from: Included from here.
Python-3.12.3/Objects/bytearrayobject.c:125:11: note: in expansion of macro ‘PyObject_New’
Python-3.12.3/Objects/stringlib/transmogrify.h:309:14: note: in expansion of macro ‘STRINGLIB_NEW’
Python-3.12.3/Include/bytearrayobject.h:37: included_from: Included from here.
Python-3.12.3/Include/Python.h:49: included_from: Included from here.
Python-3.12.3/Objects/bytearrayobject.c:1106:23: note: in expansion of macro ‘PyByteArray_AS_STRING’
Python-3.12.3/Objects/stringlib/transmogrify.h:314:14: note: in expansion of macro ‘STRINGLIB_STR’
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/cpython/bytearrayobject.h:23:9: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’
Python-3.12.3/Objects/bytearrayobject.c:1106:23: note: in expansion of macro ‘PyByteArray_AS_STRING’
Python-3.12.3/Objects/stringlib/transmogrify.h:315:16: note: in expansion of macro ‘STRINGLIB_STR’
Python-3.12.3/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’
Python-3.12.3/Objects/stringlib/transmogrify.h:319:9: note: valid subscripts for ‘_PyByteArray_empty_string’ are ‘[0]’ to ‘[0]’
#  317|       if (to_len > 1) {
#  318|           /* Lay the first one down (guaranteed this will occur) */
#  319|->         memcpy(result_s, to_s, to_len);
#  320|           result_s += to_len;
#  321|           count -= 1;

Error: COMPILER_WARNING: [#def405]
Python-3.12.3/Objects/structseq.c: scope_hint: In function ‘PyStructSequence_NewType’
Python-3.12.3/Objects/structseq.c:686:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/structseq.gcda’ profile count data file not found
#  684|   {
#  685|       return _PyStructSequence_NewType(desc, 0);
#  686|-> }

Error: COMPILER_WARNING: [#def406]
Python-3.12.3/Objects/tupleobject.c: scope_hint: In function ‘_PyTuple_DebugMallocStats’
Python-3.12.3/Objects/tupleobject.c:1228:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/tupleobject.gcda’ profile count data file not found
# 1226|       }
# 1227|   #endif
# 1228|-> }
# 1229|   
# 1230|   #undef STATE

Error: COMPILER_WARNING: [#def407]
Python-3.12.3/Objects/typeobject.c: scope_hint: In function ‘super_vectorcall’
Python-3.12.3/Objects/typeobject.c:10644:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/typeobject.gcda’ profile count data file not found
#10642|       PyObject_GC_Del,                            /* tp_free */
#10643|       .tp_vectorcall = (vectorcallfunc)super_vectorcall,
#10644|-> };

Error: COMPILER_WARNING: [#def408]
Python-3.12.3/Objects/typevarobject.c: scope_hint: In function ‘_Py_clear_generic_types’
Python-3.12.3/Objects/typevarobject.c:1691:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/typevarobject.gcda’ profile count data file not found
# 1689|       Py_CLEAR(interp->cached_objects.paramspecargs_type);
# 1690|       Py_CLEAR(interp->cached_objects.paramspeckwargs_type);
# 1691|-> }

Error: COMPILER_WARNING: [#def409]
Python-3.12.3/Objects/unicodectype.c: scope_hint: In function ‘_PyUnicode_IsAlpha’
Python-3.12.3/Objects/unicodectype.c:294:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/unicodectype.gcda’ profile count data file not found
#  292|   
#  293|       return (ctype->flags & ALPHA_MASK) != 0;
#  294|-> }
#  295|   

Error: COMPILER_WARNING: [#def410]
Python-3.12.3/Objects/unicodeobject.c: scope_hint: In function ‘PyInit__string’
Python-3.12.3/Objects/unicodeobject.c:15408:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/unicodeobject.gcda’ profile count data file not found
#15406|   {
#15407|       return PyModuleDef_Init(&_string_module);
#15408|-> }
#15409|   
#15410|   

Error: COMPILER_WARNING: [#def411]
Python-3.12.3/Objects/unionobject.c: scope_hint: In function ‘make_union’
Python-3.12.3/Objects/unionobject.c:407:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/unionobject.gcda’ profile count data file not found
#  405|       _PyObject_GC_TRACK(result);
#  406|       return (PyObject*)result;
#  407|-> }

Error: COMPILER_WARNING: [#def412]
Python-3.12.3/Objects/weakrefobject.c: scope_hint: In function ‘_PyStaticType_ClearWeakRefs’
Python-3.12.3/Objects/weakrefobject.c:1030:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/weakrefobject.gcda’ profile count data file not found
# 1028|           clear_weakref((PyWeakReference *)*list);
# 1029|       }
# 1030|-> }

Error: CLANG_WARNING: [#def413]
Python-3.12.3/Parser/action_helpers.c:108:12: warning[core.NullDereference]: Access to field 'elements' results in a dereference of a null pointer (loaded from variable 'seq')
#  106|   {
#  107|       Py_ssize_t len = asdl_seq_LEN(seq);
#  108|->     return asdl_seq_GET_UNTYPED(seq, len - 1);
#  109|   }
#  110|   

Error: COMPILER_WARNING: [#def414]
Python-3.12.3/Parser/action_helpers.c: scope_hint: In function ‘_PyPegen_concatenate_strings’
Python-3.12.3/Parser/action_helpers.c:1680:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/action_helpers.gcda’ profile count data file not found
# 1678|       assert(current_pos == n_elements);
# 1679|       return _PyAST_JoinedStr(values, lineno, col_offset, end_lineno, end_col_offset, p->arena);
# 1680|-> }

Error: COMPILER_WARNING: [#def415]
Python-3.12.3/Parser/myreadline.c: scope_hint: In function ‘PyOS_Readline’
Python-3.12.3/Parser/myreadline.c:435:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/myreadline.gcda’ profile count data file not found
#  433|   
#  434|       return res;
#  435|-> }

Error: COMPILER_WARNING: [#def416]
Python-3.12.3/Parser/parser.c: scope_hint: In function ‘_PyPegen_parse’
Python-3.12.3/Parser/parser.c:41930:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/parser.gcda’ profile count data file not found
#41928|   
#41929|       return result;
#41930|-> }

Error: COMPILER_WARNING: [#def417]
Python-3.12.3/Parser/peg_api.c: scope_hint: In function ‘_PyParser_ASTFromFile’
Python-3.12.3/Parser/peg_api.c:28:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/peg_api.gcda’ profile count data file not found
#   26|       return _PyPegen_run_parser_from_file_pointer(fp, mode, filename_ob, enc, ps1, ps2,
#   27|                                           flags, errcode, arena);
#   28|-> }

Error: COMPILER_WARNING: [#def418]
Python-3.12.3/Parser/pegen.c: scope_hint: In function ‘_PyPegen_run_parser_from_string’
Python-3.12.3/Parser/pegen.c:1019:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pegen.gcda’ profile count data file not found
# 1017|       _PyTokenizer_Free(tok);
# 1018|       return result;
# 1019|-> }

Error: GCC_ANALYZER_WARNING (CWE-404): [#def419]
Python-3.12.3/Parser/pegen_errors.c:5: included_from: Included from here.
Python-3.12.3/Parser/pegen.h: scope_hint: In function ‘RAISE_ERROR_KNOWN_LOCATION’
Python-3.12.3/Parser/pegen.h:188:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
/usr/include/sched.h:29: included_from: Included from here.
/usr/include/pthread.h:22: included_from: Included from here.
Python-3.12.3/Include/cpython/pythread.h:16: included_from: Included from here.
Python-3.12.3/Include/pythread.h:128: included_from: Included from here.
Python-3.12.3/Include/Python.h:89: included_from: Included from here.
Python-3.12.3/Parser/pegen_errors.c:1: included_from: Included from here.
#  186|       va_end(va);
#  187|       return NULL;
#  188|-> }
#  189|   #define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
#  190|   #define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)

Error: COMPILER_WARNING: [#def420]
Python-3.12.3/Parser/pegen_errors.c: scope_hint: In function ‘_Pypegen_stack_overflow’
Python-3.12.3/Parser/pegen_errors.c:452:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pegen_errors.gcda’ profile count data file not found
#  450|       PyErr_SetString(PyExc_MemoryError,
#  451|           "Parser stack overflowed - Python source too complex to parse");
#  452|-> }

Error: COMPILER_WARNING: [#def421]
Python-3.12.3/Parser/string_parser.c: scope_hint: In function ‘_PyPegen_parse_string’
Python-3.12.3/Parser/string_parser.c:274:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/string_parser.gcda’ profile count data file not found
#  272|       }
#  273|       return _PyPegen_decode_string(p, rawmode, s, len, t);
#  274|-> }

Error: COMPILER_WARNING: [#def422]
Python-3.12.3/Parser/token.c: scope_hint: In function ‘_PyToken_ThreeChars’
Python-3.12.3/Parser/token.c:249:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/token.gcda’ profile count data file not found
#  247|       }
#  248|       return OP;
#  249|-> }

Error: CLANG_WARNING: [#def423]
Python-3.12.3/Parser/tokenizer.c:1882:22: warning[deadcode.DeadStores]: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'
# 1880|                   // the level of indentation of whatever comes next.
# 1881|                   cont_line_col = cont_line_col ? cont_line_col : col;
# 1882|->                 if ((c = tok_continuation_line(tok)) == -1) {
# 1883|                       return MAKE_TOKEN(ERRORTOKEN);
# 1884|                   }

Error: CLANG_WARNING: [#def424]
Python-3.12.3/Parser/tokenizer.c:2456:11: warning[core.NullDereference]: Dereference of null pointer (loaded from field 'start')
# 2454|   
# 2455|     f_string_quote:
# 2456|->     if (((tolower(*tok->start) == 'f' || tolower(*tok->start) == 'r') && (c == '\'' || c == '"'))) {
# 2457|           int quote = c;
# 2458|           int quote_size = 1;             /* 1 or 3 */

Error: CLANG_WARNING: [#def425]
Python-3.12.3/Parser/tokenizer.c:2456:19: warning[core.NullDereference]: Dereference of null pointer (loaded from field 'start')
# 2454|   
# 2455|     f_string_quote:
# 2456|->     if (((tolower(*tok->start) == 'f' || tolower(*tok->start) == 'r') && (c == '\'' || c == '"'))) {
# 2457|           int quote = c;
# 2458|           int quote_size = 1;             /* 1 or 3 */

Error: CLANG_WARNING: [#def426]
Python-3.12.3/Parser/tokenizer.c:2609:25: warning[deadcode.DeadStores]: Value stored to 'c' is never read
# 2607|                       c = tok_nextc(tok);  /* skip escaped char */
# 2608|                       if (c == '\r') {
# 2609|->                         c = tok_nextc(tok);
# 2610|                       }
# 2611|                   }

Error: CLANG_WARNING: [#def427]
Python-3.12.3/Parser/tokenizer.c:2622:14: warning[deadcode.DeadStores]: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'
# 2620|       /* Line continuation */
# 2621|       if (c == '\\') {
# 2622|->         if ((c = tok_continuation_line(tok)) == -1) {
# 2623|               return MAKE_TOKEN(ERRORTOKEN);
# 2624|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
Python-3.12.3/Parser/tokenizer.c: scope_hint: In function ‘_PyTokenizer_FindEncodingFilename’
Python-3.12.3/Parser/tokenizer.c:3012:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopen_borrow(fd)’
# 3010|           return NULL;
# 3011|       }
# 3012|->     return fdopen(fd, "r");
# 3013|   }
# 3014|   #endif

Error: COMPILER_WARNING: [#def429]
Python-3.12.3/Parser/tokenizer.c: scope_hint: In function ‘_PyTokenizer_FindEncodingFilename’
Python-3.12.3/Parser/tokenizer.c:3071:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/tokenizer.gcda’ profile count data file not found
# 3069|       _PyTokenizer_Free(tok);
# 3070|       return encoding;
# 3071|-> }
# 3072|   
# 3073|   #ifdef Py_DEBUG

Error: CLANG_WARNING: [#def430]
Python-3.12.3/Programs/_bootstrap_python.c:89:5: warning[deadcode.DeadStores]: Value stored to 'status' is never read
#   87|       }
#   88|   
#   89|->     status = PyConfig_Read(&config);
#   90|       if (config.run_filename == NULL) {
#   91|           status = PyStatus_Error("Run filename expected");

Error: COMPILER_WARNING: [#def431]
Python-3.12.3/Programs/_bootstrap_python.c: scope_hint: In function ‘main’
Python-3.12.3/Programs/_bootstrap_python.c:121:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_bootstrap_python.gcda’ profile count data file not found
#  119|       }
#  120|       Py_ExitStatusException(status);
#  121|-> }
#  122|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def432]
Python-3.12.3/Programs/_freeze_module.c: scope_hint: In function ‘read_text’
Python-3.12.3/Programs/_freeze_module.c:88:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inpath, "rb")’
#   86|   read_text(const char *inpath)
#   87|   {
#   88|->     FILE *infile = fopen(inpath, "rb");
#   89|       if (infile == NULL) {
#   90|           fprintf(stderr, "cannot open '%s' for reading\n", inpath);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
Python-3.12.3/Programs/_freeze_module.c:88:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inpath, "rb")’
#   86|   read_text(const char *inpath)
#   87|   {
#   88|->     FILE *infile = fopen(inpath, "rb");
#   89|       if (infile == NULL) {
#   90|           fprintf(stderr, "cannot open '%s' for reading\n", inpath);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def434]
Python-3.12.3/Programs/_freeze_module.c: scope_hint: In function ‘compile_and_marshal’
Python-3.12.3/Programs/_freeze_module.c:126:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘filename’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
#  124|   {
#  125|       char *filename = (char *) malloc(strlen(name) + 10);
#  126|->     sprintf(filename, "<frozen %s>", name);
#  127|       PyObject *code = Py_CompileStringExFlags(text, filename,
#  128|                                                Py_file_input, NULL, 0);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def435]
Python-3.12.3/Programs/_freeze_module.c: scope_hint: In function ‘get_varname’
Python-3.12.3/Programs/_freeze_module.c:149:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘varname’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
#  147|       size_t n = strlen(prefix);
#  148|       char *varname = (char *) malloc(strlen(name) + n + 1);
#  149|->     (void)strcpy(varname, prefix);
#  150|       for (size_t i = 0; name[i] != '\0'; i++) {
#  151|           if (name[i] == '.') {

Error: COMPILER_WARNING: [#def436]
Python-3.12.3/Programs/_freeze_module.c: scope_hint: In function ‘main’
Python-3.12.3/Programs/_freeze_module.c:251:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_freeze_module.gcda’ profile count data file not found
#  249|       Py_Finalize();
#  250|       return 1;
#  251|-> }
#  252|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def437]
Python-3.12.3/Programs/_testembed.c: scope_hint: In function ‘test_pre_initialization_sys_options’
Python-3.12.3/Programs/_testembed.c:310:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dynamic_once_warnoption’ where non-null expected
Python-3.12.3/Include/Python.h:36: included_from: Included from here.
Python-3.12.3/Programs/_testembed.c:8: included_from: Included from here.
/usr/include/wchar.h:103:17: note: argument 1 of ‘wcsncpy’ must be non-null
#  308|       wchar_t *dynamic_xoption = \
#  309|                (wchar_t *) calloc(xoption_len+1, sizeof(wchar_t));
#  310|->     wcsncpy(dynamic_once_warnoption, static_warnoption, warnoption_len+1);
#  311|       wcsncpy(dynamic_xoption, static_xoption, xoption_len+1);
#  312|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def438]
Python-3.12.3/Programs/_testembed.c:311:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dynamic_xoption’ where non-null expected
/usr/include/wchar.h:103:17: note: argument 1 of ‘wcsncpy’ must be non-null
#  309|                (wchar_t *) calloc(xoption_len+1, sizeof(wchar_t));
#  310|       wcsncpy(dynamic_once_warnoption, static_warnoption, warnoption_len+1);
#  311|->     wcsncpy(dynamic_xoption, static_xoption, xoption_len+1);
#  312|   
#  313|       _Py_EMBED_PREINIT_CHECK("Checking PySys_AddWarnOption\n");

Error: COMPILER_WARNING: [#def439]
Python-3.12.3/Programs/_testembed.c: scope_hint: In function ‘main’
Python-3.12.3/Programs/_testembed.c:2174:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_testembed.gcda’ profile count data file not found
# 2172|          This is intentional. */
# 2173|       return -1;
# 2174|-> }

Error: COMPILER_WARNING: [#def440]
Python-3.12.3/Programs/python.c: scope_hint: In function ‘main’
Python-3.12.3/Programs/python.c:16:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/python.gcda’ profile count data file not found
#   14|   {
#   15|       return Py_BytesMain(argc, argv);
#   16|-> }
#   17|   #endif

Error: COMPILER_WARNING: [#def441]
Python-3.12.3/Python/Python-ast.c: scope_hint: In function ‘PyAST_Check’
Python-3.12.3/Python/Python-ast.c:13222:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/Python-ast.gcda’ profile count data file not found
#13220|       }
#13221|       return PyObject_IsInstance(obj, state->AST_type);
#13222|-> }
#13223|   
#13224|   

Error: COMPILER_WARNING: [#def442]
Python-3.12.3/Python/Python-tokenize.c: scope_hint: In function ‘PyInit__tokenize’
Python-3.12.3/Python/Python-tokenize.c:367:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/Python-tokenize.gcda’ profile count data file not found
#  365|   {
#  366|       return PyModuleDef_Init(&_tokenizemodule);
#  367|-> }

Error: COMPILER_WARNING: [#def443]
Python-3.12.3/Python/_warnings.c: scope_hint: In function ‘_PyWarnings_Fini’
Python-3.12.3/Python/_warnings.c:1481:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/_warnings.gcda’ profile count data file not found
# 1479|   {
# 1480|       warnings_clear_state(&interp->warnings);
# 1481|-> }

Error: COMPILER_WARNING: [#def444]
Python-3.12.3/Python/asdl.c: scope_hint: In function ‘_Py_asdl_int_seq_new’
Python-3.12.3/Python/asdl.c:6:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/asdl.gcda’ profile count data file not found
#    4|   GENERATE_ASDL_SEQ_CONSTRUCTOR(generic, void*);
#    5|   GENERATE_ASDL_SEQ_CONSTRUCTOR(identifier, PyObject*);
#    6|-> GENERATE_ASDL_SEQ_CONSTRUCTOR(int, int);

Error: COMPILER_WARNING: [#def445]
Python-3.12.3/Python/assemble.c: scope_hint: In function ‘_PyAssemble_MakeCodeObject’
Python-3.12.3/Python/assemble.c:603:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/assemble.gcda’ profile count data file not found
#  601|       assemble_free(&a);
#  602|       return co;
#  603|-> }

Error: COMPILER_WARNING: [#def446]
Python-3.12.3/Python/ast.c: scope_hint: In function ‘_PyAST_GetDocString’
Python-3.12.3/Python/ast.c:1108:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/ast.gcda’ profile count data file not found
# 1106|       }
# 1107|       return NULL;
# 1108|-> }

Error: CLANG_WARNING: [#def447]
Python-3.12.3/Python/ast_opt.c:625:14: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
#  623|          tuple or frozenset respectively. */
#  624|       i = asdl_seq_LEN(ops) - 1;
#  625|->     int op = asdl_seq_GET(ops, i);
#  626|       if (op == In || op == NotIn) {
#  627|           if (!fold_iter((expr_ty)asdl_seq_GET(args, i), arena, state)) {

Error: CLANG_WARNING: [#def448]
Python-3.12.3/Python/ast_opt.c:627:33: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
#  625|       int op = asdl_seq_GET(ops, i);
#  626|       if (op == In || op == NotIn) {
#  627|->         if (!fold_iter((expr_ty)asdl_seq_GET(args, i), arena, state)) {
#  628|               return 0;
#  629|           }

Error: CLANG_WARNING: [#def449]
Python-3.12.3/Python/ast_opt.c:672:31: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
#  670|       CALL_SEQ(astfold_stmt, stmt, stmts);
#  671|       if (!docstring && _PyAST_GetDocString(stmts) != NULL) {
#  672|->         stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
#  673|           asdl_expr_seq *values = _Py_asdl_expr_seq_new(1, ctx_);
#  674|           if (!values) {

Error: COMPILER_WARNING: [#def450]
Python-3.12.3/Python/ast_opt.c: scope_hint: In function ‘_PyAST_Optimize’
Python-3.12.3/Python/ast_opt.c:1134:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/ast_opt.gcda’ profile count data file not found
# 1132|   
# 1133|       return ret;
# 1134|-> }

Error: CLANG_WARNING: [#def451]
Python-3.12.3/Python/ast_unparse.c:243:34: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
#  241|           if (di >= 0) {
#  242|               APPEND_STR("=");
#  243|->             APPEND_EXPR((expr_ty)asdl_seq_GET(args->defaults, di), PR_TEST);
#  244|           }
#  245|           if (posonlyarg_count && i + 1 == posonlyarg_count) {

Error: CLANG_WARNING: [#def452]
Python-3.12.3/Python/ast_unparse.c:268:41: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
#  266|           di = i - arg_count + default_count;
#  267|           if (di >= 0) {
#  268|->             expr_ty default_ = (expr_ty)asdl_seq_GET(args->kw_defaults, di);
#  269|               if (default_) {
#  270|                   APPEND_STR("=");

Error: COMPILER_WARNING: [#def453]
Python-3.12.3/Python/ast_unparse.c: scope_hint: In function ‘_PyAST_ExprAsUnicode’
Python-3.12.3/Python/ast_unparse.c:955:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/ast_unparse.gcda’ profile count data file not found
#  953|   {
#  954|       return expr_as_unicode(e, PR_TEST);
#  955|-> }

Error: COMPILER_WARNING: [#def454]
Python-3.12.3/Python/bltinmodule.c: scope_hint: In function ‘_PyBuiltin_Init’
Python-3.12.3/Python/bltinmodule.c:3157:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bltinmodule.gcda’ profile count data file not found
# 3155|   #undef ADD_TO_ALL
# 3156|   #undef SETBUILTIN
# 3157|-> }

Error: COMPILER_WARNING: [#def455]
Python-3.12.3/Python/bootstrap_hash.c: scope_hint: In function ‘_Py_HashRandomization_Fini’
Python-3.12.3/Python/bootstrap_hash.c:593:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/bootstrap_hash.gcda’ profile count data file not found
#  591|       dev_urandom_close();
#  592|   #endif
#  593|-> }

Error: COMPILER_WARNING: [#def456]
Python-3.12.3/Python/ceval.c: scope_hint: In function ‘Py_LeaveRecursiveCall’
Python-3.12.3/Python/ceval.c:2795:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/ceval.gcda’ profile count data file not found
# 2793|   {
# 2794|       _Py_LeaveRecursiveCall();
# 2795|-> }

Error: COMPILER_WARNING: [#def457]
Python-3.12.3/Python/ceval_gil.c: scope_hint: In function ‘_Py_HandlePending’
Python-3.12.3/Python/ceval_gil.c:1088:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/ceval_gil.gcda’ profile count data file not found
# 1086|   
# 1087|       return 0;
# 1088|-> }
# 1089|   

Error: COMPILER_WARNING: [#def458]
Python-3.12.3/Python/codecs.c: scope_hint: In function ‘_PyCodecRegistry_Init’
Python-3.12.3/Python/codecs.c:1516:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/codecs.gcda’ profile count data file not found
# 1514|       interp->codecs_initialized = 1;
# 1515|       return 0;
# 1516|-> }

Error: CLANG_WARNING: [#def459]
Python-3.12.3/Python/compile.c:230:43: warning[core.NullDereference]: Access to field 's_used' results in a dereference of a null pointer (loaded from variable 'seq')
#  228|   
#  229|       RETURN_IF_ERROR(
#  230|->         _PyCompile_EnsureArrayLargeEnough(seq->s_used + 1,
#  231|                                             (void**)&seq->s_instrs,
#  232|                                             &seq->s_allocated,

Error: CLANG_WARNING: [#def460]
Python-3.12.3/Python/compile.c:273:24: warning[core.NullDereference]: Access to field 's_instrs' results in a dereference of a null pointer (loaded from variable 'seq')
#  271|       int idx = instr_sequence_next_inst(seq);
#  272|       RETURN_IF_ERROR(idx);
#  273|->     instruction *ci = &seq->s_instrs[idx];
#  274|       ci->i_opcode = opcode;
#  275|       ci->i_oparg = oparg;

Error: CLANG_WARNING: [#def461]
Python-3.12.3/Python/compile.c:1043:33: warning[core.NullDereference]: Dereference of null pointer
# 1041|       }
# 1042|   
# 1043|->     Py_ssize_t arg = dict_add_o(u->u_metadata.u_consts, key);
# 1044|       Py_DECREF(key);
# 1045|       return arg;

Error: CLANG_WARNING: [#def462]
Python-3.12.3/Python/compile.c:1764:9: warning[core.NullDereference]: Access to field 'u_scope_type' results in a dereference of a null pointer (loaded from field 'u')
# 1762|   {
# 1763|       int scope;
# 1764|->     if (c->u->u_scope_type == COMPILER_SCOPE_CLASS &&
# 1765|           (_PyUnicode_EqualToASCIIString(name, "__class__") ||
# 1766|            _PyUnicode_EqualToASCIIString(name, "__classdict__"))) {

Error: CLANG_WARNING: [#def463]
Python-3.12.3/Python/compile.c:4117:5: warning[deadcode.DeadStores]: Value stored to 'op' is never read
# 4115|       }
# 4116|   
# 4117|->     op = 0;
# 4118|       optype = OP_NAME;
# 4119|       scope = _PyST_GetScope(c->u->u_ste, mangled);

Error: CLANG_WARNING: [#def464]
Python-3.12.3/Python/compile.c:5163:13: warning[deadcode.DeadStores]: Value stored to 'have_dict' is never read
# 5161|                   ADDOP_I(c, loc, DICT_MERGE, 1);
# 5162|               }
# 5163|->             have_dict = 1;
# 5164|           }
# 5165|           assert(have_dict);

Error: CLANG_WARNING: [#def465]
Python-3.12.3/Python/compile.c:5876:24: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 5874|   {
# 5875|       location loc = LOC(s);
# 5876|->     withitem_ty item = asdl_seq_GET(s->v.AsyncWith.items, pos);
# 5877|   
# 5878|       assert(s->kind == AsyncWith_kind);

Error: CLANG_WARNING: [#def466]
Python-3.12.3/Python/compile.c:5978:24: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 5976|   compiler_with(struct compiler *c, stmt_ty s, int pos)
# 5977|   {
# 5978|->     withitem_ty item = asdl_seq_GET(s->v.With.items, pos);
# 5979|   
# 5980|       assert(s->kind == With_kind);

Error: COMPILER_WARNING: [#def467]
Python-3.12.3/Python/compile.c: scope_hint: In function ‘PyCode_Optimize’
Python-3.12.3/Python/compile.c:8144:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/compile.gcda’ profile count data file not found
# 8142|   {
# 8143|       return Py_NewRef(code);
# 8144|-> }

Error: COMPILER_WARNING: [#def468]
Python-3.12.3/Python/context.c: scope_hint: In function ‘_PyContext_Init’
Python-3.12.3/Python/context.c:1320:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/context.gcda’ profile count data file not found
# 1318|   
# 1319|       return _PyStatus_OK();
# 1320|-> }

Error: CLANG_WARNING: [#def469]
Python-3.12.3/Python/dtoa.c:2323:57: warning[core.BitwiseShift]: Right shift by '32' overflows the capacity of 'ULong'
# 2321|   
# 2322|           i = bbits + be + (Bias + (P-1) - 1);
# 2323|->         x = i > 32  ? word0(&u) << (64 - i) | word1(&u) >> (i - 32)
# 2324|               : word1(&u) << (32 - i);
# 2325|           dval(&d2) = x;

Error: COMPILER_WARNING: [#def470]
Python-3.12.3/Python/dtoa.c: scope_hint: In function ‘_Py_dg_dtoa’
Python-3.12.3/Python/dtoa.c:2815:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/dtoa.gcda’ profile count data file not found
# 2813|           _Py_dg_freedtoa(s0);
# 2814|       return NULL;
# 2815|-> }
# 2816|   #ifdef __cplusplus
# 2817|   }

Error: COMPILER_WARNING: [#def471]
Python-3.12.3/Python/dynamic_annotations.c: scope_hint: In function ‘RunningOnValgrind’
Python-3.12.3/Python/dynamic_annotations.c:152:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/dynamic_annotations.gcda’ profile count data file not found
#  150|       running_on_valgrind = local_running_on_valgrind = GetRunningOnValgrind();
#  151|     return local_running_on_valgrind;
#  152|-> }
#  153|   
#  154|   #endif  /* DYNAMIC_ANNOTATIONS_ENABLED == 1 */

Error: COMPILER_WARNING: [#def472]
Python-3.12.3/Python/dynload_shlib.c: scope_hint: In function ‘_PyImport_FindSharedFuncptr’
Python-3.12.3/Python/dynload_shlib.c:111:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/dynload_shlib.gcda’ profile count data file not found
#  109|       p = (dl_funcptr) dlsym(handle, funcname);
#  110|       return p;
#  111|-> }

Error: CLANG_WARNING: [#def473]
Python-3.12.3/Python/errors.c:147:26: warning[core.NullDereference]: Access to field 'tp_name' results in a dereference of a null pointer (loaded from variable 'exception')
#  145|       }
#  146|       PyObject *note;
#  147|->     const char *tpname = ((PyTypeObject*)exception)->tp_name;
#  148|       if (args == NULL) {
#  149|           _PyErr_Clear(tstate);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def474]
Python-3.12.3/Python/errors.c: scope_hint: In function ‘err_programtext’
Python-3.12.3/Python/errors.c:1903:45: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘linebuf[0]’
Python-3.12.3/Include/Python.h:26: included_from: Included from here.
Python-3.12.3/Python/errors.c:4: included_from: Included from here.
/usr/include/string.h:407:15: note: argument 1 of ‘strlen’ must be a pointer to a null-terminated string
# 1901|           PyObject *res;
# 1902|           if (encoding != NULL) {
# 1903|->             res = PyUnicode_Decode(linebuf, strlen(linebuf), encoding, "replace");
# 1904|           } else {
# 1905|               res = PyUnicode_FromString(linebuf);

Error: COMPILER_WARNING: [#def475]
Python-3.12.3/Python/errors.c: scope_hint: In function ‘PyErr_ProgramTextObject’
Python-3.12.3/Python/errors.c:1951:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/errors.gcda’ profile count data file not found
# 1949|   {
# 1950|       return _PyErr_ProgramDecodedTextObject(filename, lineno, NULL);
# 1951|-> }
# 1952|   
# 1953|   #ifdef __cplusplus

Error: GCC_ANALYZER_WARNING (CWE-126): [#def476]
Python-3.12.3/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’
Python-3.12.3/Python/fileutils.c:145:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
Python-3.12.3/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’
Python-3.12.3/Python/fileutils.c:818:9: note: in expansion of macro ‘force_ascii’
Python-3.12.3/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’
Python-3.12.3/Python/fileutils.c:145:21: note: read of 4 bytes from after the end of ‘wch’
Python-3.12.3/Python/fileutils.c:145:21: note: valid subscripts for ‘wch’ are ‘[0]’ to ‘[0]’
#                                      └──────────────────────────────────┘
#                                                       ^
#  143|       if (dest != NULL && count != DECODE_ERROR) {
#  144|           for (size_t i=0; i < count; i++) {
#  145|->             wchar_t ch = dest[i];
#  146|               if (!is_valid_wide_char(ch)) {
#  147|                   return DECODE_ERROR;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def477]
Python-3.12.3/Python/fileutils.c: scope_hint: In function ‘_Py_fopen_obj’
Python-3.12.3/Python/fileutils.c:1817:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path_bytes,  mode)’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Python/fileutils.c:1: included_from: Included from here.
Python-3.12.3/Include/bytesobject.h:62: included_from: Included from here.
Python-3.12.3/Include/Python.h:50: included_from: Included from here.
Python-3.12.3/Python/fileutils.c:1808:18: note: in expansion of macro ‘PyBytes_AS_STRING’
Python-3.12.3/Python/fileutils.c:1808:18: note: in expansion of macro ‘PyBytes_AS_STRING’
Python-3.12.3/Include/cpython/bytesobject.h:37:12: note: in expansion of macro ‘_PyBytes_CAST’
Python-3.12.3/Include/cpython/bytesobject.h:37:12: note: in expansion of macro ‘_PyBytes_CAST’
Python-3.12.3/Python/fileutils.c:1808:18: note: in expansion of macro ‘PyBytes_AS_STRING’
Python-3.12.3/Include/Python.h:95: included_from: Included from here.
Python-3.12.3/Python/fileutils.c:1816:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
# 1815|       do {
# 1816|           Py_BEGIN_ALLOW_THREADS
# 1817|->         f = fopen(path_bytes, mode);
# 1818|           Py_END_ALLOW_THREADS
# 1819|       } while (f == NULL

Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
Python-3.12.3/Python/fileutils.c:1817:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path_bytes,  mode)’
Python-3.12.3/Python/fileutils.c:1808:18: note: in expansion of macro ‘PyBytes_AS_STRING’
Python-3.12.3/Python/fileutils.c:1808:18: note: in expansion of macro ‘PyBytes_AS_STRING’
Python-3.12.3/Include/cpython/bytesobject.h:37:12: note: in expansion of macro ‘_PyBytes_CAST’
Python-3.12.3/Include/cpython/bytesobject.h:37:12: note: in expansion of macro ‘_PyBytes_CAST’
Python-3.12.3/Python/fileutils.c:1808:18: note: in expansion of macro ‘PyBytes_AS_STRING’
Python-3.12.3/Python/fileutils.c:1816:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
# 1815|       do {
# 1816|           Py_BEGIN_ALLOW_THREADS
# 1817|->         f = fopen(path_bytes, mode);
# 1818|           Py_END_ALLOW_THREADS
# 1819|       } while (f == NULL

Error: COMPILER_WARNING: [#def479]
Python-3.12.3/Python/fileutils.c: scope_hint: In function ‘_Py_closerange’
Python-3.12.3/Python/fileutils.c:2942:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/fileutils.gcda’ profile count data file not found
# 2940|   #endif /* USE_FDWALK */
# 2941|       _Py_END_SUPPRESS_IPH
# 2942|-> }

Error: CLANG_WARNING: [#def480]
Python-3.12.3/Python/flowgraph.c:704:12: warning[core.NullDereference]: Access to field 'b_startdepth' results in a dereference of a null pointer (loaded from variable 'b')
#  702|   stackdepth_push(basicblock ***sp, basicblock *b, int depth)
#  703|   {
#  704|->     assert(b->b_startdepth < 0 || b->b_startdepth == depth);
#  705|       if (b->b_startdepth < depth && b->b_startdepth < 100) {
#  706|           assert(b->b_startdepth < 0);

Error: CLANG_WARNING: [#def481]
Python-3.12.3/Python/flowgraph.c:705:9: warning[core.NullDereference]: Access to field 'b_startdepth' results in a dereference of a null pointer (loaded from variable 'b')
#  703|   {
#  704|       assert(b->b_startdepth < 0 || b->b_startdepth == depth);
#  705|->     if (b->b_startdepth < depth && b->b_startdepth < 100) {
#  706|           assert(b->b_startdepth < 0);
#  707|           b->b_startdepth = depth;

Error: COMPILER_WARNING: [#def482]
Python-3.12.3/Python/flowgraph.c: scope_hint: In function ‘_PyCfg_OptimizeCodeUnit’
Python-3.12.3/Python/flowgraph.c:2229:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/flowgraph.gcda’ profile count data file not found
# 2227|       RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
# 2228|       return SUCCESS;
# 2229|-> }

Error: COMPILER_WARNING: [#def483]
Python-3.12.3/Python/formatter_unicode.c: scope_hint: In function ‘_PyComplex_FormatAdvancedWriter’
Python-3.12.3/Python/formatter_unicode.c:1623:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/formatter_unicode.gcda’ profile count data file not found
# 1621|           return -1;
# 1622|       }
# 1623|-> }

Error: COMPILER_WARNING: [#def484]
Python-3.12.3/Python/frame.c: scope_hint: In function ‘PyUnstable_InterpreterFrame_GetLine’
Python-3.12.3/Python/frame.c:168:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/frame.gcda’ profile count data file not found
#  166|       int addr = _PyInterpreterFrame_LASTI(frame) * sizeof(_Py_CODEUNIT);
#  167|       return PyCode_Addr2Line(frame->f_code, addr);
#  168|-> }

Error: COMPILER_WARNING: [#def485]
Python-3.12.3/Python/frozenmain.c: scope_hint: In function ‘Py_FrozenMain’
Python-3.12.3/Python/frozenmain.c:85:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/frozenmain.gcda’ profile count data file not found
#   83|       }
#   84|       return sts;
#   85|-> }

Error: COMPILER_WARNING: [#def486]
Python-3.12.3/Python/future.c: scope_hint: In function ‘_PyFuture_FromAST’
Python-3.12.3/Python/future.c:109:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/future.gcda’ profile count data file not found
#  107|       }
#  108|       return 1;
#  109|-> }

Error: CLANG_WARNING: [#def487]
Python-3.12.3/Python/getargs.c:632:9: warning[core.NullDereference]: Array access (from variable 'expected') results in a null pointer dereference
#  630|       assert(expected != NULL);
#  631|       assert(arg != NULL);
#  632|->     if (expected[0] == '(') {
#  633|           PyOS_snprintf(msgbuf, bufsize,
#  634|                         "%.100s", expected);

Error: CLANG_WARNING: [#def488]
Python-3.12.3/Python/getargs.c:2260:9: warning[deadcode.DeadStores]: Value stored to 'msg' is never read
# 2258|           /* We are into optional args, skip through to any remaining
# 2259|            * keyword args */
# 2260|->         msg = skipitem(&format, p_va, flags);
# 2261|           assert(msg == NULL);
# 2262|       }

Error: CLANG_WARNING: [#def489]
Python-3.12.3/Python/getargs.c:2424:18: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference
# 2422|       /* copy tuple args */
# 2423|       for (i = 0; i < nargs; i++) {
# 2424|->         buf[i] = args[i];
# 2425|       }
# 2426|   

Error: CLANG_WARNING: [#def490]
Python-3.12.3/Python/getargs.c:2574:55: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference
# 2572|       for (i = 0; i < nargs; i++) {
# 2573|           if (i >= vararg) {
# 2574|->             PyTuple_SET_ITEM(buf[vararg], i - vararg, Py_NewRef(args[i]));
# 2575|               continue;
# 2576|           }

Error: CLANG_WARNING: [#def491]
Python-3.12.3/Python/getargs.c:2578:22: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference
# 2576|           }
# 2577|           else {
# 2578|->             buf[i] = args[i];
# 2579|           }
# 2580|       }

Error: GCC_ANALYZER_WARNING (CWE-404): [#def492]
Python-3.12.3/Python/getargs.c: scope_hint: In function ‘PyArg_UnpackTuple’
Python-3.12.3/Python/getargs.c:2867:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
Python-3.12.3/Include/Python.h:39: included_from: Included from here.
Python-3.12.3/Include/pymacro.h:156:37: note: in definition of macro ‘_Py_RVALUE’
Python-3.12.3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
Python-3.12.3/Include/cpython/tupleobject.h:18:13: note: in expansion of macro ‘PyTuple_Check’
Python-3.12.3/Include/internal/pycore_tuple.h:64:39: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Python/getargs.c:2860:13: note: in expansion of macro ‘_PyTuple_ITEMS’
Python-3.12.3/Include/pymacro.h:156:37: note: in definition of macro ‘_Py_RVALUE’
Python-3.12.3/Include/internal/pycore_tuple.h:64:39: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Python/getargs.c:2860:13: note: in expansion of macro ‘_PyTuple_ITEMS’
Python-3.12.3/Include/tupleobject.h:39: included_from: Included from here.
Python-3.12.3/Include/Python.h:62: included_from: Included from here.
Python-3.12.3/Python/getargs.c:2861:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:23:28: note: in expansion of macro ‘_PyTuple_CAST’
Python-3.12.3/Include/Python.h:44: included_from: Included from here.
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Include/cpython/tupleobject.h:24:12: note: in expansion of macro ‘Py_SIZE’
Python-3.12.3/Python/getargs.c:2861:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
# 2865|       va_end(vargs);
# 2866|       return retval;
# 2867|-> }
# 2868|   
# 2869|   int

Error: GCC_ANALYZER_WARNING (CWE-404): [#def493]
Python-3.12.3/Python/getargs.c: scope_hint: In function ‘_PyArg_UnpackStack’
Python-3.12.3/Python/getargs.c:2880:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Python/getargs.c:4: included_from: Included from here.
# 2878|       va_end(vargs);
# 2879|       return retval;
# 2880|-> }
# 2881|   
# 2882|   

Error: COMPILER_WARNING: [#def494]
Python-3.12.3/Python/getargs.c: scope_hint: In function ‘_PyArg_Fini’
Python-3.12.3/Python/getargs.c:2956:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getargs.gcda’ profile count data file not found
# 2954|       }
# 2955|       _PyRuntime.getargs.static_parsers = NULL;
# 2956|-> }
# 2957|   
# 2958|   #ifdef __cplusplus

Error: COMPILER_WARNING: [#def495]
Python-3.12.3/Python/getcompiler.c: scope_hint: In function ‘Py_GetCompiler’
Python-3.12.3/Python/getcompiler.c:27:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getcompiler.gcda’ profile count data file not found
#   25|   {
#   26|       return COMPILER;
#   27|-> }

Error: COMPILER_WARNING: [#def496]
Python-3.12.3/Python/getcopyright.c: scope_hint: In function ‘Py_GetCopyright’
Python-3.12.3/Python/getcopyright.c:23:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getcopyright.gcda’ profile count data file not found
#   21|   {
#   22|       return cprt;
#   23|-> }

Error: COMPILER_WARNING: [#def497]
Python-3.12.3/Python/getopt.c: scope_hint: In function ‘_PyOS_GetOpt’
Python-3.12.3/Python/getopt.c:174:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getopt.gcda’ profile count data file not found
#  172|   
#  173|       return option;
#  174|-> }
#  175|   
#  176|   #ifdef __cplusplus

Error: COMPILER_WARNING: [#def498]
Python-3.12.3/Python/getplatform.c: scope_hint: In function ‘Py_GetPlatform’
Python-3.12.3/Python/getplatform.c:12:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getplatform.gcda’ profile count data file not found
#   10|   {
#   11|       return PLATFORM;
#   12|-> }

Error: COMPILER_WARNING: [#def499]
Python-3.12.3/Python/getversion.c: scope_hint: In function ‘Py_GetVersion’
Python-3.12.3/Python/getversion.c:29:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/getversion.gcda’ profile count data file not found
#   27|   
#   28|   // Export the Python hex version as a constant.
#   29|-> const unsigned long Py_Version = PY_VERSION_HEX;

Error: COMPILER_WARNING: [#def500]
Python-3.12.3/Python/hamt.c: scope_hint: In function ‘hamt_py_keys’
Python-3.12.3/Python/hamt.c:2894:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/hamt.gcda’ profile count data file not found
# 2892|       .tp_free = PyObject_GC_Del,
# 2893|       .tp_hash = PyObject_HashNotImplemented,
# 2894|-> };

Error: COMPILER_WARNING: [#def501]
Python-3.12.3/Python/hashtable.c: scope_hint: In function ‘_Py_hashtable_destroy’
Python-3.12.3/Python/hashtable.c:424:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/hashtable.gcda’ profile count data file not found
#  422|       ht->alloc.free(ht->buckets);
#  423|       ht->alloc.free(ht);
#  424|-> }

Error: COMPILER_WARNING: [#def502]
Python-3.12.3/Python/import.c: scope_hint: In function ‘PyInit__imp’
Python-3.12.3/Python/import.c:3914:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/import.gcda’ profile count data file not found
# 3912|   {
# 3913|       return PyModuleDef_Init(&imp_module);
# 3914|-> }
# 3915|   
# 3916|   

Error: COMPILER_WARNING: [#def503]
Python-3.12.3/Python/importdl.c: scope_hint: In function ‘_PyImport_LoadDynamicModuleWithSpec’
Python-3.12.3/Python/importdl.c:251:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/importdl.gcda’ profile count data file not found
#  249|       Py_XDECREF(m);
#  250|       return NULL;
#  251|-> }
#  252|   
#  253|   #endif /* HAVE_DYNAMIC_LOADING */

Error: CLANG_WARNING: [#def504]
Python-3.12.3/Python/initconfig.c:2762:23: warning[core.NullDereference]: Array access (via field 'items') results in a null pointer dereference
# 2760|           }
# 2761|   
# 2762|->         PyMem_RawFree(config_argv.items[0]);
# 2763|           config_argv.items[0] = arg0;
# 2764|       }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def505]
Python-3.12.3/Python/initconfig.c: scope_hint: In function ‘config_read_cmdline’
Python-3.12.3/Python/initconfig.c:2860:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘opt_index’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Python/initconfig.c:1: included_from: Included from here.
Python-3.12.3/Python/initconfig.c:4: included_from: Included from here.
Python-3.12.3/Python/initconfig.c:2810:16: note: in expansion of macro ‘_PyStatus_OK’
# 2858|           }
# 2859|   
# 2860|->         status = config_update_argv(config, opt_index);
# 2861|           if (_PyStatus_EXCEPTION(status)) {
# 2862|               goto done;

Error: COMPILER_WARNING: [#def506]
Python-3.12.3/Python/initconfig.c: scope_hint: In function ‘_Py_DumpPathConfig’
Python-3.12.3/Python/initconfig.c:3180:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/initconfig.gcda’ profile count data file not found
# 3178|   
# 3179|       _PyErr_SetRaisedException(tstate, exc);
# 3180|-> }

Error: CLANG_WARNING: [#def507]
Python-3.12.3/Python/instrumentation.c:724:31: warning[core.NullDereference]: Array access (via field 'tools') results in a null pointer dereference
#  722|       else {
#  723|           /* Single tool */
#  724|->         uint8_t single_tool = code->_co_monitoring->active_monitors.tools[event];
#  725|           assert(_Py_popcount32(single_tool) <= 1);
#  726|           if (((single_tool & tools) == single_tool)) {

Error: CLANG_WARNING: [#def508]
Python-3.12.3/Python/instrumentation.c:1253:22: warning[core.NullDereference]: Dereference of null pointer
# 1251|           int opcode = instr->op.code;
# 1252|           if (opcode == INSTRUMENTED_LINE) {
# 1253|->             opcode = code->_co_monitoring->lines[i].original_opcode;
# 1254|           }
# 1255|           if (opcode == INSTRUMENTED_INSTRUCTION) {

Error: COMPILER_WARNING: [#def509]
Python-3.12.3/Python/instrumentation.c: scope_hint: In function ‘_Py_CreateMonitoringObject’
Python-3.12.3/Python/instrumentation.c:2178:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/instrumentation.gcda’ profile count data file not found
# 2176|       Py_DECREF(mod);
# 2177|       return NULL;
# 2178|-> }

Error: COMPILER_WARNING: [#def510]
Python-3.12.3/Python/intrinsics.c: scope_hint: In function ‘make_typevar_with_constraints’
Python-3.12.3/Python/intrinsics.c:260:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/intrinsics.gcda’ profile count data file not found
#  258|       [INTRINSIC_TYPEVAR_WITH_CONSTRAINTS] = make_typevar_with_constraints,
#  259|       [INTRINSIC_SET_FUNCTION_TYPE_PARAMS] = _Py_set_function_type_params,
#  260|-> };

Error: COMPILER_WARNING: [#def511]
Python-3.12.3/Python/legacy_tracing.c: scope_hint: In function ‘_PyEval_SetTrace’
Python-3.12.3/Python/legacy_tracing.c:519:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/legacy_tracing.gcda’ profile count data file not found
#  517|       }
#  518|       return _PyMonitoring_SetEvents(PY_MONITORING_SYS_TRACE_ID, events);
#  519|-> }

Error: CLANG_WARNING: [#def512]
Python-3.12.3/Python/marshal.c:209:5: warning[core.NullDereference]: Dereference of null pointer
#  207|   w_short_pstring(const void *s, Py_ssize_t n, WFILE *p)
#  208|   {
#  209|->     w_byte(Py_SAFE_DOWNCAST(n, Py_ssize_t, unsigned char), p);
#  210|       w_string(s, n, p);
#  211|   }

Error: COMPILER_WARNING: [#def513]
Python-3.12.3/Python/marshal.c: scope_hint: In function ‘PyMarshal_Init’
Python-3.12.3/Python/marshal.c:1903:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/marshal.gcda’ profile count data file not found
# 1901|   {
# 1902|       return PyModuleDef_Init(&marshalmodule);
# 1903|-> }

Error: CLANG_WARNING: [#def514]
Python-3.12.3/Python/modsupport.c:349:21: warning[deadcode.DeadStores]: Value stored to 'n' is never read
#  347|                   }
#  348|                   else {
#  349|->                     n = va_arg(*p_va, int);
#  350|                       ERROR_NEED_PY_SSIZE_T_CLEAN;
#  351|                   }

Error: CLANG_WARNING: [#def515]
Python-3.12.3/Python/modsupport.c:399:21: warning[deadcode.DeadStores]: Value stored to 'n' is never read
#  397|                   }
#  398|                   else {
#  399|->                     n = va_arg(*p_va, int);
#  400|                       ERROR_NEED_PY_SSIZE_T_CLEAN;
#  401|                   }

Error: CLANG_WARNING: [#def516]
Python-3.12.3/Python/modsupport.c:434:21: warning[deadcode.DeadStores]: Value stored to 'n' is never read
#  432|                   }
#  433|                   else {
#  434|->                     n = va_arg(*p_va, int);
#  435|                       ERROR_NEED_PY_SSIZE_T_CLEAN;
#  436|                   }

Error: COMPILER_WARNING: [#def517]
Python-3.12.3/Python/modsupport.c: scope_hint: In function ‘PyModule_AddType’
Python-3.12.3/Python/modsupport.c:696:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/modsupport.gcda’ profile count data file not found
#  694|   
#  695|       return PyModule_AddObjectRef(module, name, (PyObject *)type);
#  696|-> }

Error: COMPILER_WARNING: [#def518]
Python-3.12.3/Python/mysnprintf.c: scope_hint: In function ‘PyOS_vsnprintf’
Python-3.12.3/Python/mysnprintf.c:80:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/mysnprintf.gcda’ profile count data file not found
#   78|       }
#   79|       return len;
#   80|-> }

Error: COMPILER_WARNING: [#def519]
Python-3.12.3/Python/mystrtoul.c: scope_hint: In function ‘PyOS_strtol’
Python-3.12.3/Python/mystrtoul.c:291:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/mystrtoul.gcda’ profile count data file not found
#  289|       }
#  290|       return result;
#  291|-> }

Error: COMPILER_WARNING: [#def520]
Python-3.12.3/Python/pathconfig.c: scope_hint: In function ‘_PyPathConfig_ComputeSysPath0’
Python-3.12.3/Python/pathconfig.c:519:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pathconfig.gcda’ profile count data file not found
#  517|       *path0_p = path0_obj;
#  518|       return 1;
#  519|-> }
#  520|   
#  521|   

Error: COMPILER_WARNING: [#def521]
Python-3.12.3/Python/perf_trampoline.c: scope_hint: In function ‘_PyPerfTrampoline_AfterFork_Child’
Python-3.12.3/Python/perf_trampoline.c:493:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/perf_trampoline.gcda’ profile count data file not found
#  491|   #endif
#  492|       return PyStatus_Ok();
#  493|-> }

Error: COMPILER_WARNING: [#def522]
Python-3.12.3/Python/preconfig.c: scope_hint: In function ‘_PyPreConfig_Write’
Python-3.12.3/Python/preconfig.c:977:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/preconfig.gcda’ profile count data file not found
#  975|   
#  976|       return _PyStatus_OK();
#  977|-> }

Error: COMPILER_WARNING: [#def523]
Python-3.12.3/Python/pyarena.c: scope_hint: In function ‘_PyArena_AddPyObject’
Python-3.12.3/Python/pyarena.c:211:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pyarena.gcda’ profile count data file not found
#  209|       }
#  210|       return r;
#  211|-> }

Error: COMPILER_WARNING: [#def524]
Python-3.12.3/Python/pyfpe.c: scope_hint: In function ‘PyFPE_dummy’
Python-3.12.3/Python/pyfpe.c:18:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pyfpe.gcda’ profile count data file not found
#   16|   {
#   17|       return 1.0;
#   18|-> }

Error: COMPILER_WARNING: [#def525]
Python-3.12.3/Python/pyhash.c: scope_hint: In function ‘pysiphash’
Python-3.12.3/Python/pyhash.c:492:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pyhash.gcda’ profile count data file not found
#  490|   }
#  491|   
#  492|-> static PyHash_FuncDef PyHash_Func = {pysiphash, "siphash13", 64, 128};
#  493|   #endif
#  494|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def526]
Python-3.12.3/Python/pylifecycle.c: scope_hint: In function ‘pyinit_config’
Python-3.12.3/Python/pylifecycle.c:895:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tstate’
#  893|           return status;
#  894|       }
#  895|->     *tstate_p = tstate;
#  896|   
#  897|       status = pycore_interp_init(tstate);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def527]
Python-3.12.3/Python/pylifecycle.c: scope_hint: In function ‘Py_InitializeFromConfig.part.0’
Python-3.12.3/Python/pylifecycle.c:1286:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tstate’
# 1284|           return status;
# 1285|       }
# 1286|->     config = _PyInterpreterState_GetConfig(tstate->interp);
# 1287|   
# 1288|       if (config->_init_main) {

Error: COMPILER_WARNING: [#def528]
Python-3.12.3/Python/pylifecycle.c: scope_hint: In function ‘PyOS_setsig’
Python-3.12.3/Python/pylifecycle.c:3167:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pylifecycle.gcda’ profile count data file not found
# 3165|       return oldhandler;
# 3166|   #endif
# 3167|-> }
# 3168|   
# 3169|   #ifdef __cplusplus

Error: COMPILER_WARNING: [#def529]
Python-3.12.3/Python/pymath.c: scope_hint: In function ‘_Py_set_387controlword’
Python-3.12.3/Python/pymath.c:18:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pymath.gcda’ profile count data file not found
#   16|   void _Py_set_387controlword(unsigned short cw) {
#   17|       __asm__ __volatile__ ("fldcw %0" : : "m" (cw));
#   18|-> }
#   19|   #endif  // HAVE_GCC_ASM_FOR_X87

Error: CLANG_WARNING: [#def530]
Python-3.12.3/Python/pystate.c:444:25: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value
#  442|       PyThread_type_lock *lockptrs[NUMLOCKS] = LOCKS_INIT(runtime);
#  443|       for (int i = 0; i < NUMLOCKS; i++) {
#  444|->         assert(locks[i] != NULL);
#  445|           *lockptrs[i] = locks[i];
#  446|       }

Error: CLANG_WARNING: [#def531]
Python-3.12.3/Python/pystate.c:445:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  443|       for (int i = 0; i < NUMLOCKS; i++) {
#  444|           assert(locks[i] != NULL);
#  445|->         *lockptrs[i] = locks[i];
#  446|       }
#  447|   

Error: CLANG_WARNING: [#def532]
Python-3.12.3/Python/pystate.c:2800:20: warning[core.NullDereference]: Dereference of null pointer
# 2798|       }
# 2799|       struct _shared_str_data *shared = (struct _shared_str_data *)data->data;
# 2800|->     shared->kind = PyUnicode_KIND(obj);
# 2801|       shared->buffer = PyUnicode_DATA(obj);
# 2802|       shared->len = PyUnicode_GET_LENGTH(obj);

Error: COMPILER_WARNING: [#def533]
Python-3.12.3/Python/pystate.c: scope_hint: In function ‘_PyThreadState_MustExit’
Python-3.12.3/Python/pystate.c:3058:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pystate.gcda’ profile count data file not found
# 3056|       }
# 3057|       return 1;
# 3058|-> }
# 3059|   
# 3060|   

Error: COMPILER_WARNING: [#def534]
Python-3.12.3/Python/pystrcmp.c: scope_hint: In function ‘PyOS_mystricmp’
Python-3.12.3/Python/pystrcmp.c:30:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pystrcmp.gcda’ profile count data file not found
#   28|       }
#   29|       return (tolower(*p1) - tolower(*p2));
#   30|-> }

Error: COMPILER_WARNING: [#def535]
Python-3.12.3/Python/pystrhex.c: scope_hint: In function ‘_Py_strhex_bytes_with_sep’
Python-3.12.3/Python/pystrhex.c:174:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pystrhex.gcda’ profile count data file not found
#  172|   {
#  173|       return _Py_strhex_impl(argbuf, arglen, sep, bytes_per_group, 1);
#  174|-> }

Error: COMPILER_WARNING: [#def536]
Python-3.12.3/Python/pystrtod.c: scope_hint: In function ‘PyOS_double_to_string’
Python-3.12.3/Python/pystrtod.c:1284:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pystrtod.gcda’ profile count data file not found
# 1282|                                 flags & Py_DTSF_NO_NEG_0,
# 1283|                                 float_strings, type);
# 1284|-> }
# 1285|   #endif  // _PY_SHORT_FLOAT_REPR == 1

Error: CLANG_WARNING: [#def537]
Python-3.12.3/Python/pythonrun.c:1106:13: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 1104|           int res = 0;
# 1105|           if (write_indented_margin(ctx, f) < 0) {
# 1106|->             res = -1;
# 1107|           }
# 1108|           PyObject *s = PyObject_Repr(notes);

Error: COMPILER_WARNING: [#def538]
Python-3.12.3/Python/pythonrun.c: scope_hint: In function ‘PyRun_InteractiveLoop’
Python-3.12.3/Python/pythonrun.c:2016:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pythonrun.gcda’ profile count data file not found
# 2014|   {
# 2015|       return PyRun_InteractiveLoopFlags(f, p, NULL);
# 2016|-> }
# 2017|   
# 2018|   #ifdef __cplusplus

Error: COMPILER_WARNING: [#def539]
Python-3.12.3/Python/pytime.c: scope_hint: In function ‘_PyDeadline_Get’
Python-3.12.3/Python/pytime.c:1382:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/pytime.gcda’ profile count data file not found
# 1380|       _PyTime_t now = _PyTime_GetMonotonicClock();
# 1381|       return deadline - now;
# 1382|-> }

Error: COMPILER_WARNING: [#def540]
Python-3.12.3/Python/specialize.c: scope_hint: In function ‘_Py_Specialize_Send’
Python-3.12.3/Python/specialize.c:2273:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/specialize.gcda’ profile count data file not found
# 2271|       STAT_INC(SEND, success);
# 2272|       cache->counter = adaptive_counter_cooldown();
# 2273|-> }

Error: COMPILER_WARNING: [#def541]
Python-3.12.3/Python/structmember.c: scope_hint: In function ‘PyMember_SetOne’
Python-3.12.3/Python/structmember.c:342:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/structmember.gcda’ profile count data file not found
#  340|       }
#  341|       return 0;
#  342|-> }

Error: COMPILER_WARNING: [#def542]
Python-3.12.3/Python/suggestions.c: scope_hint: In function ‘_Py_UTF8_Edit_Cost’
Python-3.12.3/Python/suggestions.c:428:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/suggestions.gcda’ profile count data file not found
#  426|       PyMem_Free(buffer);
#  427|       return res;
#  428|-> }
#  429|   

Error: CLANG_WARNING: [#def543]
Python-3.12.3/Python/symtable.c:1508:28: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 1506|   {
# 1507|       for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
# 1508|->         expr_ty default_ = asdl_seq_GET(kw_defaults, i);
# 1509|           if (default_) {
# 1510|               return 1;

Error: CLANG_WARNING: [#def544]
Python-3.12.3/Python/symtable.c:2563:35: warning[core.NullDereference]: Access to field 'ste_coroutine' results in a dereference of a null pointer (loaded from field 'st_cur')
# 2561|       }
# 2562|       if (is_async) {
# 2563|->         st->st_cur->ste_coroutine = 1;
# 2564|       }
# 2565|       return 1;

Error: COMPILER_WARNING: [#def545]
Python-3.12.3/Python/symtable.c: scope_hint: In function ‘_Py_Mangle’
Python-3.12.3/Python/symtable.c:2729:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/symtable.gcda’ profile count data file not found
# 2727|       assert(_PyUnicode_CheckConsistency(result, 1));
# 2728|       return result;
# 2729|-> }

Error: COMPILER_WARNING: [#def546]
Python-3.12.3/Python/sysmodule.c: scope_hint: In function ‘PySys_FormatStderr’
Python-3.12.3/Python/sysmodule.c:3915:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/sysmodule.gcda’ profile count data file not found
# 3913|       sys_format(&_Py_ID(stderr), stderr, format, va);
# 3914|       va_end(va);
# 3915|-> }

Error: COMPILER_WARNING: [#def547]
Python-3.12.3/Python/thread.c: scope_hint: In function ‘_PyThread_FiniType’
Python-3.12.3/Python/thread.c:196:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/thread.gcda’ profile count data file not found
#  194|   {
#  195|       _PyStructSequence_FiniBuiltin(interp, &ThreadInfoType);
#  196|-> }

Error: CLANG_WARNING: [#def548]
Python-3.12.3/Python/traceback.c:1365:25: warning[core.NullDereference]: Access to field 'thread_id' results in a dereference of a null pointer (loaded from variable 'tstate')
# 1363|           PUTS(fd, "Thread 0x");
# 1364|       _Py_DumpHexadecimal(fd,
# 1365|->                         tstate->thread_id,
# 1366|                           sizeof(unsigned long) * 2);
# 1367|       PUTS(fd, " (most recent call first):\n");

Error: COMPILER_WARNING: [#def549]
Python-3.12.3/Python/traceback.c: scope_hint: In function ‘_Py_DumpTracebackThreads’
Python-3.12.3/Python/traceback.c:1445:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/traceback.gcda’ profile count data file not found
# 1443|   
# 1444|       return NULL;
# 1445|-> }
# 1446|   

Error: GCC_ANALYZER_WARNING (CWE-404): [#def550]
Python-3.12.3/Python/tracemalloc.c: scope_hint: In function ‘tracemalloc_error’
Python-3.12.3/Python/tracemalloc.c:93:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
Python-3.12.3/Include/Python.h:35: included_from: Included from here.
Python-3.12.3/Python/tracemalloc.c:1: included_from: Included from here.
#   91|       fprintf(stderr, "\n");
#   92|       fflush(stderr);
#   93|-> }
#   94|   #endif
#   95|   

Error: COMPILER_WARNING: [#def551]
Python-3.12.3/Python/tracemalloc.c: scope_hint: In function ‘_PyTraceMalloc_ResetPeak’
Python-3.12.3/Python/tracemalloc.c:1560:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/tracemalloc.gcda’ profile count data file not found
# 1558|       tracemalloc_peak_traced_memory = tracemalloc_traced_memory;
# 1559|       TABLES_UNLOCK();
# 1560|-> }

Error: COMPILER_WARNING: [#def552]
Python-3.12.3/build/optimized/Python/deepfreeze/deepfreeze.c: scope_hint: In function ‘_Py_Deepfreeze_Init’
Python-3.12.3/build/optimized/Python/deepfreeze/deepfreeze.c:146880:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/Python-3.12.3/build/optimized/deepfreeze.gcda’ profile count data file not found
#146878|   }
#146879|   
#146880|-> uint32_t _Py_next_func_version = 769;
#146881|   

Scan Properties

analyzer-version-clang18.1.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-209.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namepython3.12-3.12.3-2.fc41
store-results-to/tmp/tmphu_isqtt/python3.12-3.12.3-2.fc41.tar.xz
time-created2024-04-22 11:59:53
time-finished2024-04-22 12:39:23
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmphu_isqtt/python3.12-3.12.3-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmphu_isqtt/python3.12-3.12.3-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9