python3.13-3.13.0~b3-2.fc41
List of Defects
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:120: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/socketmodule.c:108: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/socketmodule.c: scope_hint: In function ‘sock_listen’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/ceval.h:124:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*s.sock_fd’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/socketmodule.c:3625:5: note: in expansion of macro ‘Py_END_ALLOW_THREADS’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/socketmodule.c:3619:5: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/socketmodule.c:3625:5: note: in expansion of macro ‘Py_END_ALLOW_THREADS’
# 122| #define Py_BLOCK_THREADS PyEval_RestoreThread(_save);
# 123| #define Py_UNBLOCK_THREADS _save = PyEval_SaveThread();
# 124|-> #define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); \
# 125| }
# 126|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:59: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c: scope_hint: In function ‘list_get_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:40:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1075:39: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:12: note: in expansion of macro ‘Py_XNewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: note: in expansion of macro ‘PyList_GET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1075:39: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:12: note: in expansion of macro ‘Py_XNewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:26:13: note: in expansion of macro ‘PyList_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:40:37: note: in expansion of macro ‘_PyList_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: note: in expansion of macro ‘PyList_GET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1075:39: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:12: note: in expansion of macro ‘Py_XNewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:40:37: note: in expansion of macro ‘_PyList_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: note: in expansion of macro ‘PyList_GET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1075:39: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:12: note: in expansion of macro ‘Py_XNewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:40:37: note: in expansion of macro ‘_PyList_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: note: in expansion of macro ‘PyList_GET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1075:39: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:12: note: in expansion of macro ‘Py_XNewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:40:37: note: in expansion of macro ‘_PyList_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: note: in expansion of macro ‘PyList_GET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1075:39: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:12: note: in expansion of macro ‘Py_XNewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: note: in expansion of macro ‘PyList_GET_ITEM’
# 38| #define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
# 39|
# 40|-> #define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
# 41|
# 42| static inline void
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/parts.h:25: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:1: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h: scope_hint: In function ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:46:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:2: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:35:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:48: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:85: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:36:5: note: in expansion of macro ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:36:5: note: in expansion of macro ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:36:5: note: in expansion of macro ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:44:26: note: in expansion of macro ‘_PyList_CAST’
# 44| PyListObject *list = _PyList_CAST(op);
# 45| assert(0 <= index);
# 46|-> assert(index < list->allocated);
# 47| list->ob_item[index] = value;
# 48| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/parts.h:25: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:1: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h: scope_hint: In function ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:46:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘op’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:2: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:35:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:48: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:85: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:36:5: note: in expansion of macro ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:36:5: note: in expansion of macro ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:36:5: note: in expansion of macro ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:36:5: note: in expansion of macro ‘PyList_SET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:44:26: note: in expansion of macro ‘_PyList_CAST’
# 44| PyListObject *list = _PyList_CAST(op);
# 45| assert(0 <= index);
# 46|-> assert(index < list->allocated);
# 47| list->ob_item[index] = value;
# 48| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1224: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:352:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘outer_link’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3435:13: note: in expansion of macro ‘Py_XSETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/unicodeobject.h:107:5: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3698:10: note: in expansion of macro ‘PyUnicode_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/unicodeobject.h:1014: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:75: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3714:13: note: in expansion of macro ‘PyUnicode_GET_LENGTH’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3718:20: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1060:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3811:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1044:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘remove_importlib_frames’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3811:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3812:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3812:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3813:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3813:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:3435:13: note: in expansion of macro ‘Py_XSETREF’
# 350| do { \
# 351| _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
# 352|-> _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
# 353| *_tmp_dst_ptr = (src); \
# 354| Py_XDECREF(_tmp_old_dst); \
Error: GCC_ANALYZER_WARNING (CWE-471): [#def6]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/pyatomic_gcc.h:63:10: warning[-Wanalyzer-write-to-const]: write to ‘const’ object ‘_Py_InitCleanup’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c: scope_hint: In function ‘_Py_NewRef.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:10: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_call.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:8: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:691:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c: scope_hint: In function ‘_Py_NewRef.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:794: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_instruments.h:8: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:29: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_frame.h:296:27: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1060:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h: scope_hint: In function ‘_Py_NewRef.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1060:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c: scope_hint: In function ‘_Py_NewRef.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:655:36: note: declared here
# 61| static inline Py_ssize_t
# 62| _Py_atomic_add_ssize(Py_ssize_t *obj, Py_ssize_t value)
# 63|-> { return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
# 64|
# 65|
Error: COMPILER_WARNING: [#def7]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/pyatomic_gcc.h:339:10: warning[-Wstringop-overflow=]: ‘__atomic_load_4’ writing 4 bytes into a region of size 0 overflows the destination
# 339 | { return __atomic_load_n(obj, __ATOMIC_RELAXED); }
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: destination object is likely at address zero
# 337| static inline uint32_t
# 338| _Py_atomic_load_uint32_relaxed(const uint32_t *obj)
# 339|-> { return __atomic_load_n(obj, __ATOMIC_RELAXED); }
# 340|
# 341| static inline uint64_t
Error: COMPILER_WARNING: [#def8]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/pyatomic_gcc.h:359:18: warning[-Wstringop-overflow=]: ‘__atomic_load_8’ writing 8 bytes into a region of size 0 overflows the destination
# 359 | { return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
# | ^~~~~~~~~~~~~~~
cc1: note: destination object is likely at address zero
# 357| static inline void *
# 358| _Py_atomic_load_ptr_relaxed(const void *obj)
# 359|-> { return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
# 360|
# 361| static inline unsigned long long
Error: GCC_ANALYZER_WARNING (CWE-471): [#def9]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/pyatomic_gcc.h:461:3: warning[-Wanalyzer-write-to-const]: write to ‘const’ object ‘_Py_InitCleanup’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c: scope_hint: In function ‘_Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:691:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c: scope_hint: In function ‘_Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_frame.h:296:27: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1060:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h: scope_hint: In function ‘_Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h: scope_hint: In function ‘_Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c: scope_hint: In function ‘_Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:655:36: note: declared here
# 459| static inline void
# 460| _Py_atomic_store_uint32_relaxed(uint32_t *obj, uint32_t value)
# 461|-> { __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
# 462|
# 463| static inline void
Error: CLANG_WARNING: [#def10]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/unicode.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/parts.h:25: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:75: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/unicodeobject.h:1014: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/unicodeobject.h:280:12: warning[core.NullDereference]: Access to field 'length' results in a dereference of a null pointer
# 278| /* Returns the length of the unicode string. */
# 279| static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
# 280|-> return _PyASCIIObject_CAST(op)->length;
# 281| }
# 282| #define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
Error: CLANG_WARNING: [#def11]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/longobject.c:9: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_long.h:208:13: warning[core.NullDereference]: Dereference of null pointer
# 206| _PyLong_IsZero(const PyLongObject *op)
# 207| {
# 208|-> return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
# 209| }
# 210|
Error: CLANG_WARNING: [#def12]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen.c:1: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:305:12: warning[core.NullDereference]: Access to field 'ob_tid' results in a dereference of a null pointer (loaded from variable 'ob')
# 303| return _Py_atomic_load_uintptr_relaxed(&ob->ob_tid) == _Py_ThreadId();
# 304| #else
# 305|-> return ob->ob_tid == _Py_ThreadId();
# 306| #endif
# 307| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:305:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c: scope_hint: In function ‘_Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/dictobject.h:19:31: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c:1478:10: note: in expansion of macro ‘PyDict_CheckExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:367:12: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c: scope_hint: In function ‘_Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c:1735:24: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c:1215:17: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c:1215:17: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1060:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h: scope_hint: In function ‘_Py_NewRef’
# 303| return _Py_atomic_load_uintptr_relaxed(&ob->ob_tid) == _Py_ThreadId();
# 304| #else
# 305|-> return ob->ob_tid == _Py_ThreadId();
# 306| #endif
# 307| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:2: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h: scope_hint: In function ‘_Py_IsOwnedByCurrentThread’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:305:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ob’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_emscripten_trampoline.h:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_object.h:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:39: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:84: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:210:20: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:210:20: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_object.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:27:38: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:213:27: note: in expansion of macro ‘PyTuple_GET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:227:24: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:227:24: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:227:24: note: in expansion of macro ‘PyTuple_GET_SIZE’
/usr/include/dlfcn.h:24: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_import.h:107: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:1891:5: note: in expansion of macro ‘Py_DECREF’
# 303| return _Py_atomic_load_uintptr_relaxed(&ob->ob_tid) == _Py_ThreadId();
# 304| #else
# 305|-> return ob->ob_tid == _Py_ThreadId();
# 306| #endif
# 307| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:305:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘op’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c: scope_hint: In function ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:447:13: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:447:13: note: in expansion of macro ‘Py_DECREF’
# 303| return _Py_atomic_load_uintptr_relaxed(&ob->ob_tid) == _Py_ThreadId();
# 304| #else
# 305|-> return ob->ob_tid == _Py_ThreadId();
# 306| #endif
# 307| }
Error: CPPCHECK_WARNING (CWE-476): [#def16]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333: error[ctunullpointer]: Null pointer dereference: ob
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: CPPCHECK_WARNING (CWE-476): [#def17]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333: warning[nullPointer]: Possible null pointer dereference: ob
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: CLANG_WARNING: [#def18]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/unicode.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/parts.h:25: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:12: warning[core.NullDereference]: Access to field 'ob_type' results in a dereference of a null pointer (loaded from variable 'ob')
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c: scope_hint: In function ‘_Py_subs_parameters’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘exc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c: scope_hint: In function ‘_excinfo_init_type_from_exception’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c:479:26: note: in expansion of macro ‘Py_TYPE’
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c: scope_hint: In function ‘_Py_subs_parameters’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:451:17: note: in expansion of macro ‘PyTuple_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:451:17: note: in expansion of macro ‘PyTuple_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:451:17: note: in expansion of macro ‘PyTuple_Check’
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c: scope_hint: In function ‘list_get_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:2: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:21:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:59: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1075:39: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:12: note: in expansion of macro ‘Py_XNewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:26:13: note: in expansion of macro ‘PyList_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:40:37: note: in expansion of macro ‘_PyList_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: note: in expansion of macro ‘PyList_GET_ITEM’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1075:39: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:12: note: in expansion of macro ‘Py_XNewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:26:13: note: in expansion of macro ‘PyList_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:40:37: note: in expansion of macro ‘_PyList_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: note: in expansion of macro ‘PyList_GET_ITEM’
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h: scope_hint: In function ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ob’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:39: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:84: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:436:26: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:436: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.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_faulthandler.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:14: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_ceval.h:14: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘op’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c: scope_hint: In function ‘PyList_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:8:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/util.h:18:28: note: in definition of macro ‘RETURN_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:9:17: note: in expansion of macro ‘PyList_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:48: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:85: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:26:13: note: in expansion of macro ‘PyList_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:31:26: note: in expansion of macro ‘_PyList_CAST’
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘s_pack_into’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1224: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2066:33: note: in expansion of macro ‘get_struct_state_structinst’
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘so’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/set.c: scope_hint: In function ‘PySet_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/set.c:2: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/set.c:7:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/util.h:18:28: note: in definition of macro ‘RETURN_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/set.c:8:17: note: in expansion of macro ‘PySet_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/setobject.h:42: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:89: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/setobject.h:31:6: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/setobject.h:62:13: note: in expansion of macro ‘PyAnySet_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/setobject.h:68:12: note: in expansion of macro ‘_PySet_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:367:12: note: in expansion of macro ‘Py_TYPE’
# 331| return (PyTypeObject *)_Py_atomic_load_ptr_relaxed(&ob->ob_type);
# 332| #else
# 333|-> return ob->ob_type;
# 334| #endif
# 335| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:347:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c: scope_hint: In function ‘_Py_subs_parameters’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:39: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:84: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:465:36: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:465:36: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:465:36: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
# 345| assert(ob->ob_type != &PyLong_Type);
# 346| assert(ob->ob_type != &PyBool_Type);
# 347|-> return _PyVarObject_CAST(ob)->ob_size;
# 348| }
# 349| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
Error: CLANG_WARNING: [#def28]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen.c:1: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:359:13: warning[core.NullDereference]: Dereference of null pointer
# 357| _Py_IMMORTAL_REFCNT_LOCAL);
# 358| #elif SIZEOF_VOID_P > 4
# 359|-> return (_Py_CAST(PY_INT32_T, op->ob_refcnt) < 0);
# 360| #else
# 361| return (op->ob_refcnt == _Py_IMMORTAL_REFCNT);
Error: CLANG_WARNING: [#def29]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c:41: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:435:12: warning[core.NullDereference]: Dereference of null pointer
# 433|
# 434| static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
# 435|-> assert(ob->ob_base.ob_type != &PyLong_Type);
# 436| assert(ob->ob_base.ob_type != &PyBool_Type);
# 437| #ifdef Py_GIL_DISABLED
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:440:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c: scope_hint: In function ‘expand_template.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/unicodeobject.h:107:5: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c:2885:10: note: in expansion of macro ‘PyUnicode_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c:2894:20: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c:2920:9: note: in expansion of macro ‘Py_SET_SIZE’
# 438| _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
# 439| #else
# 440|-> ob->ob_size = size;
# 441| #endif
# 442| }
Error: CLANG_WARNING: [#def31]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c:41: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:440:17: warning[core.NullDereference]: Access to field 'ob_size' results in a dereference of a null pointer (loaded from variable 'ob')
# 438| _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
# 439| #else
# 440|-> ob->ob_size = size;
# 441| #endif
# 442| }
Error: CLANG_WARNING: [#def32]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/odictobject.c:467: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:826:30: warning[core.NullDereference]: Array access (via field 'ob_refcnt_split') results in a null pointer dereference
# 824| #elif SIZEOF_VOID_P > 4
# 825| // Portable saturated add, branching on the carry flag and set low bits
# 826|-> PY_UINT32_T cur_refcnt = op->ob_refcnt_split[PY_BIG_ENDIAN];
# 827| PY_UINT32_T new_refcnt = cur_refcnt + 1;
# 828| if (new_refcnt == 0) {
Error: CLANG_WARNING: [#def33]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen.c:1: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:927:9: warning[core.NullDereference]: Dereference of null pointer
# 925| static inline void Py_DECREF(const char *filename, int lineno, PyObject *op)
# 926| {
# 927|-> if (op->ob_refcnt <= 0) {
# 928| _Py_NegativeRefcount(filename, lineno, op);
# 929| }
Error: COMPILER_WARNING: [#def34]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_abc.c: scope_hint: In function ‘PyInit__abc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_abc.c:993:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_abc.gcda’ profile count data file not found
# 991| {
# 992| return PyModuleDef_Init(&_abcmodule);
# 993|-> }
Error: COMPILER_WARNING: [#def35]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_asynciomodule.c: scope_hint: In function ‘PyInit__asyncio’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_asynciomodule.c:3818:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_asynciomodule.gcda’ profile count data file not found
# 3816| {
# 3817| return PyModuleDef_Init(&_asynciomodule);
# 3818|-> }
Error: COMPILER_WARNING: [#def36]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_bisectmodule.c: scope_hint: In function ‘PyInit__bisect’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_bisectmodule.c:484:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_bisectmodule.gcda’ profile count data file not found
# 482| {
# 483| return PyModuleDef_Init(&_bisectmodule);
# 484|-> }
Error: COMPILER_WARNING: [#def37]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_blake2/blake2b_impl.c: scope_hint: In function ‘py_blake2b_dealloc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_blake2/blake2b_impl.c:417:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/blake2b_impl.gcda’ profile count data file not found
# 415| .flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_IMMUTABLETYPE,
# 416| .slots = blake2b_type_slots
# 417|-> };
Error: COMPILER_WARNING: [#def38]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_blake2/blake2module.c: scope_hint: In function ‘PyInit__blake2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_blake2/blake2module.c:160:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/blake2module.gcda’ profile count data file not found
# 158| {
# 159| return PyModuleDef_Init(&blake2_module);
# 160|-> }
Error: COMPILER_WARNING: [#def39]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_blake2/blake2s_impl.c: scope_hint: In function ‘py_blake2s_dealloc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_blake2/blake2s_impl.c:417:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/blake2s_impl.gcda’ profile count data file not found
# 415| .flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_IMMUTABLETYPE,
# 416| .slots = blake2s_type_slots
# 417|-> };
Error: COMPILER_WARNING: [#def40]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_bz2module.c: scope_hint: In function ‘PyInit__bz2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_bz2module.c:823:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_bz2module.gcda’ profile count data file not found
# 821| {
# 822| return PyModuleDef_Init(&_bz2module);
# 823|-> }
Error: COMPILER_WARNING: [#def41]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_codecsmodule.c: scope_hint: In function ‘PyInit__codecs’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_codecsmodule.c:1073:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_codecsmodule.gcda’ profile count data file not found
# 1071| {
# 1072| return PyModuleDef_Init(&codecsmodule);
# 1073|-> }
Error: COMPILER_WARNING: [#def42]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_collectionsmodule.c: scope_hint: In function ‘PyInit__collections’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_collectionsmodule.c:2842:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_collectionsmodule.gcda’ profile count data file not found
# 2840| {
# 2841| return PyModuleDef_Init(&_collectionsmodule);
# 2842|-> }
Error: COMPILER_WARNING: [#def43]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_contextvarsmodule.c: scope_hint: In function ‘PyInit__contextvars’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_contextvarsmodule.c:68:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_contextvarsmodule.gcda’ profile count data file not found
# 66| {
# 67| return PyModuleDef_Init(&_contextvarsmodule);
# 68|-> }
Error: COMPILER_WARNING: [#def44]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_csv.c: scope_hint: In function ‘PyInit__csv’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_csv.c:1819:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_csv.gcda’ profile count data file not found
# 1817| {
# 1818| return PyModuleDef_Init(&_csvmodule);
# 1819|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCData_item_type.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:2880:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stg_info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘PyCData_item_type.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCData_item_type.part.0’
# 2878| }
# 2879| assert(stg_info);
# 2880|-> elem_type = stg_info->proto;
# 2881| assert(elem_type);
# 2882| return PyCData_item_type(st, elem_type);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_PyCData_set.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:3269:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:103: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h:226:43: note: in expansion of macro ‘PyObject_TypeCheck’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:3255:9: note: in expansion of macro ‘PyCPointerTypeObject_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_PyCData_set.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_PyCData_set.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_PyCData_set.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_PyCData_set.part.0’
# 3267| assert(p2); /* Cannot be NULL for pointer types */
# 3268|
# 3269|-> if (p1->proto != p2->proto) {
# 3270| PyErr_Format(PyExc_TypeError,
# 3271| "incompatible types, %s instance instead of %s instance",
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:3269:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h:226:43: note: in expansion of macro ‘PyObject_TypeCheck’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:3255:9: note: in expansion of macro ‘PyCPointerTypeObject_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_PyCData_set.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_PyCData_set.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_PyCData_set.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_PyCData_set.part.0’
# 3267| assert(p2); /* Cannot be NULL for pointer types */
# 3268|
# 3269|-> if (p1->proto != p2->proto) {
# 3270| PyErr_Format(PyExc_TypeError,
# 3271| "incompatible types, %s instance instead of %s instance",
Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_get_restype.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:3441:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘PyCFuncPtr_get_restype.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_get_restype.part.0’
# 3439| }
# 3440| assert(info); /* Cannot be NULL for PyCFuncPtrObject instances */
# 3441|-> if (info->restype) {
# 3442| return Py_NewRef(info->restype);
# 3443| } else {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_get_argtypes.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:3480:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘PyCFuncPtr_get_argtypes.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_get_argtypes.part.0’
# 3478| }
# 3479| assert(info); /* Cannot be NULL for PyCFuncPtrObject instances */
# 3480|-> if (info->argtypes) {
# 3481| return Py_NewRef(info->argtypes);
# 3482| } else {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4267:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘PyCFuncPtr_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_call’
# 4265| assert(info); /* Cannot be NULL for PyCFuncPtrObject instances */
# 4266|
# 4267|-> restype = self->restype ? self->restype : info->restype;
# 4268| converters = self->converters ? self->converters : info->converters;
# 4269| checker = self->checker ? self->checker : info->checker;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4268:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘PyCFuncPtr_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_call’
# 4266|
# 4267| restype = self->restype ? self->restype : info->restype;
# 4268|-> converters = self->converters ? self->converters : info->converters;
# 4269| checker = self->checker ? self->checker : info->checker;
# 4270| argtypes = self->argtypes ? self->argtypes : info->argtypes;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4269:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘PyCFuncPtr_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_call’
# 4267| restype = self->restype ? self->restype : info->restype;
# 4268| converters = self->converters ? self->converters : info->converters;
# 4269|-> checker = self->checker ? self->checker : info->checker;
# 4270| argtypes = self->argtypes ? self->argtypes : info->argtypes;
# 4271| /* later, we probably want to have an errcheck field in stginfo */
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4270:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘PyCFuncPtr_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_call’
# 4268| converters = self->converters ? self->converters : info->converters;
# 4269| checker = self->checker ? self->checker : info->checker;
# 4270|-> argtypes = self->argtypes ? self->argtypes : info->argtypes;
# 4271| /* later, we probably want to have an errcheck field in stginfo */
# 4272| errcheck = self->errcheck /* ? self->errcheck : info->errcheck */;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4319:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘PyCFuncPtr_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4035:16: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1060:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4035:16: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:59: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:16:47: note: in definition of macro ‘_Py_STATIC_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4314:24: note: in expansion of macro ‘Py_SAFE_DOWNCAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4314:41: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyCFuncPtr_call’
# 4317| Py_ssize_t, int);
# 4318|
# 4319|-> if ((info->flags & FUNCFLAG_CDECL) == FUNCFLAG_CDECL) {
# 4320| /* For cdecl functions, we allow more actual arguments
# 4321| than the length of the argtypes tuple.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4516:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘baseinfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_init_pos_args’
# 4514|
# 4515| for (i = index;
# 4516|-> i < info->length && i < PyTuple_GET_SIZE(args);
# 4517| ++i) {
# 4518| PyObject *pair = PySequence_GetItem(fields, i - index);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4516:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘_init_pos_args’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘_init_pos_args’
# 4514|
# 4515| for (i = index;
# 4516|-> i < info->length && i < PyTuple_GET_SIZE(args);
# 4517| ++i) {
# 4518| PyObject *pair = PySequence_GetItem(fields, i - index);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4663:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4654:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4654:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Array_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_item’
# 4661| stginfo->proto's stginfo?
# 4662| */
# 4663|-> size = stginfo->size / stginfo->length;
# 4664| offset = index * size;
# 4665|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4701:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Array_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_subscript.part.0’
# 4699| }
# 4700| assert(stginfo); /* Cannot be NULL for array object instances */
# 4701|-> proto = stginfo->proto;
# 4702| StgInfo *iteminfo;
# 4703| if (PyStgInfo_FromType(st, proto, &iteminfo) < 0) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4709:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iteminfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Array_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Array_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_subscript.part.0’
# 4707| ctypes type, so this cannot be NULL */
# 4708|
# 4709|-> if (iteminfo->getfunc == _ctypes_get_fielddesc("c")->getfunc) {
# 4710| char *ptr = (char *)self->b_ptr;
# 4711| char *dest;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4803:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4796:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:4796:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Array_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Array_ass_item’
# 4801| assert(stginfo); /* Cannot be NULL for array object instances */
# 4802|
# 4803|-> if (index < 0 || index >= stginfo->length) {
# 4804| PyErr_SetString(PyExc_IndexError,
# 4805| "invalid index");
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Simple_set_value’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5012:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5004:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5004:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Simple_set_value’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Simple_set_value’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Simple_set_value’
# 5010| assert(info->setfunc);
# 5011|
# 5012|-> result = info->setfunc(self->b_ptr, value, info->size);
# 5013| if (!result)
# 5014| return -1;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Simple_get_value’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5041:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Simple_get_value’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Simple_get_value’
# 5039| assert(info); /* Cannot be NULL for CDataObject instances */
# 5040| assert(info->getfunc);
# 5041|-> return info->getfunc(self->b_ptr, self->b_size);
# 5042| }
# 5043|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5147:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5140:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5140:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_item’
# 5145| assert(stginfo); /* Cannot be NULL for pointer object instances */
# 5146|
# 5147|-> proto = stginfo->proto;
# 5148| assert(proto);
# 5149|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5157:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iteminfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5140:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5140:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_item’
# 5155| type, so this cannot be NULL */
# 5156|
# 5157|-> size = iteminfo->size;
# 5158| offset = index * iteminfo->size;
# 5159|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5191:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5184:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5184:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_ass_item’
# 5189| assert(stginfo); /* Cannot be NULL for pointer instances */
# 5190|
# 5191|-> proto = stginfo->proto;
# 5192| assert(proto);
# 5193|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5201:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iteminfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5184:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5184:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_ass_item’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_ass_item’
# 5199| is always a ctypes type */
# 5200|
# 5201|-> size = iteminfo->size;
# 5202| offset = index * iteminfo->size;
# 5203|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_get_contents’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5224:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5217:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5217:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_get_contents’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_get_contents’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_get_contents’
# 5222| assert(stginfo); /* Cannot be NULL for pointer instances */
# 5223|
# 5224|-> return PyCData_FromBaseObj(st, stginfo->proto,
# 5225| (PyObject *)self, 0,
# 5226| *(void **)self->b_ptr);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_set_contents’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5248:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:337:31: note: in expansion of macro ‘_PyObject_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5240:48: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5240:56: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_set_contents’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_set_contents’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_set_contents’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h:205:40: note: in expansion of macro ‘PyObject_TypeCheck’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5247:10: note: in expansion of macro ‘CDataObject_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_set_contents’
# 5246| assert(stginfo->proto);
# 5247| if (!CDataObject_Check(st, value)) {
# 5248|-> int res = PyObject_IsInstance(value, stginfo->proto);
# 5249| if (res == -1)
# 5250| return -1;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5388:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_subscript.part.0’
# 5386| }
# 5387| assert(stginfo); /* Cannot be NULL for pointer instances */
# 5388|-> proto = stginfo->proto;
# 5389| assert(proto);
# 5390| StgInfo *iteminfo;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5395:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iteminfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/ctypes.h: scope_hint: In function ‘Pointer_subscript.part.0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘Pointer_subscript.part.0’
# 5393| }
# 5394| assert(iteminfo);
# 5395|-> if (iteminfo->getfunc == _ctypes_get_fielddesc("c")->getfunc) {
# 5396| char *ptr = *(char **)self->b_ptr;
# 5397| char *dest;
Error: COMPILER_WARNING: [#def71]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyInit__ctypes’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes.c:5963:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_ctypes.gcda’ profile count data file not found
# 5961| {
# 5962| return PyModuleDef_Init(&_ctypesmodule);
# 5963|-> }
# 5964|
# 5965| /*
Error: GCC_ANALYZER_WARNING (CWE-404): [#def72]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes_test.c: scope_hint: In function ‘myprintf’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes_test.c:401:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
# 399| va_end(argptr);
# 400| return result;
# 401|-> }
# 402|
# 403| EXPORT(char *)my_strtok(char *token, const char *delim)
Error: COMPILER_WARNING: [#def73]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes_test.c: scope_hint: In function ‘PyInit__ctypes_test’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/_ctypes_test.c:1190:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_ctypes_test.gcda’ profile count data file not found
# 1188| {
# 1189| return PyModuleDef_Init(&_ctypes_testmodule);
# 1190|-> }
Error: CLANG_WARNING: [#def74]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c:241:20: warning[core.NullDereference]: Array access (from variable 'space') results in an undefined pointer dereference
# 239| #endif
# 240| if (flags & FUNCFLAG_USE_ERRNO) {
# 241|-> int temp = space[0];
# 242| space[0] = errno;
# 243| errno = temp;
Error: GCC_ANALYZER_WARNING (CWE-457): [#def75]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c: scope_hint: In function ‘_CallPythonObject’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c:241:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘space’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_call.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c:11: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:39: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:84: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c:5: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c:156:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c:156:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c:156:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
# 239| #endif
# 240| if (flags & FUNCFLAG_USE_ERRNO) {
# 241|-> int temp = space[0];
# 242| space[0] = errno;
# 243| errno = temp;
Error: COMPILER_WARNING: [#def76]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c: scope_hint: In function ‘_ctypes_alloc_callback’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callbacks.c:473:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/callbacks.gcda’ profile count data file not found
# 471| Py_XDECREF(p);
# 472| return NULL;
# 473|-> }
# 474|
# 475| #ifdef MS_WIN32
Error: COMPILER_WARNING: [#def77]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callproc.c: scope_hint: In function ‘buffer_info’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/callproc.c:2103:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/callproc.gcda’ profile count data file not found
# 2101| {"Py_DECREF", My_Py_DECREF, METH_O },
# 2102| {NULL, NULL} /* Sentinel */
# 2103|-> };
# 2104|
# 2105| /*
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/cfield.c: scope_hint: In function ‘PyCField_FromDesc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/cfield.c:137:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/cfield.c:15: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_call.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/cfield.c:12: included_from: Included from here.
/usr/include/dlfcn.h:24: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_import.h:107: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:16: included_from: Included from here.
# 135| return NULL;
# 136| }
# 137|-> if (iinfo->getfunc == _ctypes_get_fielddesc("c")->getfunc) {
# 138| struct fielddesc *fd = _ctypes_get_fielddesc("s");
# 139| getfunc = fd->getfunc;
Error: COMPILER_WARNING: [#def79]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/cfield.c: scope_hint: In function ‘_ctypes_get_fielddesc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/cfield.c:1597:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/cfield.gcda’ profile count data file not found
# 1595| }
# 1596| return NULL;
# 1597|-> }
# 1598|
# 1599| /*---------------- EOF ----------------*/
Error: COMPILER_WARNING: [#def80]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/stgdict.c: scope_hint: In function ‘PyCStructUnionType_update_stginfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ctypes/stgdict.c:888:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/stgdict.gcda’ profile count data file not found
# 886|
# 887| return MakeAnonFields(type);
# 888|-> }
Error: COMPILER_WARNING: [#def81]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_curses_panel.c: scope_hint: In function ‘PyInit__curses_panel’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_curses_panel.c:719:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_curses_panel.gcda’ profile count data file not found
# 717| {
# 718| return PyModuleDef_Init(&_curses_panelmodule);
# 719|-> }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def82]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_window_border_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1105:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ch[7]’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:2476: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1094:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1094:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1095:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1095:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1096:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1096:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1097:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1097:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1098:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1098:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1099:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1099:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1100:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1100:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1101:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:1101:5: note: in expansion of macro ‘CONVERTTOCHTYPE’
# 1103| #undef CONVERTTOCHTYPE
# 1104|
# 1105|-> wborder(self->win,
# 1106| ch[0], ch[1], ch[2], ch[3],
# 1107| ch[4], ch[5], ch[6], ch[7]);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_initscr_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def84]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_initscr_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:3352:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘winobj’
/usr/include/dlfcn.h:24: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_import.h:107: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_long.h:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:108: 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: [#def85]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c: scope_hint: In function ‘PyInit__curses’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_cursesmodule.c:4951:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_cursesmodule.gcda’ profile count data file not found
# 4949| }
# 4950| return m;
# 4951|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_to_microseconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2077:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2072:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2072:26: note: in expansion of macro ‘GET_CURRENT_STATE’
# 2075| if (x1 == NULL)
# 2076| goto Done;
# 2077|-> x2 = PyNumber_Multiply(x1, CONST_SEC_PER_DAY(st)); /* days in seconds */
# 2078| if (x2 == NULL)
# 2079| goto Done;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2153:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2072:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2072:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:14: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2080:5: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2089:5: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2097:5: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2107:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1044:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2107:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2108:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1044:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2108:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2109:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2109:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2072:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2072:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2080:5: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2089:5: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2097:5: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2107:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1044:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2107:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2108:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1044:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘microseconds_to_delta_ex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2108:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2109:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2109:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2592:17: note: in expansion of macro ‘microseconds_to_delta’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2592:17: note: in expansion of macro ‘microseconds_to_delta’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2151:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2151:26: note: in expansion of macro ‘GET_CURRENT_STATE’
# 2151| datetime_state *st = GET_CURRENT_STATE(current_mod);
# 2152|
# 2153|-> tuple = checked_divmod(pyus, CONST_US_PER_SECOND(st));
# 2154| if (tuple == NULL) {
# 2155| goto Done;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_total_seconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2956:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:6667:30: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_total_seconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:6667:30: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2072:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_total_seconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2072:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2080:5: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_total_seconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2089:5: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_total_seconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2097:5: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_total_seconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2107:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1044:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_total_seconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2107:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2108:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1044:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘delta_total_seconds’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2108:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2109:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2109:5: note: in expansion of macro ‘Py_XDECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2954:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:2954:26: note: in expansion of macro ‘GET_CURRENT_STATE’
# 2954| datetime_state *st = GET_CURRENT_STATE(current_mod);
# 2955|
# 2956|-> total_seconds = PyNumber_TrueDivide(total_microseconds, CONST_US_PER_SECOND(st));
# 2957|
# 2958| RELEASE_CURRENT_STATE(st, current_mod);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘local_timezone’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:6428:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:6426:26: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:6426:26: note: in expansion of macro ‘GET_CURRENT_STATE’
# 6426| datetime_state *st = GET_CURRENT_STATE(current_mod);
# 6427|
# 6428|-> delta = datetime_subtract((PyObject *)utc_time, CONST_EPOCH(st));
# 6429| RELEASE_CURRENT_STATE(st, current_mod);
# 6430| if (delta == NULL)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘datetime_timestamp’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:6670:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:6667:30: note: in expansion of macro ‘GET_CURRENT_STATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:6667:30: note: in expansion of macro ‘GET_CURRENT_STATE’
# 6668|
# 6669| PyObject *delta;
# 6670|-> delta = datetime_subtract((PyObject *)self, CONST_EPOCH(st));
# 6671| RELEASE_CURRENT_STATE(st, current_mod);
# 6672| if (delta == NULL)
Error: COMPILER_WARNING: [#def91]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c: scope_hint: In function ‘PyInit__datetime’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_datetimemodule.c:7363:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_datetimemodule.gcda’ profile count data file not found
# 7361| {
# 7362| return PyModuleDef_Init(&datetimemodule);
# 7363|-> }
# 7364|
# 7365| /* ---------------------------------------------------------------------------
Error: COMPILER_WARNING: [#def92]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_dbmmodule.c: scope_hint: In function ‘PyInit__dbm’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_dbmmodule.c:638:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_dbmmodule.gcda’ profile count data file not found
# 636| {
# 637| return PyModuleDef_Init(&_dbmmodule);
# 638|-> }
Error: COMPILER_WARNING: [#def93]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_decimal/_decimal.c: scope_hint: In function ‘PyInit__decimal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_decimal/_decimal.c:6180:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_decimal.gcda’ profile count data file not found
# 6178| {
# 6179| return PyModuleDef_Init(&_decimal_module);
# 6180|-> }
Error: COMPILER_WARNING: [#def94]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_elementtree.c: scope_hint: In function ‘PyInit__elementtree’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_elementtree.c:4485:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_elementtree.gcda’ profile count data file not found
# 4483| {
# 4484| return PyModuleDef_Init(&elementtreemodule);
# 4485|-> }
Error: COMPILER_WARNING: [#def95]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_functoolsmodule.c: scope_hint: In function ‘PyInit__functools’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_functoolsmodule.c:1598:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_functoolsmodule.gcda’ profile count data file not found
# 1596| {
# 1597| return PyModuleDef_Init(&_functools_module);
# 1598|-> }
Error: COMPILER_WARNING: [#def96]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_gdbmmodule.c: scope_hint: In function ‘PyInit__gdbm’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_gdbmmodule.c:848:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_gdbmmodule.gcda’ profile count data file not found
# 846| {
# 847| return PyModuleDef_Init(&_gdbmmodule);
# 848|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:47:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:217:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:47:3: note: in expansion of macro ‘KRML_MAYBE_FOR4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_MD5_malloc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:1169:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.h:34: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/internal/Hacl_Hash_MD5.h:38: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:1175:3: note: in expansion of macro ‘Hacl_Hash_MD5_init’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:217:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def98]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_MD5_malloc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:1174:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def99]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_MD5_copy’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:1415:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def100]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:1417:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def101]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:1422:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def102]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_MD5_hash’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_MD5.c:1429:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def103]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA1.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA1_copy’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA1.c:448:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h:15: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/FStar_UInt128_Verified.h:10: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/types.h:14: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/internal/Hacl_Hash_SHA1.h:34: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA1.c:26: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def104]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA1.c:450:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def105]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA1.c:455:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def106]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA1.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA1_hash’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA1.c:462:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def107]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:38:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:32:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_256’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:450:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def108]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:211:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:205:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_224’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:763:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def109]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:239:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:233:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_512’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:861:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def110]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:417:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:411:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_384’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:1175:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def111]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h:15: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/FStar_UInt128_Verified.h:10: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/types.h:14: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/internal/Hacl_Hash_SHA2.h:34: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:26: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘Hacl_Hash_SHA2_sha384_init’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:417:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hash’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:411:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.h:34: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/internal/Hacl_Hash_SHA2.h:39: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:1172:29: note: in expansion of macro ‘Hacl_Hash_SHA2_malloc_384’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:1175:39: note: in expansion of macro ‘KRML_HOST_CALLOC’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:109:3: note: in definition of macro ‘KRML_LOOP1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:123:3: note: in expansion of macro ‘KRML_LOOP2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:139:3: note: in expansion of macro ‘KRML_LOOP4’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:177:5: note: in expansion of macro ‘KRML_LOOP8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/include/krml/internal/target.h:241:42: note: in expansion of macro ‘KRML_UNROLL_FOR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def112]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_256’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:455:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def113]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_copy_256’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:473:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def114]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:475:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def115]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:480:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def116]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_224’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:768:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def117]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_512’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:866:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def118]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_copy_512’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:884:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def119]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:886:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def120]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:891:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def121]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Hash_SHA2_malloc_384’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:1180:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def122]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘Hacl_Hash_SHA2_hash_384’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA2.c:1272:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def123]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA3.c: scope_hint: In function ‘Hacl_Hash_SHA3_keccak’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hacl/Hacl_Hash_SHA3.c:733:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def124]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hashopenssl.c: scope_hint: In function ‘_setException’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hashopenssl.c:337:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
# 335| }
# 336| return NULL;
# 337|-> }
# 338| /* LCOV_EXCL_STOP */
# 339|
Error: COMPILER_WARNING: [#def125]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hashopenssl.c: scope_hint: In function ‘PyInit__hashlib’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_hashopenssl.c:2312:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_hashopenssl.gcda’ profile count data file not found
# 2310| {
# 2311| return PyModuleDef_Init(&_hashlibmodule);
# 2312|-> }
Error: COMPILER_WARNING: [#def126]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_heapqmodule.c: scope_hint: In function ‘PyInit__heapq’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_heapqmodule.c:704:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_heapqmodule.gcda’ profile count data file not found
# 702| {
# 703| return PyModuleDef_Init(&_heapqmodule);
# 704|-> }
Error: COMPILER_WARNING: [#def127]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_interpchannelsmodule.c: scope_hint: In function ‘PyInit__interpchannels’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_interpchannelsmodule.c:3381:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_interpchannelsmodule.gcda’ profile count data file not found
# 3379| {
# 3380| return PyModuleDef_Init(&moduledef);
# 3381|-> }
Error: COMPILER_WARNING: [#def128]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_interpqueuesmodule.c: scope_hint: In function ‘PyInit__interpqueues’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_interpqueuesmodule.c:1882:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_interpqueuesmodule.gcda’ profile count data file not found
# 1880| {
# 1881| return PyModuleDef_Init(&moduledef);
# 1882|-> }
Error: COMPILER_WARNING: [#def129]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_interpretersmodule.c: scope_hint: In function ‘PyInit__interpreters’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_interpretersmodule.c:1568:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_interpretersmodule.gcda’ profile count data file not found
# 1566| {
# 1567| return PyModuleDef_Init(&moduledef);
# 1568|-> }
Error: GCC_ANALYZER_WARNING (CWE-126): [#def130]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c: scope_hint: In function ‘_io_open_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c:264:13: warning[-Wanalyzer-out-of-bounds]: buffer over-read
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c:630: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c:10: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c:218:22: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1060:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c:264:13: note: read of 1 byte from after the end of ‘"r"’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c:264:13: note: valid subscripts for ‘"r"’ are ‘[0]’ to ‘[1]’
# └─────────────────────────────────────────┘
# ^ ^
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:39: 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
# 262|
# 263| /* c must not be duplicated */
# 264|-> if (strchr(mode+i+1, c)) {
# 265| invalid_mode:
# 266| PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode);
Error: COMPILER_WARNING: [#def131]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c: scope_hint: In function ‘PyInit__io’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/_iomodule.c:743:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_iomodule.gcda’ profile count data file not found
# 741| {
# 742| return PyModuleDef_Init(&_PyIO_Module);
# 743|-> }
Error: COMPILER_WARNING: [#def132]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/bufferedio.c: scope_hint: In function ‘_io_BufferedRandom___init__’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/bufferedio.c:2753:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bufferedio.gcda’ profile count data file not found
# 2751| Py_TPFLAGS_IMMUTABLETYPE),
# 2752| .slots = bufferedrandom_slots,
# 2753|-> };
Error: COMPILER_WARNING: [#def133]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/bytesio.c: scope_hint: In function ‘bytesiobuf_dealloc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/bytesio.c:1132:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bytesio.gcda’ profile count data file not found
# 1130| Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_DISALLOW_INSTANTIATION),
# 1131| .slots = bytesiobuf_slots,
# 1132|-> };
Error: COMPILER_WARNING: [#def134]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/fileio.c: scope_hint: In function ‘get_mode’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/fileio.c:1242:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/fileio.gcda’ profile count data file not found
# 1240| Py_TPFLAGS_IMMUTABLETYPE),
# 1241| .slots = fileio_slots,
# 1242|-> };
Error: COMPILER_WARNING: [#def135]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/iobase.c: scope_hint: In function ‘rawiobase_write’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/iobase.c:1041:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/iobase.gcda’ profile count data file not found
# 1039| Py_TPFLAGS_IMMUTABLETYPE),
# 1040| .slots = rawiobase_slots,
# 1041|-> };
Error: COMPILER_WARNING: [#def136]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/stringio.c: scope_hint: In function ‘_io_StringIO_newlines_get_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/stringio.c:1078:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/stringio.gcda’ profile count data file not found
# 1076| Py_TPFLAGS_IMMUTABLETYPE),
# 1077| .slots = stringio_slots,
# 1078|-> };
Error: COMPILER_WARNING: [#def137]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/textio.c: scope_hint: In function ‘_io_TextIOWrapper__CHUNK_SIZE_set_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_io/textio.c:3400:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/textio.gcda’ profile count data file not found
# 3398| Py_TPFLAGS_IMMUTABLETYPE),
# 3399| .slots = textiowrapper_slots,
# 3400|-> };
Error: COMPILER_WARNING: [#def138]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_json.c: scope_hint: In function ‘PyInit__json’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_json.c:1855:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_json.gcda’ profile count data file not found
# 1853| {
# 1854| return PyModuleDef_Init(&jsonmodule);
# 1855|-> }
Error: COMPILER_WARNING: [#def139]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_localemodule.c: scope_hint: In function ‘PyInit__locale’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_localemodule.c:905:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_localemodule.gcda’ profile count data file not found
# 903| {
# 904| return PyModuleDef_Init(&_localemodule);
# 905|-> }
# 906|
# 907| /*
Error: COMPILER_WARNING: [#def140]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_lsprof.c: scope_hint: In function ‘PyInit__lsprof’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_lsprof.c:1030:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_lsprof.gcda’ profile count data file not found
# 1028| {
# 1029| return PyModuleDef_Init(&_lsprofmodule);
# 1030|-> }
Error: COMPILER_WARNING: [#def141]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_lzmamodule.c: scope_hint: In function ‘PyInit__lzma’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_lzmamodule.c:1654:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_lzmamodule.gcda’ profile count data file not found
# 1652| {
# 1653| return PyModuleDef_Init(&_lzmamodule);
# 1654|-> }
Error: COMPILER_WARNING: [#def142]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_multiprocessing/multiprocessing.c: scope_hint: In function ‘PyInit__multiprocessing’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_multiprocessing/multiprocessing.c:296:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/multiprocessing.gcda’ profile count data file not found
# 294| {
# 295| return PyModuleDef_Init(&multiprocessing_module);
# 296|-> }
Error: COMPILER_WARNING: [#def143]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_multiprocessing/posixshmem.c: scope_hint: In function ‘PyInit__posixshmem’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_multiprocessing/posixshmem.c:150:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/posixshmem.gcda’ profile count data file not found
# 148| {
# 149| return PyModuleDef_Init(&_posixshmemmodule);
# 150|-> }
Error: COMPILER_WARNING: [#def144]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_multiprocessing/semaphore.c: scope_hint: In function ‘_PyMp_sem_unlink’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_multiprocessing/semaphore.c:799:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/semaphore.gcda’ profile count data file not found
# 797|
# 798| Py_RETURN_NONE;
# 799|-> }
# 800|
# 801| #endif // HAVE_MP_SEMAPHORE
Error: COMPILER_WARNING: [#def145]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_opcode.c: scope_hint: In function ‘PyInit__opcode’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_opcode.c:427:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_opcode.gcda’ profile count data file not found
# 425| {
# 426| return PyModuleDef_Init(&opcodemodule);
# 427|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_operator.c: scope_hint: In function ‘_tscmp’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_operator.c:773:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 771|
# 772| for (i=0; i < length; i++) {
# 773|-> result |= *left++ ^ *right++;
# 774| }
# 775|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_operator.c: scope_hint: In function ‘_tscmp’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_operator.c:773:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘left’
# 771|
# 772| for (i=0; i < length; i++) {
# 773|-> result |= *left++ ^ *right++;
# 774| }
# 775|
Error: COMPILER_WARNING: [#def148]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_operator.c: scope_hint: In function ‘PyInit__operator’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_operator.c:1980:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_operator.gcda’ profile count data file not found
# 1978| {
# 1979| return PyModuleDef_Init(&operatormodule);
# 1980|-> }
Error: COMPILER_WARNING: [#def149]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_pickle.c: scope_hint: In function ‘PyInit__pickle’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_pickle.c:7887:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_pickle.gcda’ profile count data file not found
# 7885| {
# 7886| return PyModuleDef_Init(&_picklemodule);
# 7887|-> }
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(c2pwrite, 1)’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:727:9: note: in expansion of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:693:5: note: in expansion of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:727:9: note: in expansion of macro ‘POSIX_CALL’
# 74| #endif
# 75|
# 76|-> #define POSIX_CALL(call) do { if ((call) == -1) goto error; } while (0)
# 77|
# 78| static struct PyModuleDef _posixsubprocessmodule;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def151]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(errwrite, 2)’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:734:9: note: in expansion of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:693:5: note: in expansion of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:734:9: note: in expansion of macro ‘POSIX_CALL’
# 74| #endif
# 75|
# 76|-> #define POSIX_CALL(call) do { if ((call) == -1) goto error; } while (0)
# 77|
# 78| static struct PyModuleDef _posixsubprocessmodule;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c: scope_hint: In function ‘child_exec’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p2cread, 0)’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:720:9: note: in expansion of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:39: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:84: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:6: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:8: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:212:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:693:5: note: in expansion of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:720:9: note: in expansion of macro ‘POSIX_CALL’
# 74| #endif
# 75|
# 76|-> #define POSIX_CALL(call) do { if ((call) == -1) goto error; } while (0)
# 77|
# 78| static struct PyModuleDef _posixsubprocessmodule;
Error: CLANG_WARNING: [#def153]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:909: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
# 907| */
# 908| vfork_tstate_save = PyEval_SaveThread();
# 909|-> pid = vfork();
# 910| if (pid != 0) {
# 911| // Not in the child process, reacquire the GIL.
Error: CLANG_WARNING: [#def154]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:941:9: warning[unix.Vfork]: This function call is prohibited after a successful vfork
# 939| * back into Python. The user asked us to use hope as a strategy
# 940| * to avoid deadlock... */
# 941|-> PyOS_AfterFork_Child();
# 942| }
# 943|
Error: CLANG_WARNING: [#def155]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:944:5: warning[unix.Vfork]: This function call is prohibited after a successful vfork
# 942| }
# 943|
# 944|-> child_exec(exec_array, argv, envp, cwd,
# 945| p2cread, p2cwrite, c2pread, c2pwrite,
# 946| errread, errwrite, errpipe_read, errpipe_write,
Error: COMPILER_WARNING: [#def156]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c: scope_hint: In function ‘PyInit__posixsubprocess’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_posixsubprocess.c:1337:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_posixsubprocess.gcda’ profile count data file not found
# 1335| {
# 1336| return PyModuleDef_Init(&_posixsubprocessmodule);
# 1337|-> }
Error: COMPILER_WARNING: [#def157]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_queuemodule.c: scope_hint: In function ‘PyInit__queue’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_queuemodule.c:618:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_queuemodule.gcda’ profile count data file not found
# 616| {
# 617| return PyModuleDef_Init(&queuemodule);
# 618|-> }
Error: COMPILER_WARNING: [#def158]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_randommodule.c: scope_hint: In function ‘PyInit__random’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_randommodule.c:686:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_randommodule.gcda’ profile count data file not found
# 684| {
# 685| return PyModuleDef_Init(&_randommodule);
# 686|-> }
Error: COMPILER_WARNING: [#def159]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/blob.c: scope_hint: In function ‘pysqlite_blob_setup_types’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/blob.c:615:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/blob.gcda’ profile count data file not found
# 613| state->BlobType = (PyTypeObject *)type;
# 614| return 0;
# 615|-> }
Error: CLANG_WARNING: [#def160]
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def161]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/connection.c:1103:5: warning[core.NullDereference]: Access to field 'callable' results in a dereference of a null pointer (loaded from variable 'ctx')
# 1101| {
# 1102| assert(ctx != NULL);
# 1103|-> Py_XDECREF(ctx->callable);
# 1104| Py_XDECREF(ctx->module);
# 1105| PyMem_Free(ctx);
Error: COMPILER_WARNING: [#def162]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/connection.c: scope_hint: In function ‘pysqlite_connection_setup_types’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/connection.c:2664:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/connection.gcda’ profile count data file not found
# 2662| state->ConnectionType = (PyTypeObject *)type;
# 2663| return 0;
# 2664|-> }
Error: COMPILER_WARNING: [#def163]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/cursor.c: scope_hint: In function ‘pysqlite_cursor_setup_types’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/cursor.c:1362:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/cursor.gcda’ profile count data file not found
# 1360| state->CursorType = (PyTypeObject *)type;
# 1361| return 0;
# 1362|-> }
Error: COMPILER_WARNING: [#def164]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/microprotocols.c: scope_hint: In function ‘pysqlite_microprotocols_adapt’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/microprotocols.c:143:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/microprotocols.gcda’ profile count data file not found
# 141| PyErr_SetString(state->ProgrammingError, "can't adapt");
# 142| return NULL;
# 143|-> }
Error: COMPILER_WARNING: [#def165]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/module.c: scope_hint: In function ‘PyInit__sqlite3’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/module.c:780:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/module.gcda’ profile count data file not found
# 778| {
# 779| return PyModuleDef_Init(&_sqlite3module);
# 780|-> }
Error: COMPILER_WARNING: [#def166]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/prepare_protocol.c: scope_hint: In function ‘pysqlite_prepare_protocol_setup_types’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/prepare_protocol.c:77:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/prepare_protocol.gcda’ profile count data file not found
# 75| state->PrepareProtocolType = (PyTypeObject *)type;
# 76| return 0;
# 77|-> }
Error: COMPILER_WARNING: [#def167]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/row.c: scope_hint: In function ‘pysqlite_row_setup_types’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/row.c:280:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/row.gcda’ profile count data file not found
# 278| state->RowType = (PyTypeObject *)type;
# 279| return 0;
# 280|-> }
Error: COMPILER_WARNING: [#def168]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/statement.c: scope_hint: In function ‘pysqlite_statement_setup_types’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/statement.c:205:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/statement.gcda’ profile count data file not found
# 203| state->StatementType = (PyTypeObject *)type;
# 204| return 0;
# 205|-> }
Error: COMPILER_WARNING: [#def169]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/util.c: scope_hint: In function ‘_pysqlite_long_as_int64’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sqlite/util.c:172:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/util.gcda’ profile count data file not found
# 170| "Python int too large to convert to SQLite INTEGER");
# 171| return -1;
# 172|-> }
Error: COMPILER_WARNING: [#def170]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c: scope_hint: In function ‘PyInit__sre’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c:3297:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/sre.gcda’ profile count data file not found
# 3295| {
# 3296| return PyModuleDef_Init(&sremodule);
# 3297|-> }
# 3298|
# 3299| /* vim:ts=4:sw=4:et
Error: CLANG_WARNING: [#def171]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre.c:275: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sre/sre_lib.h:1836:41: warning[deadcode.DeadStores]: Although the value stored to 'ptr' is used in the enclosing expression, the value is never actually read from 'ptr'
# 1834| pattern[1] == SRE_AT_BEGINNING_STRING))
# 1835| {
# 1836|-> state->start = state->ptr = ptr = end;
# 1837| return 0;
# 1838| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ssl.c: scope_hint: In function ‘newPySSLSocket’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ssl.c:869:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘inbio’
# 867| * To prevent a double free in memory_bio_dealloc() we need to take an
# 868| * extra reference here. */
# 869|-> BIO_up_ref(inbio->bio);
# 870| BIO_up_ref(outbio->bio);
# 871| SSL_set_bio(self->ssl, inbio->bio, outbio->bio);
Error: CLANG_WARNING: [#def173]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ssl.c:869:20: warning[core.NullDereference]: Access to field 'bio' results in a dereference of a null pointer (loaded from variable 'inbio')
# 867| * To prevent a double free in memory_bio_dealloc() we need to take an
# 868| * extra reference here. */
# 869|-> BIO_up_ref(inbio->bio);
# 870| BIO_up_ref(outbio->bio);
# 871| SSL_set_bio(self->ssl, inbio->bio, outbio->bio);
Error: CLANG_WARNING: [#def174]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ssl.c:2847:10: warning[deadcode.DeadStores]: Although the value stored to 'session' is used in the enclosing expression, the value is never actually read from 'session'
# 2845| Py_RETURN_NONE;
# 2846| }
# 2847|-> if ((session = _ssl_session_dup(session)) == NULL) {
# 2848| return NULL;
# 2849| }
Error: GCC_ANALYZER_WARNING (CWE-465): [#def175]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ssl.c: scope_hint: In function ‘PySSLSession_richcompare’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ssl.c:5262:8: warning[-Wanalyzer-deref-before-check]: check of ‘left’ for NULL after already dereferencing it
# 5260| PyTypeObject *sesstype = ((PySSLSession*)left)->ctx->state->PySSLSession_Type;
# 5261|
# 5262|-> if (left == NULL || right == NULL) {
# 5263| PyErr_BadInternalCall();
# 5264| return NULL;
Error: COMPILER_WARNING: [#def176]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ssl.c: scope_hint: In function ‘PyInit__ssl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_ssl.c:6597:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_ssl.gcda’ profile count data file not found
# 6595| {
# 6596| return PyModuleDef_Init(&_sslmodule_def);
# 6597|-> }
Error: COMPILER_WARNING: [#def177]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_stat.c: scope_hint: In function ‘PyInit__stat’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_stat.c:701:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_stat.gcda’ profile count data file not found
# 699| {
# 700| return PyModuleDef_Init(&statmodule);
# 701|-> }
Error: COMPILER_WARNING: [#def178]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_statisticsmodule.c: scope_hint: In function ‘PyInit__statistics’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_statisticsmodule.c:159:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_statisticsmodule.gcda’ profile count data file not found
# 157| {
# 158| return PyModuleDef_Init(&statisticsmodule);
# 159|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:1405:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘prepare_s’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘prepare_s’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:60: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/pyctype.h:27:41: note: in expansion of macro ‘Py_CHARMASK’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:1516:13: note: in expansion of macro ‘Py_ISSPACE’
# 1403| Py_ssize_t extra;
# 1404|
# 1405|-> if (e->format == c) {
# 1406| if (e->alignment && size > 0) {
# 1407| extra = (e->alignment - 1) - (size - 1) % (e->alignment);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘Struct_unpack_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:1713:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘Struct_unpack_impl’
# 1711| _structmodulestate *state = get_struct_state_structinst(self);
# 1712| assert(self->s_codes != NULL);
# 1713|-> if (buffer->len != self->s_size) {
# 1714| PyErr_Format(state->StructError,
# 1715| "unpack requires a buffer of %zd bytes",
Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘Struct_unpack_from_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:1765:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘Struct_unpack_from_impl’
# 1763| }
# 1764|
# 1765|-> if ((buffer->len - offset) < self->s_size) {
# 1766| PyErr_Format(state->StructError,
# 1767| "unpack_from requires a buffer of at least %zu bytes for "
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘Struct_iter_unpack’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:1890:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘Struct_iter_unpack’
# 1888| assert(self->s_codes != NULL);
# 1889|
# 1890|-> if (self->s_size == 0) {
# 1891| PyErr_Format(state->StructError,
# 1892| "cannot iteratively unpack with a struct of length 0");
Error: CLANG_WARNING: [#def183]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2026:12: warning[core.NullDereference]: Access to field 's_codes' results in a dereference of a null pointer (loaded from variable 'soself')
# 2024| soself = (PyStructObject *)self;
# 2025| assert(PyStruct_Check(self, state));
# 2026|-> assert(soself->s_codes != NULL);
# 2027| if (nargs != soself->s_len)
# 2028| {
Error: CLANG_WARNING: [#def184]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2027:18: warning[core.NullDereference]: Access to field 's_len' results in a dereference of a null pointer (loaded from variable 'soself')
# 2025| assert(PyStruct_Check(self, state));
# 2026| assert(soself->s_codes != NULL);
# 2027|-> if (nargs != soself->s_len)
# 2028| {
# 2029| PyErr_Format(state->StructError,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘s_pack’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2027:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
# 2025| assert(PyStruct_Check(self, state));
# 2026| assert(soself->s_codes != NULL);
# 2027|-> if (nargs != soself->s_len)
# 2028| {
# 2029| PyErr_Format(state->StructError,
Error: CLANG_WARNING: [#def186]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2071:12: warning[core.NullDereference]: Access to field 's_codes' results in a dereference of a null pointer (loaded from variable 'soself')
# 2069| soself = (PyStructObject *)self;
# 2070| assert(PyStruct_Check(self, state));
# 2071|-> assert(soself->s_codes != NULL);
# 2072| if (nargs != (soself->s_len + 2))
# 2073| {
Error: CLANG_WARNING: [#def187]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2072:19: warning[core.NullDereference]: Access to field 's_len' results in a dereference of a null pointer (loaded from variable 'soself')
# 2070| assert(PyStruct_Check(self, state));
# 2071| assert(soself->s_codes != NULL);
# 2072|-> if (nargs != (soself->s_len + 2))
# 2073| {
# 2074| if (nargs == 0) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘s_pack_into’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2072:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
# 2070| assert(PyStruct_Check(self, state));
# 2071| assert(soself->s_codes != NULL);
# 2072|-> if (nargs != (soself->s_len + 2))
# 2073| {
# 2074| if (nargs == 0) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2313:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s_object’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/clinic/_struct.c.h: scope_hint: In function ‘calcsize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/object.h:332:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘calcsize’
# 2311| /*[clinic end generated code: output=db7d23d09c6932c4 input=96a6a590c7717ecd]*/
# 2312| {
# 2313|-> return s_object->s_size;
# 2314| }
# 2315|
Error: COMPILER_WARNING: [#def190]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c: scope_hint: In function ‘PyInit__struct’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_struct.c:2616:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_struct.gcda’ profile count data file not found
# 2614| {
# 2615| return PyModuleDef_Init(&_structmodule);
# 2616|-> }
Error: COMPILER_WARNING: [#def191]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_suggestions.c: scope_hint: In function ‘PyInit__suggestions’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_suggestions.c:69:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_suggestions.gcda’ profile count data file not found
# 67| PyMODINIT_FUNC PyInit__suggestions(void) {
# 68| return PyModuleDef_Init(&suggestions_module);
# 69|-> }
Error: COMPILER_WARNING: [#def192]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sysconfig.c: scope_hint: In function ‘PyInit__sysconfig’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_sysconfig.c:99:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_sysconfig.gcda’ profile count data file not found
# 97| {
# 98| return PyModuleDef_Init(&sysconfig_module);
# 99|-> }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def193]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c: scope_hint: In function ‘copy_rec’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:489:17: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:488:31: note: in expansion of macro ‘ADJUST_PTR’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 487| for (i=0, p=mem; i<shape[0]; p+=itemsize, sptr+=sstrides[0], i++) {
# 488| char *xsptr = ADJUST_PTR(sptr, ssuboffsets);
# 489|-> memcpy(p, xsptr, itemsize);
# 490| }
# 491| for (i=0, p=mem; i<shape[0]; p+=itemsize, dptr+=dstrides[0], i++) {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def194]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:493:17: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:500:23: note: in expansion of macro ‘ADJUST_PTR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:501:23: note: in expansion of macro ‘ADJUST_PTR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:43:6: note: in expansion of macro ‘HAVE_PTR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:501:23: note: in expansion of macro ‘ADJUST_PTR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:480:40: note: in expansion of macro ‘HAVE_PTR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:492:31: note: in expansion of macro ‘ADJUST_PTR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:492:31: note: in expansion of macro ‘ADJUST_PTR’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
# 491| for (i=0, p=mem; i<shape[0]; p+=itemsize, dptr+=dstrides[0], i++) {
# 492| char *xdptr = ADJUST_PTR(dptr, dsuboffsets);
# 493|-> memcpy(xdptr, p, itemsize);
# 494| }
# 495| }
Error: GCC_ANALYZER_WARNING (CWE-465): [#def195]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c: scope_hint: In function ‘ndarray_ass_subscript’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:1906:8: warning[-Wanalyzer-deref-before-check]: check of ‘self’ for NULL after already dereferencing it
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:1783:13: note: in expansion of macro ‘PyTuple_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c: scope_hint: In function ‘ndarray_ass_subscript’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:1787:20: note: in expansion of macro ‘Py_NewRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:1060:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c: scope_hint: In function ‘ndarray_ass_subscript’
# 1904|
# 1905| nd = (NDArrayObject *)ndarray_subscript(self, key);
# 1906|-> if (nd != NULL) {
# 1907| dest = &nd->head->base;
# 1908| ret = copy_buffer(dest, &src);
Error: COMPILER_WARNING: [#def196]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c: scope_hint: In function ‘PyInit__testbuffer’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testbuffer.c:2912:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testbuffer.gcda’ profile count data file not found
# 2910| }
# 2911| return mod;
# 2912|-> }
Error: GCC_ANALYZER_WARNING (CWE-131): [#def197]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c: scope_hint: In function ‘object_getoptionalattr’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c:8:33: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c:2: included_from: Included from here.
# 6| object_getoptionalattr(PyObject *self, PyObject *args)
# 7| {
# 8|-> PyObject *obj, *attr_name, *value = UNINITIALIZED_PTR;
# 9| if (!PyArg_ParseTuple(args, "OO", &obj, &attr_name)) {
# 10| return NULL;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def198]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c: scope_hint: In function ‘object_getoptionalattrstring’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c:33:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 31| object_getoptionalattrstring(PyObject *self, PyObject *args)
# 32| {
# 33|-> PyObject *obj, *value = UNINITIALIZED_PTR;
# 34| const char *attr_name;
# 35| Py_ssize_t size;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def199]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c: scope_hint: In function ‘mapping_getoptionalitemstring’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c:84:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 82| mapping_getoptionalitemstring(PyObject *self, PyObject *args)
# 83| {
# 84|-> PyObject *obj, *value = UNINITIALIZED_PTR;
# 85| const char *attr_name;
# 86| Py_ssize_t size;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def200]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c: scope_hint: In function ‘mapping_getoptionalitem’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c:110:33: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 108| mapping_getoptionalitem(PyObject *self, PyObject *args)
# 109| {
# 110|-> PyObject *obj, *attr_name, *value = UNINITIALIZED_PTR;
# 111| if (!PyArg_ParseTuple(args, "OO", &obj, &attr_name)) {
# 112| return NULL;
Error: COMPILER_WARNING: [#def201]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c: scope_hint: In function ‘_PyTestCapi_Init_Abstract’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/abstract.c:152:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/abstract.gcda’ profile count data file not found
# 150|
# 151| return 0;
# 152|-> }
Error: COMPILER_WARNING: [#def202]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/buffer.c: scope_hint: In function ‘_PyTestCapi_Init_Buffer’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/buffer.c:104:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/buffer.gcda’ profile count data file not found
# 102|
# 103| return 0;
# 104|-> }
Error: COMPILER_WARNING: [#def203]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/bytes.c: scope_hint: In function ‘_PyTestCapi_Init_Bytes’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/bytes.c:53:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bytes.gcda’ profile count data file not found
# 51|
# 52| return 0;
# 53|-> }
Error: COMPILER_WARNING: [#def204]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/code.c: scope_hint: In function ‘_PyTestCapi_Init_Code’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/code.c:122:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/code.gcda’ profile count data file not found
# 120|
# 121| return 0;
# 122|-> }
Error: COMPILER_WARNING: [#def205]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/codec.c: scope_hint: In function ‘_PyTestCapi_Init_Codec’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/codec.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/codec.gcda’ profile count data file not found
# 15|
# 16| return 0;
# 17|-> }
Error: COMPILER_WARNING: [#def206]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/complex.c: scope_hint: In function ‘_PyTestCapi_Init_Complex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/complex.c:106:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/complex.gcda’ profile count data file not found
# 104|
# 105| return 0;
# 106|-> }
Error: COMPILER_WARNING: [#def207]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/datetime.c: scope_hint: In function ‘PyInit__testcapi_datetime’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/datetime.c:523:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/datetime.gcda’ profile count data file not found
# 521| {
# 522| return PyModuleDef_Init(&_testcapi_datetime_module);
# 523|-> }
Error: GCC_ANALYZER_WARNING (CWE-131): [#def208]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_getitemref’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:20:33: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:2: included_from: Included from here.
# 18| dict_getitemref(PyObject *self, PyObject *args)
# 19| {
# 20|-> PyObject *obj, *attr_name, *value = UNINITIALIZED_PTR;
# 21| if (!PyArg_ParseTuple(args, "OO", &obj, &attr_name)) {
# 22| return NULL;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def209]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_getitemstringref’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:45:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 43| dict_getitemstringref(PyObject *self, PyObject *args)
# 44| {
# 45|-> PyObject *obj, *value = UNINITIALIZED_PTR;
# 46| const char *attr_name;
# 47| Py_ssize_t size;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def210]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_setdefaultref’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:84:43: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 82| dict_setdefaultref(PyObject *self, PyObject *args)
# 83| {
# 84|-> PyObject *obj, *key, *default_value, *result = UNINITIALIZED_PTR;
# 85| if (!PyArg_ParseTuple(args, "OOO", &obj, &key, &default_value)) {
# 86| return NULL;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def211]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_pop’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:116:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:114:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:114:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:115:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:115:5: note: in expansion of macro ‘NULLABLE’
# 114| NULLABLE(dict);
# 115| NULLABLE(key);
# 116|-> PyObject *result = UNINITIALIZED_PTR;
# 117| int res = PyDict_Pop(dict, key, &result);
# 118| if (res < 0) {
Error: GCC_ANALYZER_WARNING (CWE-131): [#def212]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_popstring’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:155:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:154:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:154:5: note: in expansion of macro ‘NULLABLE’
# 153| }
# 154| NULLABLE(dict);
# 155|-> PyObject *result = UNINITIALIZED_PTR;
# 156| int res = PyDict_PopString(dict, key, &result);
# 157| if (res < 0) {
Error: COMPILER_WARNING: [#def213]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c: scope_hint: In function ‘_PyTestCapi_Init_Dict’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/dict.c:219:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/dict.gcda’ profile count data file not found
# 217|
# 218| return 0;
# 219|-> }
Error: COMPILER_WARNING: [#def214]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/docstring.c: scope_hint: In function ‘_PyTestCapi_Init_Docstring’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/docstring.c:207:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/docstring.gcda’ profile count data file not found
# 205| }
# 206| return 0;
# 207|-> }
Error: GCC_ANALYZER_WARNING (CWE-131): [#def215]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c: scope_hint: In function ‘_testcapi_exc_set_object_fetch_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c:126:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c:5: included_from: Included from here.
# 124| /*[clinic end generated code: output=7a5ff5f6d3cf687f input=77ec686f1f95fa38]*/
# 125| {
# 126|-> PyObject *type = UNINITIALIZED_PTR;
# 127| PyObject *value = UNINITIALIZED_PTR;
# 128| PyObject *tb = UNINITIALIZED_PTR;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def216]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c:127:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 125| {
# 126| PyObject *type = UNINITIALIZED_PTR;
# 127|-> PyObject *value = UNINITIALIZED_PTR;
# 128| PyObject *tb = UNINITIALIZED_PTR;
# 129|
Error: GCC_ANALYZER_WARNING (CWE-131): [#def217]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c:128:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 126| PyObject *type = UNINITIALIZED_PTR;
# 127| PyObject *value = UNINITIALIZED_PTR;
# 128|-> PyObject *tb = UNINITIALIZED_PTR;
# 129|
# 130| PyErr_SetObject(exc, obj);
Error: GCC_ANALYZER_WARNING (CWE-131): [#def218]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c: scope_hint: In function ‘_testcapi_set_exc_info_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c:253:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 251| /*[clinic end generated code: output=b55fa35dec31300e input=ea9f19e0f55fe5b3]*/
# 252| {
# 253|-> PyObject *type = UNINITIALIZED_PTR, *value = UNINITIALIZED_PTR, *tb = UNINITIALIZED_PTR;
# 254| PyErr_GetExcInfo(&type, &value, &tb);
# 255|
Error: GCC_ANALYZER_WARNING (CWE-131): [#def219]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c:253:42: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 251| /*[clinic end generated code: output=b55fa35dec31300e input=ea9f19e0f55fe5b3]*/
# 252| {
# 253|-> PyObject *type = UNINITIALIZED_PTR, *value = UNINITIALIZED_PTR, *tb = UNINITIALIZED_PTR;
# 254| PyErr_GetExcInfo(&type, &value, &tb);
# 255|
Error: GCC_ANALYZER_WARNING (CWE-131): [#def220]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c:253:70: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 251| /*[clinic end generated code: output=b55fa35dec31300e input=ea9f19e0f55fe5b3]*/
# 252| {
# 253|-> PyObject *type = UNINITIALIZED_PTR, *value = UNINITIALIZED_PTR, *tb = UNINITIALIZED_PTR;
# 254| PyErr_GetExcInfo(&type, &value, &tb);
# 255|
Error: COMPILER_WARNING: [#def221]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c: scope_hint: In function ‘_PyTestCapi_Init_Exceptions’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/exceptions.c:427:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/exceptions.gcda’ profile count data file not found
# 425|
# 426| return 0;
# 427|-> }
Error: COMPILER_WARNING: [#def222]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/file.c: scope_hint: In function ‘_PyTestCapi_Init_File’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/file.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/file.gcda’ profile count data file not found
# 15|
# 16| return 0;
# 17|-> }
Error: COMPILER_WARNING: [#def223]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/float.c: scope_hint: In function ‘_PyTestCapi_Init_Float’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/float.c:116:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/float.gcda’ profile count data file not found
# 114|
# 115| return 0;
# 116|-> }
Error: CLANG_WARNING: [#def224]
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def225]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/gc.c: scope_hint: In function ‘_PyTestCapi_Init_GC’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/gc.c:343:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/gc.gcda’ profile count data file not found
# 341|
# 342| return 0;
# 343|-> }
Error: COMPILER_WARNING: [#def226]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/getargs.c: scope_hint: In function ‘_PyTestCapi_Init_GetArgs’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/getargs.c:825:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getargs.gcda’ profile count data file not found
# 823|
# 824| return 0;
# 825|-> }
Error: COMPILER_WARNING: [#def227]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/hash.c: scope_hint: In function ‘_PyTestCapi_Init_Hash’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/hash.c:83:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/hash.gcda’ profile count data file not found
# 81| {
# 82| return PyModule_AddFunctions(m, test_methods);
# 83|-> }
Error: COMPILER_WARNING: [#def228]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/heaptype.c: scope_hint: In function ‘_PyTestCapi_Init_Heaptype’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/heaptype.c:1216:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/heaptype.gcda’ profile count data file not found
# 1214|
# 1215| return 0;
# 1216|-> }
Error: COMPILER_WARNING: [#def229]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/immortal.c: scope_hint: In function ‘_PyTestCapi_Init_Immortal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/immortal.c:47:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/immortal.gcda’ profile count data file not found
# 45| }
# 46| return 0;
# 47|-> }
Error: CLANG_WARNING: [#def230]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:22:23: warning[core.NullDereference]: Access to field 'ob_item' results in a dereference of a null pointer
# 20| }
# 21| NULLABLE(obj);
# 22|-> return Py_XNewRef(PyList_GET_ITEM(obj, i));
# 23| }
# 24|
Error: COMPILER_WARNING: [#def231]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c: scope_hint: In function ‘_PyTestCapi_Init_List’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/list.c:81:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/list.gcda’ profile count data file not found
# 79|
# 80| return 0;
# 81|-> }
Error: COMPILER_WARNING: [#def232]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/long.c: scope_hint: In function ‘_PyTestCapi_Init_Long’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/long.c:123:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/long.gcda’ profile count data file not found
# 121| }
# 122| return 0;
# 123|-> }
Error: COMPILER_WARNING: [#def233]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/mem.c: scope_hint: In function ‘_PyTestCapi_Init_Mem’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/mem.c:626:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/mem.gcda’ profile count data file not found
# 624|
# 625| return 0;
# 626|-> }
Error: COMPILER_WARNING: [#def234]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/monitoring.c: scope_hint: In function ‘_PyTestCapi_Init_Monitoring’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/monitoring.c:508:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/monitoring.gcda’ profile count data file not found
# 506| }
# 507| return 0;
# 508|-> }
Error: COMPILER_WARNING: [#def235]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/numbers.c: scope_hint: In function ‘_PyTestCapi_Init_Numbers’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/numbers.c:16:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/numbers.gcda’ profile count data file not found
# 14|
# 15| return 0;
# 16|-> }
Error: COMPILER_WARNING: [#def236]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/object.c: scope_hint: In function ‘_PyTestCapi_Init_Object’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/object.c:145:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/object.gcda’ profile count data file not found
# 143|
# 144| return 0;
# 145|-> }
Error: COMPILER_WARNING: [#def237]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/pyatomic.c: scope_hint: In function ‘_PyTestCapi_Init_PyAtomic’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/pyatomic.c:191:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pyatomic.gcda’ profile count data file not found
# 189| }
# 190| return 0;
# 191|-> }
Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c: scope_hint: In function ‘run_fileexflags’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:71:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:63:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:63:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:64:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:64:5: note: in expansion of macro ‘NULLABLE’
# 69| }
# 70|
# 71|-> fp = fopen(filename, "r");
# 72| if (fp == NULL) {
# 73| PyErr_SetFromErrnoWithFilename(PyExc_OSError, filename);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:71:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:63:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:63:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:64:5: note: in expansion of macro ‘NULLABLE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:64:5: note: in expansion of macro ‘NULLABLE’
# 69| }
# 70|
# 71|-> fp = fopen(filename, "r");
# 72| if (fp == NULL) {
# 73| PyErr_SetFromErrnoWithFilename(PyExc_OSError, filename);
Error: COMPILER_WARNING: [#def240]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c: scope_hint: In function ‘_PyTestCapi_Init_Run’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/run.c:113:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/run.gcda’ profile count data file not found
# 111| }
# 112| return 0;
# 113|-> }
Error: COMPILER_WARNING: [#def241]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/set.c: scope_hint: In function ‘_PyTestCapi_Init_Set’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/set.c:25:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/set.gcda’ profile count data file not found
# 23|
# 24| return 0;
# 25|-> }
Error: COMPILER_WARNING: [#def242]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/structmember.c: scope_hint: In function ‘_PyTestCapi_Init_Structmember’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/structmember.c:216:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/structmember.gcda’ profile count data file not found
# 214|
# 215| return 0;
# 216|-> }
Error: COMPILER_WARNING: [#def243]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/time.c: scope_hint: In function ‘_PyTestCapi_Init_Time’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/time.c:169:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/time.gcda’ profile count data file not found
# 167| }
# 168| return 0;
# 169|-> }
Error: COMPILER_WARNING: [#def244]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/tuple.c: scope_hint: In function ‘_PyTestCapi_Init_Tuple’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/tuple.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/tuple.gcda’ profile count data file not found
# 15|
# 16| return 0;
# 17|-> }
Error: COMPILER_WARNING: [#def245]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/unicode.c: scope_hint: In function ‘_PyTestCapi_Init_Unicode’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/unicode.c:241:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/unicode.gcda’ profile count data file not found
# 239| }
# 240| return 0;
# 241|-> }
Error: COMPILER_WARNING: [#def246]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/vectorcall.c: scope_hint: In function ‘_PyTestCapi_Init_Vectorcall’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/vectorcall.c:405:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/vectorcall.gcda’ profile count data file not found
# 403|
# 404| return 0;
# 405|-> }
Error: COMPILER_WARNING: [#def247]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/watchers.c: scope_hint: In function ‘_PyTestCapi_Init_Watchers’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/watchers.c:712:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/watchers.gcda’ profile count data file not found
# 710|
# 711| return 0;
# 712|-> }
Error: GCC_ANALYZER_WARNING (CWE-131): [#def248]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c: scope_hint: In function ‘test_dict_inner’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:224:7: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:30: included_from: Included from here.
# 222| }
# 223|
# 224|-> k = v = UNINITIALIZED_PTR;
# 225| while (PyDict_Next(dict, &pos, &k, &v)) {
# 226| PyObject *o;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def249]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c: scope_hint: In function ‘test_dict_inner’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:224:11: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:30: included_from: Included from here.
# 222| }
# 223|
# 224|-> k = v = UNINITIALIZED_PTR;
# 225| while (PyDict_Next(dict, &pos, &k, &v)) {
# 226| PyObject *o;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def250]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:241:11: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/parts.h:25: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:77: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:231:13: note: in expansion of macro ‘PyLong_AS_LONG’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:240:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:240:9: note: in expansion of macro ‘Py_DECREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:240:9: note: in expansion of macro ‘Py_DECREF’
# 239| }
# 240| Py_DECREF(o);
# 241|-> k = v = UNINITIALIZED_PTR;
# 242| }
# 243| assert(k == UNINITIALIZED_PTR);
Error: GCC_ANALYZER_WARNING (CWE-131): [#def251]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:241:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapi/parts.h:25: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:77: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:231:13: note: in expansion of macro ‘PyLong_AS_LONG’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:240:9: note: in expansion of macro ‘Py_DECREF’
# 239| }
# 240| Py_DECREF(o);
# 241|-> k = v = UNINITIALIZED_PTR;
# 242| }
# 243| assert(k == UNINITIALIZED_PTR);
Error: GCC_ANALYZER_WARNING (CWE-131): [#def252]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c: scope_hint: In function ‘test_weakref_capi’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:3166:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:3150:25: note: in expansion of macro ‘Py_REFCNT’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/weakrefobject.h:15:32: note: in expansion of macro ‘PyObject_TypeCheck’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/weakrefobject.h:23:10: note: in expansion of macro ‘PyWeakref_CheckRef’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:3160:12: note: in expansion of macro ‘PyWeakref_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/weakrefobject.h:17:9: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:3162:12: note: in expansion of macro ‘PyWeakref_CheckRefExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:3163:12: note: in expansion of macro ‘Py_REFCNT’
# 3164|
# 3165| // test PyWeakref_GetRef(), reference is alive
# 3166|-> PyObject *ref = UNINITIALIZED_PTR;
# 3167| assert(PyWeakref_GetRef(weakref, &ref) == 1);
# 3168| assert(ref == obj);
Error: COMPILER_WARNING: [#def253]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c: scope_hint: In function ‘PyInit__testcapi’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testcapimodule.c:4179:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testcapimodule.gcda’ profile count data file not found
# 4177| PyState_AddModule(m, &_testcapimodule);
# 4178| return m;
# 4179|-> }
Error: GCC_ANALYZER_WARNING (CWE-404): [#def254]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testclinic.c: scope_hint: In function ‘pack_arguments_newref’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testclinic.c:59:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_emscripten_trampoline.h:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_object.h:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testclinic.c:9: included_from: Included from here.
# 57| va_end(vargs);
# 58| return tuple;
# 59|-> }
# 60|
# 61| /* Pack arguments to a tuple.
Error: COMPILER_WARNING: [#def255]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testclinic.c: scope_hint: In function ‘PyInit__testclinic’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testclinic.c:1987:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testclinic.gcda’ profile count data file not found
# 1985| Py_DECREF(m);
# 1986| return NULL;
# 1987|-> }
# 1988|
# 1989| #undef RETURN_PACKED_ARGS
Error: COMPILER_WARNING: [#def256]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testclinic_limited.c: scope_hint: In function ‘PyInit__testclinic_limited’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testclinic_limited.c:153:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testclinic_limited.gcda’ profile count data file not found
# 151| #endif
# 152| return m;
# 153|-> }
Error: COMPILER_WARNING: [#def257]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testexternalinspection.c:1:9: warning: "_GNU_SOURCE" redefined
# 1 | #define _GNU_SOURCE
# | ^~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
# 1|-> #define _GNU_SOURCE
# 2|
# 3| #ifdef __linux__
Error: GCC_ANALYZER_WARNING (CWE-775): [#def258]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testexternalinspection.c: scope_hint: In function ‘find_python_map_start_address’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testexternalinspection.c:240:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&maps_file_path, "r")’
# 238| sprintf(maps_file_path, "/proc/%d/maps", pid);
# 239|
# 240|-> FILE* maps_file = fopen(maps_file_path, "r");
# 241| if (maps_file == NULL) {
# 242| PyErr_SetFromErrno(PyExc_OSError);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testexternalinspection.c:240:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&maps_file_path, "r")’
# 238| sprintf(maps_file_path, "/proc/%d/maps", pid);
# 239|
# 240|-> FILE* maps_file = fopen(maps_file_path, "r");
# 241| if (maps_file == NULL) {
# 242| PyErr_SetFromErrno(PyExc_OSError);
Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testexternalinspection.c: scope_hint: In function ‘get_py_runtime_linux’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testexternalinspection.c:298:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&elf_file, 0)’
# 296| void* file_memory = NULL;
# 297|
# 298|-> int fd = open(elf_file, O_RDONLY);
# 299| if (fd < 0) {
# 300| PyErr_SetFromErrno(PyExc_OSError);
Error: COMPILER_WARNING: [#def261]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testexternalinspection.c: scope_hint: In function ‘PyInit__testexternalinspection’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testexternalinspection.c:642:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testexternalinspection.gcda’ profile count data file not found
# 640| }
# 641| return mod;
# 642|-> }
Error: COMPILER_WARNING: [#def262]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testimportmultiple.c: scope_hint: In function ‘PyInit__testimportmultiple_bar’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testimportmultiple.c:68:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testimportmultiple.gcda’ profile count data file not found
# 66| PyMODINIT_FUNC PyInit__testimportmultiple_bar(void){
# 67| return PyModuleDef_Init(&_barmodule);
# 68|-> }
Error: COMPILER_WARNING: [#def263]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi.c: scope_hint: In function ‘PyInit__testinternalcapi’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi.c:2218:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testinternalcapi.gcda’ profile count data file not found
# 2216| {
# 2217| return PyModuleDef_Init(&_testcapimodule);
# 2218|-> }
Error: COMPILER_WARNING: [#def264]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/pytime.c: scope_hint: In function ‘_PyTestInternalCapi_Init_PyTime’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/pytime.c:261:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pytime.gcda’ profile count data file not found
# 259| }
# 260| return 0;
# 261|-> }
Error: GCC_ANALYZER_WARNING (CWE-131): [#def265]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/set.c: scope_hint: In function ‘set_next_entry’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/set.c:26:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/set.c:2: included_from: Included from here.
# 24| Py_ssize_t pos;
# 25| Py_hash_t hash = (Py_hash_t)UNINITIALIZED_SIZE;
# 26|-> PyObject *set, *item = UNINITIALIZED_PTR;
# 27| if (!PyArg_ParseTuple(args, "On", &set, &pos)) {
# 28| return NULL;
Error: COMPILER_WARNING: [#def266]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/set.c: scope_hint: In function ‘_PyTestInternalCapi_Init_Set’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/set.c:63:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/set.gcda’ profile count data file not found
# 61| }
# 62| return 0;
# 63|-> }
Error: COMPILER_WARNING: [#def267]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/test_critical_sections.c: scope_hint: In function ‘_PyTestInternalCapi_Init_CriticalSection’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/test_critical_sections.c:302:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/test_critical_sections.gcda’ profile count data file not found
# 300| }
# 301| return 0;
# 302|-> }
Error: COMPILER_WARNING: [#def268]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/test_lock.c: scope_hint: In function ‘_PyTestInternalCapi_Init_Lock’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testinternalcapi/test_lock.c:523:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/test_lock.gcda’ profile count data file not found
# 521| }
# 522| return 0;
# 523|-> }
Error: CPPCHECK_WARNING: [#def269]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def270]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi.c: scope_hint: In function ‘PyInit__testlimitedcapi’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi.c:78:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testlimitedcapi.gcda’ profile count data file not found
# 76| }
# 77| return mod;
# 78|-> }
Error: COMPILER_WARNING: [#def271]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/abstract.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Abstract’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/abstract.c:582:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/abstract.gcda’ profile count data file not found
# 580|
# 581| return 0;
# 582|-> }
Error: COMPILER_WARNING: [#def272]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/bytearray.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_ByteArray’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/bytearray.c:123:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bytearray.gcda’ profile count data file not found
# 121|
# 122| return 0;
# 123|-> }
Error: CPPCHECK_WARNING: [#def273]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/bytes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def274]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/bytes.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Bytes’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/bytes.c:255:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bytes.gcda’ profile count data file not found
# 253|
# 254| return 0;
# 255|-> }
Error: COMPILER_WARNING: [#def275]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/complex.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Complex’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/complex.c:79:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/complex.gcda’ profile count data file not found
# 77|
# 78| return 0;
# 79|-> }
Error: GCC_ANALYZER_WARNING (CWE-131): [#def276]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/dict.c: scope_hint: In function ‘dict_next’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/dict.c:200:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/dict.c:2: included_from: Included from here.
# 198| dict_next(PyObject *self, PyObject *args)
# 199| {
# 200|-> PyObject *mapping, *key = UNINITIALIZED_PTR, *value = UNINITIALIZED_PTR;
# 201| Py_ssize_t pos;
# 202| if (!PyArg_ParseTuple(args, "On", &mapping, &pos)) {
Error: GCC_ANALYZER_WARNING (CWE-131): [#def277]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/dict.c:200:51: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 198| dict_next(PyObject *self, PyObject *args)
# 199| {
# 200|-> PyObject *mapping, *key = UNINITIALIZED_PTR, *value = UNINITIALIZED_PTR;
# 201| Py_ssize_t pos;
# 202| if (!PyArg_ParseTuple(args, "On", &mapping, &pos)) {
Error: COMPILER_WARNING: [#def278]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/dict.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Dict’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/dict.c:291:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/dict.gcda’ profile count data file not found
# 289|
# 290| return 0;
# 291|-> }
Error: COMPILER_WARNING: [#def279]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/float.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Float’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/float.c:91:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/float.gcda’ profile count data file not found
# 89|
# 90| return 0;
# 91|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/heaptype_relative.c: scope_hint: In function ‘get_memb_offset’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/heaptype_relative.c:229: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.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/heaptype_relative.c:9: included_from: Included from here.
# 227| {
# 228| PyMemberDef *def = heaptype_with_member_extract_and_check_memb(self);
# 229|-> return PyLong_FromSsize_t(def->offset);
# 230| }
# 231|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def281]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/heaptype_relative.c: scope_hint: In function ‘get_memb_offset’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/heaptype_relative.c:229: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.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/heaptype_relative.c:9: included_from: Included from here.
# 227| {
# 228| PyMemberDef *def = heaptype_with_member_extract_and_check_memb(self);
# 229|-> return PyLong_FromSsize_t(def->offset);
# 230| }
# 231|
Error: COMPILER_WARNING: [#def282]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/heaptype_relative.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_HeaptypeRelative’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/heaptype_relative.c:345:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/heaptype_relative.gcda’ profile count data file not found
# 343|
# 344| return 0;
# 345|-> }
Error: COMPILER_WARNING: [#def283]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/list.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_List’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/list.c:175:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/list.gcda’ profile count data file not found
# 173|
# 174| return 0;
# 175|-> }
Error: CPPCHECK_WARNING: [#def284]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/long.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def285]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/long.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Long’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/long.c:798:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/long.gcda’ profile count data file not found
# 796| }
# 797| return 0;
# 798|-> }
Error: COMPILER_WARNING: [#def286]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/object.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Object’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/object.c:80:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/object.gcda’ profile count data file not found
# 78|
# 79| return 0;
# 80|-> }
Error: COMPILER_WARNING: [#def287]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/pyos.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_PyOS’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/pyos.c:60:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pyos.gcda’ profile count data file not found
# 58|
# 59| return 0;
# 60|-> }
Error: COMPILER_WARNING: [#def288]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/set.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Set’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/set.c:189:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/set.gcda’ profile count data file not found
# 187|
# 188| return 0;
# 189|-> }
Error: COMPILER_WARNING: [#def289]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/sys.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Sys’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/sys.c:56:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/sys.gcda’ profile count data file not found
# 54|
# 55| return 0;
# 56|-> }
Error: CPPCHECK_WARNING: [#def290]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/unicode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def291]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/unicode.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_Unicode’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/unicode.c:1938:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/unicode.gcda’ profile count data file not found
# 1936|
# 1937| return 0;
# 1938|-> }
Error: COMPILER_WARNING: [#def292]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/vectorcall_limited.c: scope_hint: In function ‘_PyTestLimitedCAPI_Init_VectorcallLimited’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testlimitedcapi/vectorcall_limited.c:201:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/vectorcall_limited.gcda’ profile count data file not found
# 199| Py_DECREF(LimitedVectorCallClass);
# 200| return 0;
# 201|-> }
Error: COMPILER_WARNING: [#def293]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testmultiphase.c: scope_hint: In function ‘PyInit__test_shared_gil_only’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testmultiphase.c:971:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testmultiphase.gcda’ profile count data file not found
# 969| {
# 970| return PyModuleDef_Init(&shared_gil_only_def);
# 971|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def294]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testsinglephase.c: scope_hint: In function ‘clear_state’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testsinglephase.c:254:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
# 252| clear_state(module_state *state)
# 253| {
# 254|-> state->initialized = 0;
# 255| Py_CLEAR(state->error);
# 256| Py_CLEAR(state->int_const);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def295]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testsinglephase.c: scope_hint: In function ‘init_state’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testsinglephase.c:294:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
# 292|
# 293| /* Add an exception type */
# 294|-> state->error = PyErr_NewException("_testsinglephase.error", NULL, NULL);
# 295| if (state->error == NULL) {
# 296| goto error;
Error: COMPILER_WARNING: [#def296]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testsinglephase.c: scope_hint: In function ‘PyInit__testsinglephase_with_state_check_cache_first’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_testsinglephase.c:742:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testsinglephase.gcda’ profile count data file not found
# 740| }
# 741| return PyModule_Create(&_testsinglephase_with_state_check_cache_first);
# 742|-> }
Error: COMPILER_WARNING: [#def297]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_threadmodule.c: scope_hint: In function ‘PyInit__thread’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_threadmodule.c:2567:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_threadmodule.gcda’ profile count data file not found
# 2565| {
# 2566| return PyModuleDef_Init(&thread_module);
# 2567|-> }
Error: COMPILER_WARNING: [#def298]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_tkinter.c: scope_hint: In function ‘PyInit__tkinter’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_tkinter.c:3536:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_tkinter.gcda’ profile count data file not found
# 3534|
# 3535| return m;
# 3536|-> }
Error: COMPILER_WARNING: [#def299]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_tracemalloc.c: scope_hint: In function ‘PyInit__tracemalloc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_tracemalloc.c:232:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_tracemalloc.gcda’ profile count data file not found
# 230|
# 231| return m;
# 232|-> }
Error: COMPILER_WARNING: [#def300]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_typingmodule.c: scope_hint: In function ‘PyInit__typing’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_typingmodule.c:98:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_typingmodule.gcda’ profile count data file not found
# 96| {
# 97| return PyModuleDef_Init(&typingmodule);
# 98|-> }
Error: COMPILER_WARNING: [#def301]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_uuidmodule.c: scope_hint: In function ‘PyInit__uuid’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_uuidmodule.c:130:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_uuidmodule.gcda’ profile count data file not found
# 128| {
# 129| return PyModuleDef_Init(&uuidmodule);
# 130|-> }
Error: COMPILER_WARNING: [#def302]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_weakref.c: scope_hint: In function ‘PyInit__weakref’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_weakref.c:194:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_weakref.gcda’ profile count data file not found
# 192| {
# 193| return PyModuleDef_Init(&weakrefmodule);
# 194|-> }
Error: COMPILER_WARNING: [#def303]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_xxtestfuzz/_xxtestfuzz.c: scope_hint: In function ‘PyInit__xxtestfuzz’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_xxtestfuzz/_xxtestfuzz.c:52:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_xxtestfuzz.gcda’ profile count data file not found
# 50| {
# 51| return PyModuleDef_Init(&_fuzzmodule);
# 52|-> }
Error: COMPILER_WARNING: [#def304]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_xxtestfuzz/fuzzer.c: scope_hint: In function ‘LLVMFuzzerTestOneInput’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_xxtestfuzz/fuzzer.c:714:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/fuzzer.gcda’ profile count data file not found
# 712| #endif
# 713| return rv;
# 714|-> }
Error: COMPILER_WARNING: [#def305]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_zoneinfo.c: scope_hint: In function ‘PyInit__zoneinfo’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/_zoneinfo.c:2783:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_zoneinfo.gcda’ profile count data file not found
# 2781| {
# 2782| return PyModuleDef_Init(&zoneinfomodule);
# 2783|-> }
Error: CLANG_WARNING: [#def306]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:276:5: warning[deadcode.DeadStores]: Value stored to 'len' is never read
# 274|
# 275| wchar_t w;
# 276|-> len = PyUnicode_AsWideChar(u, &w, 1);
# 277| assert(len == 1);
# 278|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def307]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c: scope_hint: In function ‘array_slice’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:865:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 863| return NULL;
# 864| if (ihigh > ilow) {
# 865|-> memcpy(np->ob_item, a->ob_item + ilow * a->ob_descr->itemsize,
# 866| (ihigh-ilow) * a->ob_descr->itemsize);
# 867| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def308]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c: scope_hint: In function ‘array_concat’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:942:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:10: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:128:32: note: in expansion of macro ‘PyObject_TypeCheck’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:922:10: note: in expansion of macro ‘array_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c: scope_hint: In function ‘array_concat’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:933:9: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c: scope_hint: In function ‘array_concat’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:941:9: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c: scope_hint: In function ‘array_concat’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 940| }
# 941| if (Py_SIZE(a) > 0) {
# 942|-> memcpy(np->ob_item, a->ob_item, Py_SIZE(a)*a->ob_descr->itemsize);
# 943| }
# 944| if (Py_SIZE(b) > 0) {
Error: CLANG_WARNING: [#def309]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:942:9: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 940| }
# 941| if (Py_SIZE(a) > 0) {
# 942|-> memcpy(np->ob_item, a->ob_item, Py_SIZE(a)*a->ob_descr->itemsize);
# 943| }
# 944| if (Py_SIZE(b) > 0) {
Error: CLANG_WARNING: [#def310]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:945:9: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 943| }
# 944| if (Py_SIZE(b) > 0) {
# 945|-> memcpy(np->ob_item + Py_SIZE(a)*a->ob_descr->itemsize,
# 946| b->ob_item, Py_SIZE(b)*b->ob_descr->itemsize);
# 947| }
Error: CLANG_WARNING: [#def311]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:2572:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 2570| needed - slicelength) < 0)
# 2571| return -1;
# 2572|-> memmove(self->ob_item + (start + needed) * itemsize,
# 2573| self->ob_item + stop * itemsize,
# 2574| (Py_SIZE(self) - start - needed) * itemsize);
Error: CLANG_WARNING: [#def312]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:2577:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 2575| }
# 2576| if (needed > 0)
# 2577|-> memcpy(self->ob_item + start * itemsize,
# 2578| other->ob_item, needed * itemsize);
# 2579| return 0;
Error: COMPILER_WARNING: [#def313]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c: scope_hint: In function ‘PyInit_array’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/arraymodule.c:3245:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/arraymodule.gcda’ profile count data file not found
# 3243| {
# 3244| return PyModuleDef_Init(&arraymodule);
# 3245|-> }
Error: COMPILER_WARNING: [#def314]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/atexitmodule.c: scope_hint: In function ‘PyInit_atexit’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/atexitmodule.c:342:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/atexitmodule.gcda’ profile count data file not found
# 340| {
# 341| return PyModuleDef_Init(&atexitmodule);
# 342|-> }
Error: COMPILER_WARNING: [#def315]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/binascii.c: scope_hint: In function ‘PyInit_binascii’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/binascii.c:1332:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/binascii.gcda’ profile count data file not found
# 1330| {
# 1331| return PyModuleDef_Init(&binasciimodule);
# 1332|-> }
Error: COMPILER_WARNING: [#def316]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/cjkcodecs/_codecs_iso2022.c:34: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/cjkcodecs/_codecs_iso2022.c: scope_hint: In function ‘PyInit__codecs_iso2022’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/cjkcodecs/cjkcodecs.h:511:19: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_codecs_iso2022.gcda’ profile count data file not found
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/cjkcodecs/_codecs_iso2022.c:1150:1: note: in expansion of macro ‘I_AM_A_MODULE_FOR’
# 509|
# 510| #define I_AM_A_MODULE_FOR(loc) \
# 511|-> static struct PyModuleDef _cjk_module = { \
# 512| PyModuleDef_HEAD_INIT, \
# 513| .m_name = "_codecs_"#loc, \
Error: COMPILER_WARNING: [#def317]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/cjkcodecs/multibytecodec.c: scope_hint: In function ‘PyInit__multibytecodec’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/cjkcodecs/multibytecodec.c:2116:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/multibytecodec.gcda’ profile count data file not found
# 2114| {
# 2115| return PyModuleDef_Init(&_multibytecodecmodule);
# 2116|-> }
Error: COMPILER_WARNING: [#def318]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/cmathmodule.c: scope_hint: In function ‘PyInit_cmath’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/cmathmodule.c:1383:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/cmathmodule.gcda’ profile count data file not found
# 1381| {
# 1382| return PyModuleDef_Init(&cmathmodule);
# 1383|-> }
Error: COMPILER_WARNING: [#def319]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/errnomodule.c: scope_hint: In function ‘PyInit_errno’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/errnomodule.c:985:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/errnomodule.gcda’ profile count data file not found
# 983| {
# 984| return PyModuleDef_Init(&errnomodule);
# 985|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_read_null’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:996:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 994| faulthandler_suppress_crash_report();
# 995| x = NULL;
# 996|-> y = *x;
# 997| return PyLong_FromLong(y);
# 998|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def321]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_read_null’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:996:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
# 994| faulthandler_suppress_crash_report();
# 995| x = NULL;
# 996|-> y = *x;
# 997| return PyLong_FromLong(y);
# 998|
Error: CLANG_WARNING: [#def322]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:996:9: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'x')
# 994| faulthandler_suppress_crash_report();
# 995| x = NULL;
# 996|-> y = *x;
# 997| return PyLong_FromLong(y);
# 998|
Error: CLANG_WARNING: [#def323]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:1085:11: warning[core.DivideZero]: Division by zero
# 1083| PowerPC. Use volatile to disable compile-time optimizations. */
# 1084| volatile int x = 1, y = 0, z;
# 1085|-> z = x / y;
# 1086|
# 1087| /* If the division by zero didn't raise a SIGFPE (e.g. on PowerPC),
Error: CLANG_WARNING: [#def324]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:1118:9: warning[core.StackAddressEscape]: Address of stack memory associated with local variable 'buffer' returned to caller
# 1116| *depth += 1;
# 1117| if (sp < min_sp || max_sp < sp)
# 1118|-> return sp;
# 1119| buffer[0] = 1;
# 1120| buffer[4095] = 0;
Error: GCC_ANALYZER_WARNING (CWE-825): [#def325]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c: scope_hint: In function ‘stack_overflow’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:1121:12: warning[-Wanalyzer-use-of-pointer-in-stale-stack-frame]: dereferencing pointer ‘stack_overflow(min_sp, max_sp, depth)’ to within stale stack frame
# 1119| buffer[0] = 1;
# 1120| buffer[4095] = 0;
# 1121|-> return stack_overflow(min_sp, max_sp, depth);
# 1122| }
# 1123|
Error: GCC_ANALYZER_WARNING (CWE-825): [#def326]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_stack_overflow’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:1148:12: warning[-Wanalyzer-use-of-pointer-in-stale-stack-frame]: dereferencing pointer ‘stack_overflow(lower_limit, upper_limit, & depth)’ to within stale stack frame
# 1146| }
# 1147|
# 1148|-> stop = stack_overflow(lower_limit, upper_limit, &depth);
# 1149| if (sp < stop)
# 1150| size = stop - sp;
Error: GCC_ANALYZER_WARNING (CWE-825): [#def327]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_stack_overflow’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:1149:8: warning[-Wanalyzer-use-of-pointer-in-stale-stack-frame]: dereferencing pointer ‘stack_overflow(lower_limit, upper_limit, & depth)’ to within stale stack frame
# 1147|
# 1148| stop = stack_overflow(lower_limit, upper_limit, &depth);
# 1149|-> if (sp < stop)
# 1150| size = stop - sp;
# 1151| else
Error: COMPILER_WARNING: [#def328]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c: scope_hint: In function ‘_PyFaulthandler_Fini’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/faulthandler.c:1413:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/faulthandler.gcda’ profile count data file not found
# 1411| }
# 1412| #endif
# 1413|-> }
Error: CPPCHECK_WARNING: [#def329]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/fcntlmodule.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def330]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/fcntlmodule.c: scope_hint: In function ‘PyInit_fcntl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/fcntlmodule.c:765:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/fcntlmodule.gcda’ profile count data file not found
# 763| {
# 764| return PyModuleDef_Init(&fcntlmodule);
# 765|-> }
Error: COMPILER_WARNING: [#def331]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/gcmodule.c: scope_hint: In function ‘PyInit_gc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/gcmodule.c:555:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/gcmodule.gcda’ profile count data file not found
# 553| {
# 554| return PyModuleDef_Init(&gcmodule);
# 555|-> }
Error: COMPILER_WARNING: [#def332]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/getbuildinfo.c: scope_hint: In function ‘_Py_gitidentifier’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/getbuildinfo.c:79:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getbuildinfo.gcda’ profile count data file not found
# 77| gitid = GITBRANCH;
# 78| return gitid;
# 79|-> }
Error: CLANG_WARNING: [#def333]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/getpath.c:394:14: warning[deadcode.DeadStores]: Value stored to 'p2' during its initialization is never read
# 392|
# 393| wchar_t *p1 = wbuffer;
# 394|-> wchar_t *p2 = p1;
# 395| while ((p2 = wcschr(p1, L'\n')) != NULL) {
# 396| Py_ssize_t cb = p2 - p1;
Error: COMPILER_WARNING: [#def334]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/getpath.c: scope_hint: In function ‘_PyConfig_InitPathConfig’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/getpath.c:984:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getpath.gcda’ profile count data file not found
# 982|
# 983| return _PyStatus_OK();
# 984|-> }
Error: COMPILER_WARNING: [#def335]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/getpath_noop.c: scope_hint: In function ‘_PyConfig_InitPathConfig’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/getpath_noop.c:10:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getpath_noop.gcda’ profile count data file not found
# 8| {
# 9| return PyStatus_Error("path configuration is unsupported");
# 10|-> }
Error: CPPCHECK_WARNING: [#def336]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/grpmodule.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def337]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/grpmodule.c: scope_hint: In function ‘PyInit_grp’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/grpmodule.c:379:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/grpmodule.gcda’ profile count data file not found
# 377| {
# 378| return PyModuleDef_Init(&grpmodule);
# 379|-> }
Error: COMPILER_WARNING: [#def338]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/itertoolsmodule.c: scope_hint: In function ‘PyInit_itertools’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/itertoolsmodule.c:4832:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/itertoolsmodule.gcda’ profile count data file not found
# 4830| {
# 4831| return PyModuleDef_Init(&itertoolsmodule);
# 4832|-> }
Error: COMPILER_WARNING: [#def339]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/main.c: scope_hint: In function ‘Py_BytesMain’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/main.c:774:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/main.gcda’ profile count data file not found
# 772| .wchar_argv = NULL};
# 773| return pymain_main(&args);
# 774|-> }
Error: CLANG_WARNING: [#def340]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/mathmodule.c:2978:5: warning[deadcode.DeadStores]: Value stored to 'r' is never read
# 2976| /* deal directly with IEEE specials, to cope with problems on various
# 2977| platforms whose semantics don't exactly match C99 */
# 2978|-> r = 0.; /* silence compiler warning */
# 2979| if (!Py_IS_FINITE(x) || !Py_IS_FINITE(y)) {
# 2980| errno = 0;
Error: COMPILER_WARNING: [#def341]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/mathmodule.c: scope_hint: In function ‘PyInit_math’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/mathmodule.c:4203:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/mathmodule.gcda’ profile count data file not found
# 4201| {
# 4202| return PyModuleDef_Init(&mathmodule);
# 4203|-> }
Error: COMPILER_WARNING: [#def342]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/md5module.c: scope_hint: In function ‘PyInit__md5’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/md5module.c:398:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/md5module.gcda’ profile count data file not found
# 396| {
# 397| return PyModuleDef_Init(&_md5module);
# 398|-> }
Error: COMPILER_WARNING: [#def343]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/mmapmodule.c: scope_hint: In function ‘PyInit_mmap’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/mmapmodule.c:2099:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/mmapmodule.gcda’ profile count data file not found
# 2097| {
# 2098| return PyModuleDef_Init(&mmapmodule);
# 2099|-> }
Error: CLANG_WARNING: [#def344]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:4302:22: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 4300| if (HAVE_LINKAT_RUNTIME) {
# 4301|
# 4302|-> result = linkat(src_dir_fd, src->narrow,
# 4303| dst_dir_fd, dst->narrow,
# 4304| follow_symlinks ? AT_SYMLINK_FOLLOW : 0);
Error: CLANG_WARNING: [#def345]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:4302:22: warning[core.NonNullParamChecker]: Null pointer passed to 4th parameter expecting 'nonnull'
# 4300| if (HAVE_LINKAT_RUNTIME) {
# 4301|
# 4302|-> result = linkat(src_dir_fd, src->narrow,
# 4303| dst_dir_fd, dst->narrow,
# 4304| follow_symlinks ? AT_SYMLINK_FOLLOW : 0);
Error: CLANG_WARNING: [#def346]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:4320:18: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 4318| else
# 4319| #endif /* HAVE_LINKAT */
# 4320|-> result = link(src->narrow, dst->narrow);
# 4321| Py_END_ALLOW_THREADS
# 4322|
Error: CLANG_WARNING: [#def347]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:4320:18: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 4318| else
# 4319| #endif /* HAVE_LINKAT */
# 4320|-> result = link(src->narrow, dst->narrow);
# 4321| Py_END_ALLOW_THREADS
# 4322|
Error: CLANG_WARNING: [#def348]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:7450:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 7448| }
# 7449| if (envlist && envlist != environ) {
# 7450|-> free_string_array(envlist, envc);
# 7451| }
# 7452| if (argvlist) {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def349]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_readlink_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10226:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:15865: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:44: included_from: Included from here.
/usr/include/unistd.h:838:16: note: argument 1 of ‘readlink’ must be non-null
#10224| } else
#10225| #endif
#10226|-> length = readlink(path->narrow, buffer, MAXPATHLEN);
#10227| Py_END_ALLOW_THREADS
#10228|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def350]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_symlink_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10499:22: warning[-Wanalyzer-null-argument]: use of NULL ‘dst.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1278:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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
#10497| if (dir_fd != DEFAULT_DIR_FD) {
#10498| if (HAVE_SYMLINKAT_RUNTIME) {
#10499|-> result = symlinkat(src->narrow, dir_fd, dst->narrow);
#10500| } else {
#10501| symlinkat_unavailable = 1;
Error: CLANG_WARNING: [#def351]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10499:22: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#10497| if (dir_fd != DEFAULT_DIR_FD) {
#10498| if (HAVE_SYMLINKAT_RUNTIME) {
#10499|-> result = symlinkat(src->narrow, dir_fd, dst->narrow);
#10500| } else {
#10501| symlinkat_unavailable = 1;
Error: CLANG_WARNING: [#def352]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10499:22: warning[core.NonNullParamChecker]: Null pointer passed to 3rd parameter expecting 'nonnull'
#10497| if (dir_fd != DEFAULT_DIR_FD) {
#10498| if (HAVE_SYMLINKAT_RUNTIME) {
#10499|-> result = symlinkat(src->narrow, dir_fd, dst->narrow);
#10500| } else {
#10501| symlinkat_unavailable = 1;
Error: GCC_ANALYZER_WARNING (CWE-688): [#def353]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10505:18: warning[-Wanalyzer-null-argument]: use of NULL ‘dst.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1278:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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
#10503| } else
#10504| #endif
#10505|-> result = symlink(src->narrow, dst->narrow);
#10506| Py_END_ALLOW_THREADS
#10507|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def354]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10505:18: warning[-Wanalyzer-null-argument]: use of NULL ‘src.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:120: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10495: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
#10503| } else
#10504| #endif
#10505|-> result = symlink(src->narrow, dst->narrow);
#10506| Py_END_ALLOW_THREADS
#10507|
Error: CLANG_WARNING: [#def355]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10505:18: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#10503| } else
#10504| #endif
#10505|-> result = symlink(src->narrow, dst->narrow);
#10506| Py_END_ALLOW_THREADS
#10507|
Error: CLANG_WARNING: [#def356]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10505:18: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#10503| } else
#10504| #endif
#10505|-> result = symlink(src->narrow, dst->narrow);
#10506| Py_END_ALLOW_THREADS
#10507|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def357]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_open_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:11040:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
/usr/include/features.h:511: included_from: Included from here.
/usr/include/assert.h:35: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
/usr/include/fcntl.h:212:12: note: argument 1 of ‘open’ must be non-null
#11038| } else
#11039| #endif /* HAVE_OPENAT */
#11040|-> fd = open(path->narrow, flags, mode);
#11041| #endif /* !MS_WINDOWS */
#11042| Py_END_ALLOW_THREADS
Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_dup2_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:11220:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘res’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:11211:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
#11218|
#11219| if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) {
#11220|-> close(fd2);
#11221| return -1;
#11222| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def359]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_mkfifo_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:12459:22: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/fileutils.h:9: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:131: included_from: Included from here.
/usr/include/sys/stat.h:418:12: note: argument 1 of ‘mkfifo’ must be non-null
#12457| } else
#12458| #endif
#12459|-> result = mkfifo(path->narrow, mode);
#12460| Py_END_ALLOW_THREADS
#12461| } while (result != 0 && errno == EINTR &&
Error: GCC_ANALYZER_WARNING (CWE-688): [#def360]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_mknod_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:12520:26: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:15865: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_call.h: scope_hint: In function ‘os_mknod_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/abstract.h:904: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:125: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:10: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_call.h:165:28: note: in expansion of macro ‘PyVectorcall_NARGS’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_mknod_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_mknod_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/unicodeobject.h:107:5: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1306:18: note: in expansion of macro ‘PyUnicode_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_mknod_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/fileutils.h:9: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:131: included_from: Included from here.
/usr/include/sys/stat.h:411:12: note: argument 2 of ‘mknodat’ must be non-null
#12518| if (dir_fd != DEFAULT_DIR_FD) {
#12519| if (HAVE_MKNODAT_RUNTIME) {
#12520|-> result = mknodat(dir_fd, path->narrow, mode, device);
#12521|
#12522| } else {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def361]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_mknod_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:12528:22: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
/usr/include/sys/stat.h:404:12: note: argument 1 of ‘mknod’ must be non-null
#12526| } else
#12527| #endif
#12528|-> result = mknod(path->narrow, mode, device);
#12529| Py_END_ALLOW_THREADS
#12530| } while (result != 0 && errno == EINTR &&
Error: GCC_ANALYZER_WARNING (CWE-688): [#def362]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_truncate_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:12709:14: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/clinic/posixmodule.c.h: scope_hint: In function ‘os_truncate_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:12696: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
#12707| }
#12708| #else
#12709|-> result = truncate(path->narrow, length);
#12710| #endif
#12711| _Py_END_SUPPRESS_IPH
Error: GCC_ANALYZER_WARNING (CWE-688): [#def363]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_statvfs_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:13398:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
/usr/include/sys/statvfs.h:56:12: note: argument 1 of ‘statvfs’ must be non-null
#13396| else
#13397| #endif
#13398|-> result = statvfs(path->narrow, &st);
#13399| Py_END_ALLOW_THREADS
#13400|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def364]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘os_pathconf_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:13675:17: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1248:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:1249:5: note: in expansion of macro ‘Py_CLEAR’
/usr/include/unistd.h:633:17: note: argument 1 of ‘pathconf’ must be non-null
#13673| else
#13674| #endif
#13675|-> limit = pathconf(path->narrow, name);
#13676| if (limit == -1 && errno != 0) {
#13677| if (errno == EINVAL)
Error: COMPILER_WARNING: [#def365]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c: scope_hint: In function ‘PyInit_posix’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/posixmodule.c:18063:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/posixmodule.gcda’ profile count data file not found
#18061| {
#18062| return PyModuleDef_Init(&posixmodule);
#18063|-> }
Error: CPPCHECK_WARNING: [#def366]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/pwdmodule.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def367]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/pwdmodule.c: scope_hint: In function ‘PyInit_pwd’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/pwdmodule.c:380:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pwdmodule.gcda’ profile count data file not found
# 378| {
# 379| return PyModuleDef_Init(&pwdmodule);
# 380|-> }
Error: COMPILER_WARNING: [#def368]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/pyexpat.c: scope_hint: In function ‘clear_handlers’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/pyexpat.c:2190:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pyexpat.gcda’ profile count data file not found
# 2188|
# 2189| {NULL, NULL, NULL} /* sentinel */
# 2190|-> };
Error: COMPILER_WARNING: [#def369]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/readline.c: scope_hint: In function ‘PyInit_readline’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/readline.c:1594:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/readline.gcda’ profile count data file not found
# 1592| Py_DECREF(m);
# 1593| return NULL;
# 1594|-> }
Error: COMPILER_WARNING: [#def370]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/resource.c: scope_hint: In function ‘PyInit_resource’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/resource.c:552:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/resource.gcda’ profile count data file not found
# 550| {
# 551| return PyModuleDef_Init(&resourcemodule);
# 552|-> }
Error: COMPILER_WARNING: [#def371]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/rotatingtree.c: scope_hint: In function ‘RotatingTree_Enum’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/rotatingtree.c:130:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/rotatingtree.gcda’ profile count data file not found
# 128| }
# 129| return 0;
# 130|-> }
Error: COMPILER_WARNING: [#def372]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/selectmodule.c: scope_hint: In function ‘PyInit_select’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/selectmodule.c:2825:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/selectmodule.gcda’ profile count data file not found
# 2823| {
# 2824| return PyModuleDef_Init(&selectmodule);
# 2825|-> }
Error: COMPILER_WARNING: [#def373]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/sha1module.c: scope_hint: In function ‘PyInit__sha1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/sha1module.c:393:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/sha1module.gcda’ profile count data file not found
# 391| {
# 392| return PyModuleDef_Init(&_sha1module);
# 393|-> }
Error: COMPILER_WARNING: [#def374]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/sha2module.c: scope_hint: In function ‘PyInit__sha2’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/sha2module.c:888:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/sha2module.gcda’ profile count data file not found
# 886| {
# 887| return PyModuleDef_Init(&_sha2module);
# 888|-> }
Error: COMPILER_WARNING: [#def375]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/sha3module.c: scope_hint: In function ‘PyInit__sha3’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/sha3module.c:625:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/sha3module.gcda’ profile count data file not found
# 623| {
# 624| return PyModuleDef_Init(&_sha3module);
# 625|-> }
Error: COMPILER_WARNING: [#def376]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/signalmodule.c: scope_hint: In function ‘_PyOS_IsMainThread’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/signalmodule.c:2049:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def377]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/socketmodule.c:1704:5: warning[deadcode.DeadStores]: Value stored to 'len' is never read
# 1702| }
# 1703| data->obj = NULL;
# 1704|-> len = -1;
# 1705| if (PyBytes_Check(obj)) {
# 1706| data->buf = PyBytes_AsString(obj);
Error: COMPILER_WARNING: [#def378]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/socketmodule.c: scope_hint: In function ‘PyInit__socket’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/socketmodule.c:8945:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/socketmodule.gcda’ profile count data file not found
# 8943| {
# 8944| return PyModuleDef_Init(&socketmodule);
# 8945|-> }
Error: COMPILER_WARNING: [#def379]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/symtablemodule.c: scope_hint: In function ‘PyInit__symtable’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/symtablemodule.c:129:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/symtablemodule.gcda’ profile count data file not found
# 127| {
# 128| return PyModuleDef_Init(&symtablemodule);
# 129|-> }
Error: COMPILER_WARNING: [#def380]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/syslogmodule.c: scope_hint: In function ‘PyInit_syslog’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/syslogmodule.c:460:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/syslogmodule.gcda’ profile count data file not found
# 458| {
# 459| return PyModuleDef_Init(&syslogmodule);
# 460|-> }
Error: CPPCHECK_WARNING: [#def381]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/termios.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def382]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/termios.c: scope_hint: In function ‘PyInit_termios’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/termios.c:1386:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/termios.gcda’ profile count data file not found
# 1384| {
# 1385| return PyModuleDef_Init(&termiosmodule);
# 1386|-> }
Error: COMPILER_WARNING: [#def383]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/timemodule.c: scope_hint: In function ‘pysleep’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/timemodule.c:2344:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/timemodule.gcda’ profile count data file not found
# 2342| return -1;
# 2343| #endif
# 2344|-> }
Error: COMPILER_WARNING: [#def384]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/tkappinit.c: scope_hint: In function ‘Tcl_AppInit’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/tkappinit.c:92:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/tkappinit.gcda’ profile count data file not found
# 90| #endif
# 91| return TCL_OK;
# 92|-> }
Error: GCC_ANALYZER_WARNING (CWE-835): [#def385]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/unicodedata.c: scope_hint: In function ‘_dawg_decode_varint_unsigned’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/unicodedata.c:1043:23: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1041| unsigned int shift = 0;
# 1042| for (;;) {
# 1043|-> unsigned char byte = packed_name_dawg[index];
# 1044| res |= (byte & 0x7f) << shift;
# 1045| index++;
Error: COMPILER_WARNING: [#def386]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/unicodedata.c: scope_hint: In function ‘PyInit_unicodedata’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/unicodedata.c:1688:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/unicodedata.gcda’ profile count data file not found
# 1686| {
# 1687| return PyModuleDef_Init(&unicodedata_module);
# 1688|-> }
# 1689|
# 1690|
Error: COMPILER_WARNING: [#def387]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/xxlimited.c: scope_hint: In function ‘PyInit_xxlimited’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/xxlimited.c:441:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/xxlimited.gcda’ profile count data file not found
# 439| {
# 440| return PyModuleDef_Init(&xxmodule);
# 441|-> }
Error: COMPILER_WARNING: [#def388]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/xxlimited_35.c: scope_hint: In function ‘PyInit_xxlimited_35’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/xxlimited_35.c:325:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/xxlimited_35.gcda’ profile count data file not found
# 323| {
# 324| return PyModuleDef_Init(&xxmodule);
# 325|-> }
Error: COMPILER_WARNING: [#def389]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/xxsubtype.c: scope_hint: In function ‘PyInit_xxsubtype’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/xxsubtype.c:312:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/xxsubtype.gcda’ profile count data file not found
# 310| {
# 311| return PyModuleDef_Init(&xxsubtypemodule);
# 312|-> }
Error: COMPILER_WARNING: [#def390]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/zlibmodule.c: scope_hint: In function ‘PyInit_zlib’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Modules/zlibmodule.c:2129:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/zlibmodule.gcda’ profile count data file not found
# 2127| {
# 2128| return PyModuleDef_Init(&zlibmodule);
# 2129|-> }
Error: COMPILER_WARNING: [#def391]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/abstract.c: scope_hint: In function ‘PyIter_Send’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/abstract.c:2954:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/abstract.gcda’ profile count data file not found
# 2952| }
# 2953| return PYGEN_ERROR;
# 2954|-> }
Error: COMPILER_WARNING: [#def392]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/boolobject.c: scope_hint: In function ‘bool_dealloc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/boolobject.c:227:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/boolobject.gcda’ profile count data file not found
# 225| { 1 }
# 226| }
# 227|-> };
Error: COMPILER_WARNING: [#def393]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c:913:54: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c: scope_hint: In function ‘bytearray___init__’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def394]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c: scope_hint: In function ‘bytearray_iter’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c:2585:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bytearrayobject.gcda’ profile count data file not found
# 2583| _PyObject_GC_TRACK(it);
# 2584| return (PyObject *)it;
# 2585|-> }
Error: CLANG_WARNING: [#def395]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:532:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 530| else if (sub_len == 1) {
# 531| if (dir > 0)
# 532|-> res = stringlib_find_char(
# 533| str + start, end - start,
# 534| *sub);
Error: CLANG_WARNING: [#def396]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:536:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 534| *sub);
# 535| else
# 536|-> res = stringlib_rfind_char(
# 537| str + start, end - start,
# 538| *sub);
Error: COMPILER_WARNING: [#def397]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c: scope_hint: In function ‘_Py_bytes_endswith’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:767:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bytes_methods.gcda’ profile count data file not found
# 765| {
# 766| return _Py_bytes_tailmatch(str, len, "endswith", subobj, start, end, +1);
# 767|-> }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def398]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:121:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*str’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:41:37: note: in definition of macro ‘CHARACTER’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/bytesobject.h:29:32: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2929:9: note: in expansion of macro ‘PyBytes_CheckExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:367:12: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:26:31: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2937:9: note: in expansion of macro ‘PyList_CheckExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/object.h:367:12: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:41:37: note: in definition of macro ‘CHARACTER’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:41:37: note: in definition of macro ‘CHARACTER’
# 119| }
# 120| if (size == 1 && str != NULL) {
# 121|-> op = CHARACTER(*str & 255);
# 122| assert(_Py_IsImmortal(op));
# 123| return (PyObject *)op;
Error: GCC_ANALYZER_WARNING (CWE-457): [#def399]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:135:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/bytesobject.h:29:32: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2929:9: note: in expansion of macro ‘PyBytes_CheckExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:26:31: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2937:9: note: in expansion of macro ‘PyList_CheckExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:28:32: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2940:9: note: in expansion of macro ‘PyTuple_CheckExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/unicodeobject.h:107:5: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2943:10: note: in expansion of macro ‘PyUnicode_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_call.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:7: included_from: Included from here.
# 133| return (PyObject *) op;
# 134|
# 135|-> memcpy(op->ob_sval, str, size);
# 136| return (PyObject *) op;
# 137| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def400]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c: scope_hint: In function ‘_PyBytesWriter_Resize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:3489:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*writer.small_buffer’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/bytesobject.h:29:32: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2929:9: note: in expansion of macro ‘PyBytes_CheckExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/listobject.h:26:31: note: in expansion of macro ‘Py_IS_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2937:9: note: in expansion of macro ‘PyList_CheckExact’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2781:26: note: in expansion of macro ‘PyList_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:31:26: note: in expansion of macro ‘_PyList_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:35:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/listobject.h:35:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:2781:26: note: in expansion of macro ‘PyList_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/bytesobject.h:59: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:74: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:3488:24: note: in expansion of macro ‘PyBytes_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:3488:24: note: in expansion of macro ‘PyBytes_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:3488:24: note: in expansion of macro ‘PyBytes_AS_STRING’
# 3487| else
# 3488| dest = PyBytes_AS_STRING(writer->buffer);
# 3489|-> memcpy(dest,
# 3490| writer->small_buffer,
# 3491| pos);
Error: COMPILER_WARNING: [#def401]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c: scope_hint: In function ‘_PyBytes_Repeat’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytesobject.c:3653:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bytesobject.gcda’ profile count data file not found
# 3651| }
# 3652| }
# 3653|-> }
# 3654|
Error: GCC_ANALYZER_WARNING (CWE-404): [#def402]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/call.c: scope_hint: In function ‘_PyObject_CallMethodIdObjArgs’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/call.c:915:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
# 913| Py_DECREF(callable);
# 914| return result;
# 915|-> }
# 916|
# 917|
Error: GCC_ANALYZER_WARNING (CWE-404): [#def403]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/call.c: scope_hint: In function ‘PyObject_CallFunctionObjArgs’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/call.c:930:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
# 928|
# 929| return result;
# 930|-> }
# 931|
# 932|
Error: COMPILER_WARNING: [#def404]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/call.c: scope_hint: In function ‘PyVectorcall_NARGS’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/call.c:1052:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/call.gcda’ profile count data file not found
# 1050| {
# 1051| return _PyVectorcall_NARGS(n);
# 1052|-> }
Error: COMPILER_WARNING: [#def405]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/capsule.c: scope_hint: In function ‘capsule_clear’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/capsule.c:359:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/capsule.gcda’ profile count data file not found
# 357| .tp_traverse = (traverseproc)capsule_traverse,
# 358| .tp_clear = (inquiry)capsule_clear,
# 359|-> };
# 360|
# 361|
Error: COMPILER_WARNING: [#def406]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/cellobject.c: scope_hint: In function ‘cell_set_contents’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/cellobject.c:191:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/cellobject.gcda’ profile count data file not found
# 189| (newfunc)cell_new, /* tp_new */
# 190| 0, /* tp_free */
# 191|-> };
Error: COMPILER_WARNING: [#def407]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/classobject.c: scope_hint: In function ‘instancemethod_new_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/classobject.c:552:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/classobject.gcda’ profile count data file not found
# 550| .tp_descr_get = instancemethod_descr_get,
# 551| .tp_new = instancemethod_new,
# 552|-> };
Error: COMPILER_WARNING: [#def408]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/codeobject.c: scope_hint: In function ‘_PyCode_Fini’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/codeobject.c:2675:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/codeobject.gcda’ profile count data file not found
# 2673| }
# 2674| #endif
# 2675|-> }
Error: COMPILER_WARNING: [#def409]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/complexobject.c: scope_hint: In function ‘complex_new_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/complexobject.c:1139:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/complexobject.gcda’ profile count data file not found
# 1137| complex_new, /* tp_new */
# 1138| PyObject_Del, /* tp_free */
# 1139|-> };
Error: COMPILER_WARNING: [#def410]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/descrobject.c: scope_hint: In function ‘property_init’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/descrobject.c:2080:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/descrobject.gcda’ profile count data file not found
# 2078| PyType_GenericNew, /* tp_new */
# 2079| PyObject_GC_Del, /* tp_free */
# 2080|-> };
Error: COMPILER_WARNING (CWE-457): [#def411]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/dictobject.c: scope_hint: In function ‘_PyObject_StoreInstanceAttribute’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/dictobject.c:6881:13: warning[-Wmaybe-uninitialized]: ‘res’ may be used uninitialized
# 6881 | int res;
# | ^~~
# 6879| PyDictObject *dict = _PyObject_GetManagedDict(obj);
# 6880| if (dict == NULL) {
# 6881|-> int res;
# 6882| Py_BEGIN_CRITICAL_SECTION(obj);
# 6883| dict = _PyObject_GetManagedDict(obj);
Error: COMPILER_WARNING: [#def412]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/dictobject.c: scope_hint: In function ‘_PyDict_SendEvent’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/dictobject.c:7413:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/dictobject.gcda’ profile count data file not found
# 7411| watcher_bits >>= 1;
# 7412| }
# 7413|-> }
# 7414|
# 7415| #ifndef NDEBUG
Error: COMPILER_WARNING: [#def413]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/enumobject.c: scope_hint: In function ‘reversed_setstate’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/enumobject.c:545:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/enumobject.gcda’ profile count data file not found
# 543| PyObject_GC_Del, /* tp_free */
# 544| .tp_vectorcall = (vectorcallfunc)reversed_vectorcall,
# 545|-> };
Error: COMPILER_WARNING: [#def414]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/exceptions.c: scope_hint: In function ‘_PyException_AddNote’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/exceptions.c:3839:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/exceptions.gcda’ profile count data file not found
# 3837| Py_XDECREF(r);
# 3838| return res;
# 3839|-> }
# 3840|
Error: COMPILER_WARNING: [#def415]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/fileobject.c: scope_hint: In function ‘_PyFile_Flush’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/fileobject.c:542:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/fileobject.gcda’ profile count data file not found
# 540| Py_DECREF(tmp);
# 541| return 0;
# 542|-> }
Error: COMPILER_WARNING: [#def416]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/floatobject.c: scope_hint: In function ‘PyFloat_Unpack8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/floatobject.c:2616:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/floatobject.gcda’ profile count data file not found
# 2614| return x;
# 2615| }
# 2616|-> }
Error: COMPILER_WARNING: [#def417]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/frameobject.c: scope_hint: In function ‘_PyEval_BuiltinsFromGlobals’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/frameobject.c:2151:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/frameobject.gcda’ profile count data file not found
# 2149|
# 2150| return _PyEval_GetBuiltins(tstate);
# 2151|-> }
Error: COMPILER_WARNING: [#def418]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/funcobject.c: scope_hint: In function ‘PyStaticMethod_New’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/funcobject.c:1509:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/funcobject.gcda’ profile count data file not found
# 1507| }
# 1508| return (PyObject *)sm;
# 1509|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def419]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c: scope_hint: In function ‘ga_getitem’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:564:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 562|
# 563| PyObject *res = Py_GenericAlias(alias->origin, newargs);
# 564|-> ((gaobject *)res)->starred = alias->starred;
# 565|
# 566| Py_DECREF(newargs);
Error: COMPILER_WARNING: [#def420]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c: scope_hint: In function ‘Py_GenericAlias’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genericaliasobject.c:1000:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/genericaliasobject.gcda’ profile count data file not found
# 998| }
# 999| return (PyObject *)alias;
# 1000|-> }
Error: COMPILER_WARNING: [#def421]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genobject.c: scope_hint: In function ‘async_gen_athrow_new’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/genobject.c:2418:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/genobject.gcda’ profile count data file not found
# 2416| _PyObject_GC_TRACK((PyObject*)o);
# 2417| return (PyObject*)o;
# 2418|-> }
Error: COMPILER_WARNING: [#def422]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/iterobject.c: scope_hint: In function ‘PyAnextAwaitable_New’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/iterobject.c:512:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/iterobject.gcda’ profile count data file not found
# 510| _PyObject_GC_TRACK(anext);
# 511| return (PyObject *)anext;
# 512|-> }
Error: CLANG_WARNING: [#def423]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/listobject.c:1250:13: warning[core.NullDereference]: Array access (via field 'ob_item') results in a null pointer dereference
# 1248| if (Py_SIZE(self) < self->allocated) {
# 1249| Py_ssize_t len = Py_SIZE(self);
# 1250|-> FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item); // steals item ref
# 1251| Py_SET_SIZE(self, len + 1);
# 1252| }
Error: CLANG_WARNING: [#def424]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/listobject.c:1577:26: warning[core.NullDereference]: Dereference of null pointer
# 1575| *dst->keys++ = *src->keys++;
# 1576| if (dst->values != NULL)
# 1577|-> *dst->values++ = *src->values++;
# 1578| }
# 1579|
Error: CLANG_WARNING: [#def425]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/listobject.c:1585:26: warning[core.NullDereference]: Dereference of null pointer
# 1583| *dst->keys-- = *src->keys--;
# 1584| if (dst->values != NULL)
# 1585|-> *dst->values-- = *src->values--;
# 1586| }
# 1587|
Error: COMPILER_WARNING: [#def426]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/listobject.c: scope_hint: In function ‘listiter_reduce_general’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/listobject.c:4154:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/listobject.gcda’ profile count data file not found
# 4152| return NULL;
# 4153| return Py_BuildValue("N(N)", iter, list);
# 4154|-> }
Error: CLANG_WARNING: [#def427]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/longobject.c:1137:9: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 1135|
# 1136| if (_PyLong_IsCompact(v)) {
# 1137|-> res = 0;
# 1138| cv.v = _PyLong_CompactValue(v);
# 1139| /* Most paths result in res = sizeof(compact value). Only the case
Error: CLANG_WARNING: [#def428]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/longobject.c:2520:56: warning[core.DivideZero]: Division by zero
# 2518| /* n <- the number of Python digits needed,
# 2519| = ceiling((digits * bits_per_char) / PyLong_SHIFT). */
# 2520|-> if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
# 2521| PyErr_SetString(PyExc_ValueError,
# 2522| "int string too large to convert");
Error: CLANG_WARNING: [#def429]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/longobject.c:2546:31: warning[core.BitwiseShift]: Right operand is negative in left shift
# 2544| k = (int)_PyLong_DigitValue[Py_CHARMASK(*p)];
# 2545| assert(k >= 0 && k < base);
# 2546|-> accum |= (twodigits)k << bits_in_accum;
# 2547| bits_in_accum += bits_per_char;
# 2548| if (bits_in_accum >= PyLong_SHIFT) {
Error: CLANG_WARNING: [#def430]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/longobject.c:3248:5: warning[deadcode.DeadStores]: Value stored to 'carry' is never read
# 3246| shift v1 left by the same amount. Results go into w and v. */
# 3247| d = PyLong_SHIFT - bit_length_digit(w1->long_value.ob_digit[size_w-1]);
# 3248|-> carry = v_lshift(w->long_value.ob_digit, w1->long_value.ob_digit, size_w, d);
# 3249| assert(carry == 0);
# 3250| carry = v_lshift(v->long_value.ob_digit, v1->long_value.ob_digit, size_v, d);
Error: CLANG_WARNING: [#def431]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/longobject.c:3335:5: warning[deadcode.DeadStores]: Value stored to 'carry' is never read
# 3333|
# 3334| /* unshift remainder; we reuse w to store the result */
# 3335|-> carry = v_rshift(w0, v0, size_w, d);
# 3336| assert(carry==0);
# 3337| Py_DECREF(v);
Error: COMPILER_WARNING: [#def432]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/longobject.c: scope_hint: In function ‘PyUnstable_Long_CompactValue’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/longobject.c:6672:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/longobject.gcda’ profile count data file not found
# 6670| PyUnstable_Long_CompactValue(const PyLongObject* op) {
# 6671| return _PyLong_CompactValue(op);
# 6672|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:243:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*mv.view.strides’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:2565:5: note: in expansion of macro ‘CHECK_RELEASED’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_abstract.h:15:37: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:2592:9: note: in expansion of macro ‘CHECK_RESTRICTED’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:2592:9: note: in expansion of macro ‘CHECK_RESTRICTED’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
# 241| /* Fast contiguity test. Caller must ensure suboffsets==NULL and ndim==1. */
# 242| #define MV_CONTIGUOUS_NDIM1(view) \
# 243|-> ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
# 244|
# 245| /* getbuffer() requests */
Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:243:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*mv.view.suboffsets’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:2565:5: note: in expansion of macro ‘CHECK_RELEASED’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_abstract.h:15:37: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:2592:9: note: in expansion of macro ‘CHECK_RESTRICTED’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:2592:9: note: in expansion of macro ‘CHECK_RESTRICTED’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’
# 241| /* Fast contiguity test. Caller must ensure suboffsets==NULL and ndim==1. */
# 242| #define MV_CONTIGUOUS_NDIM1(view) \
# 243|-> ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
# 244|
# 245| /* getbuffer() requests */
Error: CLANG_WARNING: [#def435]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:624:13: warning[core.NullDereference]: Array access (via field 'shape') results in a null pointer dereference
# 622| break;
# 623| case 1:
# 624|-> if (MV_CONTIGUOUS_NDIM1(view))
# 625| flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
# 626| break;
Error: COMPILER_WARNING: [#def436]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c: scope_hint: In function ‘memory_iter’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/memoryobject.c:3442:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/memoryobject.gcda’ profile count data file not found
# 3440| 0, /* tp_alloc */
# 3441| memoryview, /* tp_new */
# 3442|-> };
Error: COMPILER_WARNING: [#def437]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/methodobject.c: scope_hint: In function ‘cfunction_call’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/methodobject.c:554:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/methodobject.gcda’ profile count data file not found
# 552| }
# 553| return _Py_CheckFunctionResult(tstate, func, result, NULL);
# 554|-> }
Error: CLANG_WARNING: [#def438]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/obmalloc.c:22: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/mimalloc/static.c:23: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/mimalloc/alloc.c:474:7: warning[deadcode.DeadStores]: Value stored to 'tfreex' is never read
# 472| tfree = mi_atomic_load_relaxed(&page->xthread_free);
# 473| do {
# 474|-> tfreex = tfree;
# 475| mi_assert_internal(mi_tf_delayed(tfree) == MI_DELAYED_FREEING);
# 476| tfreex = mi_tf_set_delayed(tfree,MI_NO_DELAYED_FREE);
Error: CLANG_WARNING: [#def439]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/obmalloc.c:22: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/mimalloc/static.c:35: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/mimalloc/segment-map.c:102:15: warning[deadcode.DeadStores]: Value stored to 'lomask' during its initialization is never read
# 100| else {
# 101| mi_assert_internal(index > 0);
# 102|-> uintptr_t lomask = mask;
# 103| loindex = index;
# 104| do {
Error: CLANG_WARNING: [#def440]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/obmalloc.c:22: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/mimalloc/static.c:34: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/mimalloc/segment.c:138:9: warning[deadcode.DeadStores]: Value stored to 'ofs' is never read
# 136| if (i >= MI_COMMIT_MASK_FIELD_COUNT) break;
# 137| mask = cm->mask[i];
# 138|-> ofs = 0;
# 139| }
# 140| } while ((mask&1) == 1);
Error: COMPILER_WARNING: [#def441]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/moduleobject.c: scope_hint: In function ‘module_set_annotations’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/moduleobject.c:1244:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/moduleobject.gcda’ profile count data file not found
# 1242| new_module, /* tp_new */
# 1243| PyObject_GC_Del, /* tp_free */
# 1244|-> };
Error: COMPILER_WARNING: [#def442]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/namespaceobject.c: scope_hint: In function ‘_PyNamespace_New’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/namespaceobject.c:311:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/namespaceobject.gcda’ profile count data file not found
# 309|
# 310| return (PyObject *)ns;
# 311|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def443]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c: scope_hint: In function ‘reftotal_add’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:84:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tstate_impl’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:2852:5: note: in expansion of macro ‘Py_XINCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:2852:5: note: in expansion of macro ‘Py_XINCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:2854:5: note: in expansion of macro ‘Py_INCREF’
# 82| _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
# 83| // relaxed store to avoid data race with read in get_reftotal()
# 84|-> Py_ssize_t reftotal = tstate_impl->reftotal + n;
# 85| _Py_atomic_store_ssize_relaxed(&tstate_impl->reftotal, reftotal);
# 86| #else
Error: GCC_ANALYZER_WARNING (CWE-476): [#def444]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c: scope_hint: In function ‘reftotal_add’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:87:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tstate’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:76:5: note: in definition of macro ‘REFTOTAL’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:2852:5: note: in expansion of macro ‘Py_XINCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:2852:5: note: in expansion of macro ‘Py_XINCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:2854:5: note: in expansion of macro ‘Py_INCREF’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:76:5: note: in definition of macro ‘REFTOTAL’
# 85| _Py_atomic_store_ssize_relaxed(&tstate_impl->reftotal, reftotal);
# 86| #else
# 87|-> REFTOTAL(tstate->interp) += n;
# 88| #endif
# 89| }
Error: COMPILER_WARNING: [#def445]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c: scope_hint: In function ‘Py_GetConstantBorrowed’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/object.c:3015:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/object.gcda’ profile count data file not found
# 3013| // All constants are immortal
# 3014| return Py_GetConstant(constant_id);
# 3015|-> }
Error: CLANG_WARNING: [#def446]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/obmalloc.c:2328:30: warning[core.NullDereference]: Access to field 'prevarena' results in a dereference of a null pointer (loaded from field 'nextarena')
# 2326| usable_arenas = ao->nextarena;
# 2327| }
# 2328|-> ao->nextarena->prevarena = ao->prevarena;
# 2329| /* And insert after lastnf. */
# 2330| ao->prevarena = lastnf;
Error: CLANG_WARNING: [#def447]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/obmalloc.c:2785:5: warning[deadcode.DeadStores]: Value stored to 'tail' is never read
# 2783| total = nbytes + PYMEM_DEBUG_EXTRA_BYTES;
# 2784|
# 2785|-> tail = data + original_nbytes;
# 2786| #ifdef PYMEM_DEBUG_SERIALNO
# 2787| size_t block_serialno = read_size_t(tail + SST);
Error: COMPILER_WARNING: [#def448]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/obmalloc.c: scope_hint: In function ‘_PyObject_DebugMallocStats’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/obmalloc.c:3447:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/obmalloc.gcda’ profile count data file not found
# 3445| return 0;
# 3446| }
# 3447|-> }
# 3448|
# 3449| #endif /* #ifdef WITH_PYMALLOC */
Error: COMPILER_WARNING: [#def449]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/odictobject.c: scope_hint: In function ‘mutablemapping_update’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/odictobject.c:2257:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/odictobject.gcda’ profile count data file not found
# 2255|
# 2256| Py_RETURN_NONE;
# 2257|-> }
Error: COMPILER_WARNING: [#def450]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/picklebufobject.c: scope_hint: In function ‘picklebuf_release’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/picklebufobject.c:218:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/picklebufobject.gcda’ profile count data file not found
# 216| .tp_as_buffer = &picklebuf_as_buffer,
# 217| .tp_methods = picklebuf_methods,
# 218|-> };
Error: COMPILER_WARNING: [#def451]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/rangeobject.c: scope_hint: In function ‘range_reverse’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/rangeobject.c:1284:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/rangeobject.gcda’ profile count data file not found
# 1282| Py_DECREF(it);
# 1283| return NULL;
# 1284|-> }
Error: COMPILER_WARNING: [#def452]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/setobject.c: scope_hint: In function ‘dummy_dealloc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/setobject.c:2769:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/setobject.gcda’ profile count data file not found
# 2767| };
# 2768|
# 2769|-> static PyObject _dummy_struct = _PyObject_HEAD_INIT(&_PySetDummy_Type);
Error: COMPILER_WARNING: [#def453]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/sliceobject.c: scope_hint: In function ‘slicehash’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/sliceobject.c:728:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/sliceobject.gcda’ profile count data file not found
# 726| 0, /* tp_alloc */
# 727| slice_new, /* tp_new */
# 728|-> };
Error: CLANG_WARNING: [#def454]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:438: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def455]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:438: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/fastsearch.h: scope_hint: In function ‘fastsearch’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/fastsearch.h:769:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:636:5: note: in expansion of macro ‘ADJUST_INDICES’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:636:5: note: in expansion of macro ‘ADJUST_INDICES’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:636:5: note: in expansion of macro ‘ADJUST_INDICES’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/count.h:13:1: note: in expansion of macro ‘STRINGLIB’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytes_methods.c:439: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/count.h:24:13: note: in expansion of macro ‘FASTSEARCH’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/count.h:24:13: note: in expansion of macro ‘FASTSEARCH’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def456]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c:1119: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def457]
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def458]
python3.13-3.13.0_b3-build/Python-3.13.0b3/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): [#def459]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c:1121: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/transmogrify.h:319:9: warning[-Wanalyzer-out-of-bounds]: buffer overflow
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/transmogrify.h:309:14: note: in expansion of macro ‘STRINGLIB_NEW’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:69: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c:125:11: note: in expansion of macro ‘PyObject_New’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/transmogrify.h:309:14: note: in expansion of macro ‘STRINGLIB_NEW’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/bytearrayobject.h:37: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:73: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c:1106:23: note: in expansion of macro ‘PyByteArray_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/transmogrify.h:314:14: note: in expansion of macro ‘STRINGLIB_STR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/bytearrayobject.h:23:9: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/bytearrayobject.c:1106:23: note: in expansion of macro ‘PyByteArray_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/transmogrify.h:315:16: note: in expansion of macro ‘STRINGLIB_STR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def460]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/structseq.c: scope_hint: In function ‘PyStructSequence_NewType’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/structseq.c:788:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/structseq.gcda’ profile count data file not found
# 786| {
# 787| return _PyStructSequence_NewType(desc, 0);
# 788|-> }
Error: GCC_ANALYZER_WARNING (CWE-404): [#def461]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/tupleobject.c: scope_hint: In function ‘PyTuple_Pack’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/tupleobject.c:180:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
# 178| _PyObject_GC_TRACK(result);
# 179| return (PyObject *)result;
# 180|-> }
# 181|
# 182|
Error: COMPILER_WARNING: [#def462]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/tupleobject.c: scope_hint: In function ‘_PyTuple_DebugMallocStats’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/tupleobject.c:1218:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/tupleobject.gcda’ profile count data file not found
# 1216| }
# 1217| #endif
# 1218|-> }
# 1219|
# 1220| #undef STATE
Error: COMPILER_WARNING: [#def463]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typeobject.c: scope_hint: In function ‘super_vectorcall’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typeobject.c:11448:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/typeobject.gcda’ profile count data file not found
#11446| PyObject_GC_Del, /* tp_free */
#11447| .tp_vectorcall = (vectorcallfunc)super_vectorcall,
#11448|-> };
Error: COMPILER_WARNING: [#def464]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c: scope_hint: In function ‘_Py_set_typeparam_default’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/typevarobject.c:1988:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/typevarobject.gcda’ profile count data file not found
# 1986| return NULL;
# 1987| }
# 1988|-> }
Error: COMPILER_WARNING: [#def465]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/unicodectype.c: scope_hint: In function ‘_PyUnicode_IsAlpha’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/unicodectype.c:294:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/unicodectype.gcda’ profile count data file not found
# 292|
# 293| return (ctype->flags & ALPHA_MASK) != 0;
# 294|-> }
# 295|
Error: COMPILER_WARNING: [#def466]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/unicodeobject.c: scope_hint: In function ‘PyInit__string’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/unicodeobject.c:15880:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/unicodeobject.gcda’ profile count data file not found
#15878| {
#15879| return PyModuleDef_Init(&_string_module);
#15880|-> }
Error: COMPILER_WARNING: [#def467]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/unionobject.c: scope_hint: In function ‘make_union’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/unionobject.c:401:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/unionobject.gcda’ profile count data file not found
# 399| _PyObject_GC_TRACK(result);
# 400| return (PyObject*)result;
# 401|-> }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def468]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/weakrefobject.c:353:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘newref’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/weakrefobject.c: scope_hint: In function ‘insert_weakref’
# 351| is_basic_ref(PyWeakReference *ref)
# 352| {
# 353|-> return (ref->wr_callback == NULL) && PyWeakref_CheckRefExact(ref);
# 354| }
# 355|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/weakrefobject.c: scope_hint: In function ‘is_basic_ref’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/weakrefobject.c:353:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref’
/usr/include/dlfcn.h:24: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_import.h:107: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_critical_section.h:9: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/weakrefobject.c:2: included_from: Included from here.
# 351| is_basic_ref(PyWeakReference *ref)
# 352| {
# 353|-> return (ref->wr_callback == NULL) && PyWeakref_CheckRefExact(ref);
# 354| }
# 355|
Error: COMPILER_WARNING: [#def470]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/weakrefobject.c: scope_hint: In function ‘_PyWeakref_IsDead’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Objects/weakrefobject.c:1105:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/weakrefobject.gcda’ profile count data file not found
# 1103| {
# 1104| return _PyWeakref_IS_DEAD(weakref);
# 1105|-> }
Error: CLANG_WARNING: [#def471]
python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def472]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/action_helpers.c: scope_hint: In function ‘_PyPegen_concatenate_strings’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/action_helpers.c:1665:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/action_helpers.gcda’ profile count data file not found
# 1663| assert(current_pos == n_elements);
# 1664| return _PyAST_JoinedStr(values, lineno, col_offset, end_lineno, end_col_offset, p->arena);
# 1665|-> }
Error: COMPILER_WARNING: [#def473]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/buffer.c: scope_hint: In function ‘_PyLexer_tok_reserve_buf’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/buffer.c:76:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/buffer.gcda’ profile count data file not found
# 74| }
# 75| return 1;
# 76|-> }
Error: CLANG_WARNING: [#def474]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/lexer.c:446:22: warning[deadcode.DeadStores]: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'
# 444| // the level of indentation of whatever comes next.
# 445| cont_line_col = cont_line_col ? cont_line_col : col;
# 446|-> if ((c = tok_continuation_line(tok)) == -1) {
# 447| return MAKE_TOKEN(ERRORTOKEN);
# 448| }
Error: CLANG_WARNING: [#def475]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/lexer.c:946:11: warning[core.NullDereference]: Dereference of null pointer (loaded from field 'start')
# 944|
# 945| f_string_quote:
# 946|-> if (((Py_TOLOWER(*tok->start) == 'f' || Py_TOLOWER(*tok->start) == 'r') && (c == '\'' || c == '"'))) {
# 947| int quote = c;
# 948| int quote_size = 1; /* 1 or 3 */
Error: CLANG_WARNING: [#def476]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/lexer.c:1113:25: warning[deadcode.DeadStores]: Value stored to 'c' is never read
# 1111| }
# 1112| if (c == '\r') {
# 1113|-> c = tok_nextc(tok);
# 1114| }
# 1115| }
Error: CLANG_WARNING: [#def477]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/lexer.c:1126:14: warning[deadcode.DeadStores]: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'
# 1124| /* Line continuation */
# 1125| if (c == '\\') {
# 1126|-> if ((c = tok_continuation_line(tok)) == -1) {
# 1127| return MAKE_TOKEN(ERRORTOKEN);
# 1128| }
Error: COMPILER_WARNING: [#def478]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/lexer.c: scope_hint: In function ‘_PyTokenizer_Get’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/lexer.c:1484:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/lexer.gcda’ profile count data file not found
# 1482| }
# 1483| return result;
# 1484|-> }
Error: COMPILER_WARNING: [#def479]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/state.c: scope_hint: In function ‘_PyLexer_token_setup’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/lexer/state.c:149:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/state.gcda’ profile count data file not found
# 147| }
# 148| return type;
# 149|-> }
Error: COMPILER_WARNING: [#def480]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/myreadline.c: scope_hint: In function ‘PyOS_Readline’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/myreadline.c:441:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/myreadline.gcda’ profile count data file not found
# 439|
# 440| return res;
# 441|-> }
Error: COMPILER_WARNING: [#def481]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/parser.c: scope_hint: In function ‘_PyPegen_parse’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/parser.c:42298:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/parser.gcda’ profile count data file not found
#42296|
#42297| return result;
#42298|-> }
Error: COMPILER_WARNING: [#def482]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/peg_api.c: scope_hint: In function ‘_PyParser_InteractiveASTFromFile’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/peg_api.c:40:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/peg_api.gcda’ profile count data file not found
# 38| return _PyPegen_run_parser_from_file_pointer(fp, mode, filename_ob, enc, ps1, ps2,
# 39| flags, errcode, interactive_src, arena);
# 40|-> }
Error: COMPILER_WARNING: [#def483]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen.c: scope_hint: In function ‘_PyPegen_run_parser_from_string’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen.c:998:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pegen.gcda’ profile count data file not found
# 996| _PyTokenizer_Free(tok);
# 997| return result;
# 998|-> }
Error: GCC_ANALYZER_WARNING (CWE-404): [#def484]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen_errors.c:7: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen.h: scope_hint: In function ‘RAISE_ERROR_KNOWN_LOCATION’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen.h:186:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
/usr/include/time.h:29: included_from: Included from here.
/usr/include/pthread.h:23: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/pythread.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pythread.h:105: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:114: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen_errors.c:1: included_from: Included from here.
# 184| va_end(va);
# 185| return NULL;
# 186|-> }
# 187| #define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
# 188| #define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
Error: COMPILER_WARNING: [#def485]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen_errors.c: scope_hint: In function ‘_Pypegen_stack_overflow’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/pegen_errors.c:454:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pegen_errors.gcda’ profile count data file not found
# 452| PyErr_SetString(PyExc_MemoryError,
# 453| "Parser stack overflowed - Python source too complex to parse");
# 454|-> }
Error: COMPILER_WARNING: [#def486]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/string_parser.c: scope_hint: In function ‘_PyPegen_parse_string’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/string_parser.c:282:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/string_parser.gcda’ profile count data file not found
# 280| }
# 281| return _PyPegen_decode_string(p, rawmode, s, len, t);
# 282|-> }
Error: COMPILER_WARNING: [#def487]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/token.c: scope_hint: In function ‘_PyToken_ThreeChars’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/token.c:247:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/token.gcda’ profile count data file not found
# 245| }
# 246| return OP;
# 247|-> }
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/file_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FindEncodingFilename’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/file_tokenizer.c:412:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopen_borrow(fd)’
# 410| return NULL;
# 411| }
# 412|-> return fdopen(fd, "r");
# 413| }
# 414| #endif
Error: COMPILER_WARNING: [#def489]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/file_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FindEncodingFilename’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/file_tokenizer.c:470:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/file_tokenizer.gcda’ profile count data file not found
# 468| _PyTokenizer_Free(tok);
# 469| return encoding;
# 470|-> }
Error: COMPILER_WARNING: [#def490]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/helpers.c: scope_hint: In function ‘_PyTokenizer_ensure_utf8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/helpers.c:512:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/helpers.gcda’ profile count data file not found
# 510| }
# 511| return 1;
# 512|-> }
# 513|
# 514|
Error: COMPILER_WARNING: [#def491]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/readline_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FromReadline’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/readline_tokenizer.c:134:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/readline_tokenizer.gcda’ profile count data file not found
# 132| tok->readline = readline;
# 133| return tok;
# 134|-> }
Error: GCC_ANALYZER_WARNING (CWE-465): [#def492]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/string_tokenizer.c: scope_hint: In function ‘decode_str’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/string_tokenizer.c:88:8: warning[-Wanalyzer-deref-before-check]: check of ‘str’ for NULL after already dereferencing it
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/string_tokenizer.c:1: included_from: Included from here.
# 86| /* need to check line 1 and 2 separately since check_coding_spec
# 87| assumes a single line as input */
# 88|-> if (newl[0]) {
# 89| if (!_PyTokenizer_check_coding_spec(str, newl[0] - str, tok, buf_setreadl)) {
# 90| return NULL;
Error: COMPILER_WARNING: [#def493]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/string_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FromString’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/string_tokenizer.c:129:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/string_tokenizer.gcda’ profile count data file not found
# 127| tok->underflow = &tok_underflow_string;
# 128| return tok;
# 129|-> }
Error: COMPILER_WARNING: [#def494]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/utf8_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FromUTF8’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Parser/tokenizer/utf8_tokenizer.c:55:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/utf8_tokenizer.gcda’ profile count data file not found
# 53| tok->underflow = &tok_underflow_string;
# 54| return tok;
# 55|-> }
Error: CLANG_WARNING: [#def495]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_bootstrap_python.c:76:5: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 74| }
# 75|
# 76|-> status = PyConfig_Read(&config);
# 77| if (config.run_filename == NULL) {
# 78| status = PyStatus_Error("Run filename expected");
Error: COMPILER_WARNING: [#def496]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_bootstrap_python.c: scope_hint: In function ‘main’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_bootstrap_python.c:108:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_bootstrap_python.gcda’ profile count data file not found
# 106| }
# 107| Py_ExitStatusException(status);
# 108|-> }
# 109|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def497]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c: scope_hint: In function ‘read_text’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c:75:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inpath, "rb")’
# 73| read_text(const char *inpath)
# 74| {
# 75|-> FILE *infile = fopen(inpath, "rb");
# 76| if (infile == NULL) {
# 77| fprintf(stderr, "cannot open '%s' for reading\n", inpath);
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c:75:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inpath, "rb")’
# 73| read_text(const char *inpath)
# 74| {
# 75|-> FILE *infile = fopen(inpath, "rb");
# 76| if (infile == NULL) {
# 77| fprintf(stderr, "cannot open '%s' for reading\n", inpath);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def499]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c: scope_hint: In function ‘compile_and_marshal’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c:113: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
# 111| {
# 112| char *filename = (char *) malloc(strlen(name) + 10);
# 113|-> sprintf(filename, "<frozen %s>", name);
# 114| PyObject *code = Py_CompileStringExFlags(text, filename,
# 115| Py_file_input, NULL, 0);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def500]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c: scope_hint: In function ‘get_varname’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c:136: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
# 134| size_t n = strlen(prefix);
# 135| char *varname = (char *) malloc(strlen(name) + n + 1);
# 136|-> (void)strcpy(varname, prefix);
# 137| for (size_t i = 0; name[i] != '\0'; i++) {
# 138| if (name[i] == '.') {
Error: COMPILER_WARNING: [#def501]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c: scope_hint: In function ‘main’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_freeze_module.c:238:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_freeze_module.gcda’ profile count data file not found
# 236| Py_Finalize();
# 237| return 1;
# 238|-> }
# 239|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def502]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_testembed.c: scope_hint: In function ‘test_pre_initialization_sys_options’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_testembed.c:325:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dynamic_once_warnoption’ where non-null expected
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:24: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_testembed.c:8: included_from: Included from here.
/usr/include/wchar.h:103:17: note: argument 1 of ‘wcsncpy’ must be non-null
# 323| wchar_t *dynamic_xoption = \
# 324| (wchar_t *) calloc(xoption_len+1, sizeof(wchar_t));
# 325|-> wcsncpy(dynamic_once_warnoption, static_warnoption, warnoption_len+1);
# 326| wcsncpy(dynamic_xoption, static_xoption, xoption_len+1);
# 327|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def503]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_testembed.c:326: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
# 324| (wchar_t *) calloc(xoption_len+1, sizeof(wchar_t));
# 325| wcsncpy(dynamic_once_warnoption, static_warnoption, warnoption_len+1);
# 326|-> wcsncpy(dynamic_xoption, static_xoption, xoption_len+1);
# 327|
# 328| _Py_EMBED_PREINIT_CHECK("Checking PySys_AddWarnOption\n");
Error: COMPILER_WARNING: [#def504]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_testembed.c: scope_hint: In function ‘main’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/_testembed.c:2252:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_testembed.gcda’ profile count data file not found
# 2250| This is intentional. */
# 2251| return -1;
# 2252|-> }
Error: COMPILER_WARNING: [#def505]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/python.c: scope_hint: In function ‘main’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Programs/python.c:16:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/python.gcda’ profile count data file not found
# 14| {
# 15| return Py_BytesMain(argc, argv);
# 16|-> }
# 17| #endif
Error: COMPILER_WARNING: [#def506]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/Python-ast.c: scope_hint: In function ‘PyAST_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/Python-ast.c:17693:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/Python-ast.gcda’ profile count data file not found
#17691| }
#17692| return PyObject_IsInstance(obj, state->AST_type);
#17693|-> }
#17694|
#17695|
Error: COMPILER_WARNING: [#def507]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/Python-tokenize.c: scope_hint: In function ‘PyInit__tokenize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/Python-tokenize.c:414:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/Python-tokenize.gcda’ profile count data file not found
# 412| {
# 413| return PyModuleDef_Init(&_tokenizemodule);
# 414|-> }
Error: COMPILER_WARNING: [#def508]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/_warnings.c: scope_hint: In function ‘_PyWarnings_Fini’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/_warnings.c:1525:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/_warnings.gcda’ profile count data file not found
# 1523| {
# 1524| warnings_clear_state(&interp->warnings);
# 1525|-> }
Error: COMPILER_WARNING: [#def509]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/asdl.c: scope_hint: In function ‘_Py_asdl_int_seq_new’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/asdl.c:6:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def510]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/assemble.c: scope_hint: In function ‘_PyAssemble_MakeCodeObject’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/assemble.c:759:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/assemble.gcda’ profile count data file not found
# 757| assemble_free(&a);
# 758| return co;
# 759|-> }
Error: COMPILER_WARNING: [#def511]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast.c: scope_hint: In function ‘_PyAST_GetDocString’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast.c:1113:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/ast.gcda’ profile count data file not found
# 1111| }
# 1112| return NULL;
# 1113|-> }
Error: CLANG_WARNING: [#def512]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_opt.c:622:14: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 620| tuple or frozenset respectively. */
# 621| i = asdl_seq_LEN(ops) - 1;
# 622|-> int op = asdl_seq_GET(ops, i);
# 623| if (op == In || op == NotIn) {
# 624| if (!fold_iter((expr_ty)asdl_seq_GET(args, i), arena, state)) {
Error: CLANG_WARNING: [#def513]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_opt.c:624:33: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 622| int op = asdl_seq_GET(ops, i);
# 623| if (op == In || op == NotIn) {
# 624|-> if (!fold_iter((expr_ty)asdl_seq_GET(args, i), arena, state)) {
# 625| return 0;
# 626| }
Error: CLANG_WARNING: [#def514]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_opt.c:669:31: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 667| CALL_SEQ(astfold_stmt, stmt, stmts);
# 668| if (!docstring && _PyAST_GetDocString(stmts) != NULL) {
# 669|-> stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
# 670| asdl_expr_seq *values = _Py_asdl_expr_seq_new(1, ctx_);
# 671| if (!values) {
Error: COMPILER_WARNING: [#def515]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_opt.c: scope_hint: In function ‘_PyAST_Optimize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_opt.c:1135:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/ast_opt.gcda’ profile count data file not found
# 1133|
# 1134| return ret;
# 1135|-> }
Error: CLANG_WARNING: [#def516]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_unparse.c:241:34: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 239| if (di >= 0) {
# 240| APPEND_STR("=");
# 241|-> APPEND_EXPR((expr_ty)asdl_seq_GET(args->defaults, di), PR_TEST);
# 242| }
# 243| if (posonlyarg_count && i + 1 == posonlyarg_count) {
Error: CLANG_WARNING: [#def517]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_unparse.c:266:41: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 264| di = i - arg_count + default_count;
# 265| if (di >= 0) {
# 266|-> expr_ty default_ = (expr_ty)asdl_seq_GET(args->kw_defaults, di);
# 267| if (default_) {
# 268| APPEND_STR("=");
Error: COMPILER_WARNING: [#def518]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_unparse.c: scope_hint: In function ‘_PyAST_ExprAsUnicode’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ast_unparse.c:955:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/ast_unparse.gcda’ profile count data file not found
# 953| {
# 954| return expr_as_unicode(e, PR_TEST);
# 955|-> }
Error: COMPILER_WARNING: [#def519]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/bltinmodule.c: scope_hint: In function ‘_PyBuiltin_Init’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/bltinmodule.c:3203:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bltinmodule.gcda’ profile count data file not found
# 3201| #undef ADD_TO_ALL
# 3202| #undef SETBUILTIN
# 3203|-> }
Error: COMPILER_WARNING: [#def520]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/bootstrap_hash.c: scope_hint: In function ‘_Py_HashRandomization_Fini’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/bootstrap_hash.c:597:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/bootstrap_hash.gcda’ profile count data file not found
# 595| dev_urandom_close();
# 596| #endif
# 597|-> }
Error: COMPILER_WARNING: [#def521]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/brc.c: scope_hint: In function ‘_Py_brc_after_fork’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/brc.c:206:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/freethreading/brc.gcda’ profile count data file not found
# 204| _PyMutex_at_fork_reinit(&interp->brc.table[i].mutex);
# 205| }
# 206|-> }
# 207|
# 208| #endif /* Py_GIL_DISABLED */
Error: COMPILER_WARNING: [#def522]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c: scope_hint: In function ‘Py_LeaveRecursiveCall’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:2999:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/ceval.gcda’ profile count data file not found
# 2997| {
# 2998| _Py_LeaveRecursiveCall();
# 2999|-> }
Error: COMPILER_WARNING: [#def523]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval_gil.c: scope_hint: In function ‘_Py_HandlePending’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval_gil.c:1286:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/ceval_gil.gcda’ profile count data file not found
# 1284| }
# 1285| return 0;
# 1286|-> }
Error: COMPILER_WARNING: [#def524]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/codecs.c: scope_hint: In function ‘_PyCodec_Fini’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/codecs.c:1521:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/codecs.gcda’ profile count data file not found
# 1519| Py_CLEAR(interp->codecs.error_registry);
# 1520| interp->codecs.initialized = 0;
# 1521|-> }
Error: CLANG_WARNING: [#def525]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:973:33: warning[core.NullDereference]: Dereference of null pointer
# 971| }
# 972|
# 973|-> Py_ssize_t arg = dict_add_o(u->u_metadata.u_consts, key);
# 974| Py_DECREF(key);
# 975| return arg;
Error: CLANG_WARNING: [#def526]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:1735:9: warning[core.NullDereference]: Access to field 'u_scope_type' results in a dereference of a null pointer (loaded from field 'u')
# 1733| {
# 1734| int scope;
# 1735|-> if (c->u->u_scope_type == COMPILER_SCOPE_CLASS &&
# 1736| (_PyUnicode_EqualToASCIIString(name, "__class__") ||
# 1737| _PyUnicode_EqualToASCIIString(name, "__classdict__"))) {
Error: CLANG_WARNING: [#def527]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:1812:9: warning[core.NullDereference]: Access to field 'u_instr_sequence' results in a dereference of a null pointer (loaded from field 'u')
# 1810| }
# 1811| flags |= MAKE_FUNCTION_CLOSURE;
# 1812|-> ADDOP_I(c, loc, BUILD_TUPLE, co->co_nfreevars);
# 1813| }
# 1814| ADDOP_LOAD_CONST(c, loc, (PyObject*)co);
Error: CLANG_WARNING: [#def528]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:1816:5: warning[core.NullDereference]: Access to field 'u_instr_sequence' results in a dereference of a null pointer (loaded from field 'u')
# 1814| ADDOP_LOAD_CONST(c, loc, (PyObject*)co);
# 1815|
# 1816|-> ADDOP(c, loc, MAKE_FUNCTION);
# 1817|
# 1818| if (flags & MAKE_FUNCTION_CLOSURE) {
Error: CLANG_WARNING: [#def529]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:2924:47: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 2922| }
# 2923| RETURN_IF_ERROR(
# 2924|-> compiler_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, n), next, cond));
# 2925| if (!SAME_LABEL(next2, next)) {
# 2926| USE_LABEL(c, next2);
Error: CLANG_WARNING: [#def530]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:4217:5: warning[deadcode.DeadStores]: Value stored to 'op' is never read
# 4215| }
# 4216|
# 4217|-> op = 0;
# 4218| optype = OP_NAME;
# 4219| scope = _PyST_GetScope(c->u->u_ste, mangled);
Error: CLANG_WARNING: [#def531]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:4367:29: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 4365| ADDOP(c, loc, POP_TOP);
# 4366| }
# 4367|-> VISIT(c, expr, (expr_ty)asdl_seq_GET(s, n));
# 4368|
# 4369| USE_LABEL(c, end);
Error: CLANG_WARNING: [#def532]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:5286:13: warning[deadcode.DeadStores]: Value stored to 'have_dict' is never read
# 5284| ADDOP_I(c, loc, DICT_MERGE, 1);
# 5285| }
# 5286|-> have_dict = 1;
# 5287| }
# 5288| assert(have_dict);
Error: CLANG_WARNING: [#def533]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:6740:5: warning[core.NullDereference]: Array access (via field 'fail_pop') results in a null pointer dereference
# 6738| Py_ssize_t pops = pc->on_top + PyList_GET_SIZE(pc->stores);
# 6739| RETURN_IF_ERROR(ensure_fail_pop(c, pc, pops));
# 6740|-> ADDOP_JUMP(c, loc, op, pc->fail_pop[pops]);
# 6741| return SUCCESS;
# 6742| }
Error: CLANG_WARNING: [#def534]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:7291:26: warning[core.NullDereference]: Access to field 'ob_item' results in a dereference of a null pointer
# 7289| // Update the list of previous stores with this new name, checking for
# 7290| // duplicates:
# 7291|-> PyObject *name = PyList_GET_ITEM(control, i);
# 7292| int dupe = PySequence_Contains(pc->stores, name);
# 7293| if (dupe < 0) {
Error: CLANG_WARNING: [#def535]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:7438:23: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 7436| Py_ssize_t cases = asdl_seq_LEN(s->v.Match.cases);
# 7437| assert(cases > 0);
# 7438|-> match_case_ty m = asdl_seq_GET(s->v.Match.cases, cases - 1);
# 7439| int has_default = WILDCARD_CHECK(m->pattern) && 1 < cases;
# 7440| for (Py_ssize_t i = 0; i < cases - has_default; i++) {
Error: COMPILER_WARNING: [#def536]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c: scope_hint: In function ‘PyCode_Optimize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/compile.c:7996:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/compile.gcda’ profile count data file not found
# 7994| {
# 7995| return Py_NewRef(code);
# 7996|-> }
Error: COMPILER_WARNING: [#def537]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/context.c: scope_hint: In function ‘_PyContext_Init’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/context.c:1305:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/context.gcda’ profile count data file not found
# 1303|
# 1304| return _PyStatus_OK();
# 1305|-> }
Error: COMPILER_WARNING: [#def538]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/critical_section.c: scope_hint: In function ‘PyCriticalSection2_End’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/critical_section.c:148:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/critical_section.gcda’ profile count data file not found
# 146| _PyCriticalSection2_End(c);
# 147| #endif
# 148|-> }
Error: COMPILER_WARNING: [#def539]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c: scope_hint: In function ‘_PyXI_EndInterpreter’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/crossinterp.c:1916:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/crossinterp.gcda’ profile count data file not found
# 1914| }
# 1915| PyThreadState_Swap(save_tstate);
# 1916|-> }
Error: CLANG_WARNING: [#def540]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/dtoa.c:2308:57: warning[core.BitwiseShift]: Right shift by '32' overflows the capacity of 'ULong'
# 2306|
# 2307| i = bbits + be + (Bias + (P-1) - 1);
# 2308|-> x = i > 32 ? word0(&u) << (64 - i) | word1(&u) >> (i - 32)
# 2309| : word1(&u) << (32 - i);
# 2310| dval(&d2) = x;
Error: COMPILER_WARNING: [#def541]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/dtoa.c: scope_hint: In function ‘_PyDtoa_Fini’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/dtoa.c:2841:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/dtoa.gcda’ profile count data file not found
# 2839| }
# 2840| #endif
# 2841|-> }
Error: COMPILER_WARNING: [#def542]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/dynamic_annotations.c: scope_hint: In function ‘RunningOnValgrind’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/dynamic_annotations.c:152:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def543]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/dynload_shlib.c: scope_hint: In function ‘_PyImport_FindSharedFuncptr’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/dynload_shlib.c:111:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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: [#def544]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/errors.c:141:26: warning[core.NullDereference]: Access to field 'tp_name' results in a dereference of a null pointer (loaded from variable 'exception')
# 139| }
# 140| PyObject *note;
# 141|-> const char *tpname = ((PyTypeObject*)exception)->tp_name;
# 142| if (args == NULL) {
# 143| _PyErr_Clear(tstate);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def545]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/errors.c: scope_hint: In function ‘err_programtext’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/errors.c:1888:45: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘linebuf[0]’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:39: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/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
# 1886| PyObject *res;
# 1887| if (encoding != NULL) {
# 1888|-> res = PyUnicode_Decode(linebuf, strlen(linebuf), encoding, "replace");
# 1889| } else {
# 1890| res = PyUnicode_FromString(linebuf);
Error: COMPILER_WARNING: [#def546]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/errors.c: scope_hint: In function ‘PyErr_ProgramTextObject’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/errors.c:1936:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/errors.gcda’ profile count data file not found
# 1934| {
# 1935| return _PyErr_ProgramDecodedTextObject(filename, lineno, NULL);
# 1936|-> }
Error: GCC_ANALYZER_WARNING (CWE-126): [#def547]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:148:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:821:9: note: in expansion of macro ‘force_ascii’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:148:21: note: read of 4 bytes from after the end of ‘wch’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:148:21: note: valid subscripts for ‘wch’ are ‘[0]’ to ‘[0]’
# └──────────────────────────────────┘
# ^
# 146| if (dest != NULL && count != DECODE_ERROR) {
# 147| for (size_t i=0; i < count; i++) {
# 148|-> wchar_t ch = dest[i];
# 149| if (!is_valid_wide_char(ch)) {
# 150| return DECODE_ERROR;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def548]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c: scope_hint: In function ‘_Py_fopen_obj’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1822:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path_bytes, mode)’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/bytesobject.h:59: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:74: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1813:18: note: in expansion of macro ‘PyBytes_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1813:18: note: in expansion of macro ‘PyBytes_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1813:18: note: in expansion of macro ‘PyBytes_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:120: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1821:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
# 1820| do {
# 1821| Py_BEGIN_ALLOW_THREADS
# 1822|-> f = fopen(path_bytes, mode);
# 1823| Py_END_ALLOW_THREADS
# 1824| } while (f == NULL
Error: GCC_ANALYZER_WARNING (CWE-401): [#def549]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1822:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path_bytes, mode)’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1813:18: note: in expansion of macro ‘PyBytes_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1813:18: note: in expansion of macro ‘PyBytes_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1813:18: note: in expansion of macro ‘PyBytes_AS_STRING’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:1821:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’
# 1820| do {
# 1821| Py_BEGIN_ALLOW_THREADS
# 1822|-> f = fopen(path_bytes, mode);
# 1823| Py_END_ALLOW_THREADS
# 1824| } while (f == NULL
Error: COMPILER_WARNING: [#def550]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c: scope_hint: In function ‘_Py_IsValidFD’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/fileutils.c:3103:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/fileutils.gcda’ profile count data file not found
# 3101| return (fstat(fd, &st) == 0);
# 3102| #endif
# 3103|-> }
Error: CLANG_WARNING: [#def551]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:702:21: warning[core.NullDereference]: Access to field 'depth' results in a dereference of a null pointer (loaded from variable 'stack')
# 700| }
# 701| assert(stack->depth <= CO_MAXBLOCKS);
# 702|-> stack->handlers[++stack->depth] = target;
# 703| return target;
# 704| }
Error: CLANG_WARNING: [#def552]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:709:28: warning[core.NullDereference]: Access to field 'depth' results in a dereference of a null pointer (loaded from variable 'stack')
# 707| pop_except_block(struct _PyCfgExceptStack *stack) {
# 708| assert(stack->depth > 0);
# 709|-> return stack->handlers[--stack->depth];
# 710| }
# 711|
Error: CLANG_WARNING: [#def553]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:736:5: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 734| return NULL;
# 735| }
# 736|-> memcpy(copy, stack, sizeof(struct _PyCfgExceptStack));
# 737| return copy;
# 738| }
Error: CLANG_WARNING: [#def554]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:757:11: warning[core.NullDereference]: Access to field 'b_startdepth' results in a dereference of a null pointer (loaded from variable 'b')
# 755| stackdepth_push(basicblock ***sp, basicblock *b, int depth)
# 756| {
# 757|-> if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
# 758| PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
# 759| return ERROR;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def555]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c: scope_hint: In function ‘label_exception_targets’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:870:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entryblock’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:19:10: note: in definition of macro ‘RETURN_IF_ERROR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:19:10: note: in definition of macro ‘RETURN_IF_ERROR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:2490:5: note: in expansion of macro ‘RETURN_IF_ERROR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:19:10: note: in definition of macro ‘RETURN_IF_ERROR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:19:10: note: in definition of macro ‘RETURN_IF_ERROR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c: scope_hint: In function ‘label_exception_targets’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:19:10: note: in definition of macro ‘RETURN_IF_ERROR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:19:10: note: in definition of macro ‘RETURN_IF_ERROR’
# 868| except_stack->depth = 0;
# 869| todo_stack[0] = entryblock;
# 870|-> entryblock->b_visited = 1;
# 871| entryblock->b_exceptstack = except_stack;
# 872| basicblock **todo = &todo_stack[1];
Error: CLANG_WARNING: [#def556]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:924:43: warning[core.NullDereference]: Access to field 'depth' results in a dereference of a null pointer (loaded from variable 'except_stack')
# 922| else if (instr->i_opcode == YIELD_VALUE) {
# 923| instr->i_except = handler;
# 924|-> last_yield_except_depth = except_stack->depth;
# 925| }
# 926| else if (instr->i_opcode == RESUME) {
Error: CLANG_WARNING: [#def557]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:976:32: warning[core.NullDereference]: Access to field 'b_predecessors' results in a dereference of a null pointer (loaded from variable 'entryblock')
# 974| }
# 975| basicblock **sp = stack;
# 976|-> entryblock->b_predecessors = 1;
# 977| *sp++ = entryblock;
# 978| while (sp > stack) {
Error: COMPILER_WARNING: [#def558]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c: scope_hint: In function ‘_PyCfg_JumpLabelsToTargets’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/flowgraph.c:2800:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/flowgraph.gcda’ profile count data file not found
# 2798| RETURN_IF_ERROR(label_exception_targets(g->g_entryblock));
# 2799| return SUCCESS;
# 2800|-> }
Error: COMPILER_WARNING: [#def559]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/formatter_unicode.c: scope_hint: In function ‘_PyComplex_FormatAdvancedWriter’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/formatter_unicode.c:1623:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/formatter_unicode.gcda’ profile count data file not found
# 1621| return -1;
# 1622| }
# 1623|-> }
Error: COMPILER_WARNING: [#def560]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/frame.c: scope_hint: In function ‘PyUnstable_InterpreterFrame_GetLine’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/frame.c:162:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/frame.gcda’ profile count data file not found
# 160| [PyUnstable_EXECUTABLE_KIND_METHOD_DESCRIPTOR] = &PyMethodDescr_Type,
# 161| [PyUnstable_EXECUTABLE_KINDS] = NULL,
# 162|-> };
Error: COMPILER_WARNING: [#def561]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/frozenmain.c: scope_hint: In function ‘Py_FrozenMain’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/frozenmain.c:99:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/frozenmain.gcda’ profile count data file not found
# 97| }
# 98| return sts;
# 99|-> }
Error: COMPILER_WARNING: [#def562]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/future.c: scope_hint: In function ‘_PyFuture_FromAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/future.c:111:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/future.gcda’ profile count data file not found
# 109| }
# 110| return 1;
# 111|-> }
Error: COMPILER_WARNING: [#def563]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/gc.c: scope_hint: In function ‘PyUnstable_GC_VisitObjects’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/gc.c:2176:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/gc.gcda’ profile count data file not found
# 2174| done:
# 2175| gcstate->enabled = origenstate;
# 2176|-> }
# 2177|
# 2178| #endif // Py_GIL_DISABLED
Error: CLANG_WARNING: [#def564]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/gc_free_threading.c:854:5: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 852| PyObject *op;
# 853| struct worklist_iter iter;
# 854|-> WORKSTACK_FOR_EACH_ITER(&state->unreachable, &iter, op) {
# 855| assert(gc_is_unreachable(op));
# 856| assert(_Py_REF_IS_MERGED(op->ob_ref_shared));
Error: CLANG_WARNING: [#def565]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/gc_free_threading.c:909:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 907| if (any_resurrected) {
# 908| // Remove resurrected objects from the unreachable list.
# 909|-> WORKSTACK_FOR_EACH_ITER(&state->unreachable, &iter, op) {
# 910| if (!gc_is_unreachable(op)) {
# 911| _PyObject_ASSERT(op, Py_REFCNT(op) > 1);
Error: COMPILER_WARNING: [#def566]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/gc_free_threading.c: scope_hint: In function ‘_PyGC_ClearAllFreeLists’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/gc_free_threading.c:1851:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/freethreading/gc_free_threading.gcda’ profile count data file not found
# 1849| }
# 1850| HEAD_UNLOCK(&_PyRuntime);
# 1851|-> }
# 1852|
# 1853| #endif // Py_GIL_DISABLED
Error: COMPILER_WARNING: [#def567]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/gc_gil.c: scope_hint: In function ‘_PyGC_ClearAllFreeLists’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/gc_gil.c:15:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/gc_gil.gcda’ profile count data file not found
# 13| {
# 14| _PyObject_ClearFreeLists(&interp->object_state.freelists, 0);
# 15|-> }
# 16|
# 17| #endif
Error: CLANG_WARNING: [#def568]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/ceval.c:794: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/generated_cases.c.h:737:13: warning[deadcode.DeadStores]: Value stored to 'next_instr' is never read
# 735| TARGET(CACHE) {
# 736| frame->instr_ptr = next_instr;
# 737|-> next_instr += 1;
# 738| INSTRUCTION_STATS(CACHE);
# 739| assert(0 && "Executing a cache.");
Error: CLANG_WARNING: [#def569]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/generated_cases.c.h:2660:13: warning[deadcode.DeadStores]: Value stored to 'next_instr' is never read
# 2658| _Py_CODEUNIT *this_instr = frame->instr_ptr = next_instr;
# 2659| (void)this_instr;
# 2660|-> next_instr += 1;
# 2661| INSTRUCTION_STATS(ENTER_EXECUTOR);
# 2662| #ifdef _Py_TIER2
Error: CLANG_WARNING: [#def570]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/generated_cases.c.h:3567:13: warning[deadcode.DeadStores]: Value stored to 'next_instr' is never read
# 3565| TARGET(INTERPRETER_EXIT) {
# 3566| frame->instr_ptr = next_instr;
# 3567|-> next_instr += 1;
# 3568| INSTRUCTION_STATS(INTERPRETER_EXIT);
# 3569| PyObject *retval;
Error: CLANG_WARNING: [#def571]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/generated_cases.c.h:5119:13: warning[deadcode.DeadStores]: Value stored to 'next_instr' is never read
# 5117| TARGET(RESERVED) {
# 5118| frame->instr_ptr = next_instr;
# 5119|-> next_instr += 1;
# 5120| INSTRUCTION_STATS(RESERVED);
# 5121| assert(0 && "Executing RESERVED instruction.");
Error: CLANG_WARNING: [#def572]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/generated_cases.c.h:5181:13: warning[deadcode.DeadStores]: Value stored to 'next_instr' is never read
# 5179| TARGET(RETURN_CONST) {
# 5180| frame->instr_ptr = next_instr;
# 5181|-> next_instr += 1;
# 5182| INSTRUCTION_STATS(RETURN_CONST);
# 5183| PyObject *value;
Error: CLANG_WARNING: [#def573]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/generated_cases.c.h:5245:13: warning[deadcode.DeadStores]: Value stored to 'next_instr' is never read
# 5243| TARGET(RETURN_VALUE) {
# 5244| frame->instr_ptr = next_instr;
# 5245|-> next_instr += 1;
# 5246| INSTRUCTION_STATS(RETURN_VALUE);
# 5247| PyObject *retval;
Error: CLANG_WARNING: [#def574]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/generated_cases.c.h:6212:13: warning[deadcode.DeadStores]: Value stored to 'next_instr' is never read
# 6210| TARGET(YIELD_VALUE) {
# 6211| frame->instr_ptr = next_instr;
# 6212|-> next_instr += 1;
# 6213| INSTRUCTION_STATS(YIELD_VALUE);
# 6214| PyObject *retval;
Error: CLANG_WARNING: [#def575]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:580:9: warning[core.NullDereference]: Array access (from variable 'expected') results in a null pointer dereference
# 578| assert(expected != NULL);
# 579| assert(arg != NULL);
# 580|-> if (expected[0] == '(') {
# 581| PyOS_snprintf(msgbuf, bufsize,
# 582| "%.100s", expected);
Error: CLANG_WARNING: [#def576]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2210:9: warning[deadcode.DeadStores]: Value stored to 'msg' is never read
# 2208| /* We are into optional args, skip through to any remaining
# 2209| * keyword args */
# 2210|-> msg = skipitem(&format, p_va, flags);
# 2211| assert(msg == NULL);
# 2212| }
Error: CLANG_WARNING: [#def577]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2374:18: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference
# 2372| /* copy tuple args */
# 2373| for (i = 0; i < nargs; i++) {
# 2374|-> buf[i] = args[i];
# 2375| }
# 2376|
Error: CLANG_WARNING: [#def578]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2525:55: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference
# 2523| for (i = 0; i < nargs; i++) {
# 2524| if (i >= vararg) {
# 2525|-> PyTuple_SET_ITEM(buf[vararg], i - vararg, Py_NewRef(args[i]));
# 2526| continue;
# 2527| }
Error: CLANG_WARNING: [#def579]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2529:22: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference
# 2527| }
# 2528| else {
# 2529|-> buf[i] = args[i];
# 2530| }
# 2531| }
Error: GCC_ANALYZER_WARNING (CWE-404): [#def580]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c: scope_hint: In function ‘PyArg_UnpackTuple’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2820:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:60: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:5: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pymacro.h:185:37: note: in definition of macro ‘_Py_RVALUE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:17:13: note: in expansion of macro ‘PyTuple_Check’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_tuple.h:21:39: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2813:13: note: in expansion of macro ‘_PyTuple_ITEMS’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/pymacro.h:185:37: note: in definition of macro ‘_Py_RVALUE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_tuple.h:21:39: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2813:13: note: in expansion of macro ‘_PyTuple_ITEMS’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/tupleobject.h:39: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:84: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2814:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:19: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2814:13: note: in expansion of macro ‘PyTuple_GET_SIZE’
# 2818| va_end(vargs);
# 2819| return retval;
# 2820|-> }
# 2821|
# 2822| int
Error: GCC_ANALYZER_WARNING (CWE-404): [#def581]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c: scope_hint: In function ‘_PyArg_UnpackStack’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2833:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_emscripten_trampoline.h:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_object.h:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_dict.h:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:7: included_from: Included from here.
# 2831| va_end(vargs);
# 2832| return retval;
# 2833|-> }
# 2834|
# 2835|
Error: COMPILER_WARNING: [#def582]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c: scope_hint: In function ‘_PyArg_Fini’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getargs.c:2909:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getargs.gcda’ profile count data file not found
# 2907| }
# 2908| _PyRuntime.getargs.static_parsers = NULL;
# 2909|-> }
Error: COMPILER_WARNING: [#def583]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getcompiler.c: scope_hint: In function ‘Py_GetCompiler’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getcompiler.c:27:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getcompiler.gcda’ profile count data file not found
# 25| {
# 26| return COMPILER;
# 27|-> }
Error: COMPILER_WARNING: [#def584]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getcopyright.c: scope_hint: In function ‘Py_GetCopyright’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getcopyright.c:23:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getcopyright.gcda’ profile count data file not found
# 21| {
# 22| return cprt;
# 23|-> }
Error: COMPILER_WARNING: [#def585]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getopt.c: scope_hint: In function ‘_PyOS_GetOpt’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getopt.c:170:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getopt.gcda’ profile count data file not found
# 168|
# 169| return option;
# 170|-> }
Error: COMPILER_WARNING: [#def586]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getplatform.c: scope_hint: In function ‘Py_GetPlatform’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getplatform.c:12:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getplatform.gcda’ profile count data file not found
# 10| {
# 11| return PLATFORM;
# 12|-> }
Error: COMPILER_WARNING: [#def587]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getversion.c: scope_hint: In function ‘Py_GetVersion’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/getversion.c:34:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/getversion.gcda’ profile count data file not found
# 32|
# 33| // Export the Python hex version as a constant.
# 34|-> const unsigned long Py_Version = PY_VERSION_HEX;
Error: COMPILER_WARNING: [#def588]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/hamt.c: scope_hint: In function ‘hamt_py_keys’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/hamt.c:2895:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/hamt.gcda’ profile count data file not found
# 2893| .tp_free = PyObject_GC_Del,
# 2894| .tp_hash = PyObject_HashNotImplemented,
# 2895|-> };
Error: COMPILER_WARNING: [#def589]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/hashtable.c: scope_hint: In function ‘_Py_hashtable_destroy’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/hashtable.c:424:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/hashtable.gcda’ profile count data file not found
# 422| ht->alloc.free(ht->buckets);
# 423| ht->alloc.free(ht);
# 424|-> }
Error: CLANG_WARNING: [#def590]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:993:12: warning[core.NullDereference]: Access to field 'm_index' results in a dereference of a null pointer (loaded from variable 'cached')
# 991| {
# 992| assert(cached->m_index > 0);
# 993|-> return cached->m_index;
# 994| }
# 995|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def591]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:993:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cached’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘finish_singlephase_extension’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘finish_singlephase_extension’
# 991| {
# 992| assert(cached->m_index > 0);
# 993|-> return cached->m_index;
# 994| }
# 995|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def592]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘reload_singlephase_extension’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:1734:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cached’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘reload_singlephase_extension’
# 1732| struct _Py_ext_module_loader_info *info)
# 1733| {
# 1734|-> PyModuleDef *def = cached->def;
# 1735| assert(def != NULL);
# 1736| assert_singlephase(cached);
Error: CLANG_WARNING: [#def593]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:1734:24: warning[core.NullDereference]: Access to field 'def' results in a dereference of a null pointer (loaded from variable 'cached')
# 1732| struct _Py_ext_module_loader_info *info)
# 1733| {
# 1734|-> PyModuleDef *def = cached->def;
# 1735| assert(def != NULL);
# 1736| assert_singlephase(cached);
Error: COMPILER_WARNING: [#def594]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c: scope_hint: In function ‘PyInit__imp’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/import.c:4826:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/import.gcda’ profile count data file not found
# 4824| {
# 4825| return PyModuleDef_Init(&imp_module);
# 4826|-> }
Error: COMPILER_WARNING: [#def595]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/importdl.c: scope_hint: In function ‘_PyImport_RunModInitFunc’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/importdl.c:515:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/importdl.gcda’ profile count data file not found
# 513| p_res->err = &p_res->_err;
# 514| return -1;
# 515|-> }
# 516|
# 517| #endif /* HAVE_DYNAMIC_LOADING */
Error: CLANG_WARNING: [#def596]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/initconfig.c:2827:23: warning[core.NullDereference]: Array access (via field 'items') results in a null pointer dereference
# 2825| }
# 2826|
# 2827|-> PyMem_RawFree(config_argv.items[0]);
# 2828| config_argv.items[0] = arg0;
# 2829| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def597]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/initconfig.c: scope_hint: In function ‘config_read_cmdline’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/initconfig.c:2925:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘opt_index’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/initconfig.c:5: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/initconfig.c:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/initconfig.c:2875:16: note: in expansion of macro ‘_PyStatus_OK’
# 2923| }
# 2924|
# 2925|-> status = config_update_argv(config, opt_index);
# 2926| if (_PyStatus_EXCEPTION(status)) {
# 2927| goto done;
Error: COMPILER_WARNING: [#def598]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/initconfig.c: scope_hint: In function ‘_Py_DumpPathConfig’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/initconfig.c:3246:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/initconfig.gcda’ profile count data file not found
# 3244|
# 3245| _PyErr_SetRaisedException(tstate, exc);
# 3246|-> }
Error: COMPILER_WARNING: [#def599]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/instruction_sequence.c: scope_hint: In function ‘inst_seq_clear’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/instruction_sequence.c:453:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/instruction_sequence.gcda’ profile count data file not found
# 451| 0, /* tp_alloc */
# 452| inst_seq_new, /* tp_new */
# 453|-> };
Error: CLANG_WARNING: [#def600]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/instrumentation.c:769:31: warning[core.NullDereference]: Array access (via field 'tools') results in a null pointer dereference
# 767| else {
# 768| /* Single tool */
# 769|-> uint8_t single_tool = code->_co_monitoring->active_monitors.tools[event];
# 770| assert(_Py_popcount32(single_tool) <= 1);
# 771| if (((single_tool & tools) == single_tool)) {
Error: COMPILER_WARNING: [#def601]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/instrumentation.c: scope_hint: In function ‘_PyMonitoring_FireStopIterationEvent’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/instrumentation.c:2731:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/instrumentation.gcda’ profile count data file not found
# 2729| Py_DECREF(exc);
# 2730| return exception_event_teardown(err, NULL);
# 2731|-> }
Error: COMPILER_WARNING: [#def602]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/interpconfig.c: scope_hint: In function ‘_PyInterpreterConfig_InitFromState’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/interpconfig.c:268:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/interpconfig.gcda’ profile count data file not found
# 266| };
# 267| return 0;
# 268|-> }
Error: COMPILER_WARNING: [#def603]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/intrinsics.c: scope_hint: In function ‘_PyCompile_GetBinaryIntrinsicName’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/intrinsics.c:286:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/intrinsics.gcda’ profile count data file not found
# 284| }
# 285| return PyUnicode_FromString(_PyIntrinsics_BinaryFunctions[index].name);
# 286|-> }
Error: CLANG_WARNING: [#def604]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/jit.c:453:5: warning[deadcode.DeadStores]: Value stored to 'code' is never read
# 451| group = &stencil_groups[_FATAL_ERROR];
# 452| group->emit(code, data, executor, NULL, instruction_starts);
# 453|-> code += group->code_size;
# 454| data += group->data_size;
# 455| assert(code == memory + code_size);
Error: CLANG_WARNING: [#def605]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/jit.c:454:5: warning[deadcode.DeadStores]: Value stored to 'data' is never read
# 452| group->emit(code, data, executor, NULL, instruction_starts);
# 453| code += group->code_size;
# 454|-> data += group->data_size;
# 455| assert(code == memory + code_size);
# 456| assert(data == memory + code_size + data_size);
Error: COMPILER_WARNING: [#def606]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/jit.c: scope_hint: In function ‘_PyJIT_Free’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/jit.c:480:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/jit.gcda’ profile count data file not found
# 478| }
# 479| }
# 480|-> }
# 481|
# 482| #endif // _Py_JIT
Error: COMPILER_WARNING: [#def607]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/legacy_tracing.c: scope_hint: In function ‘_PyEval_SetTrace’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/legacy_tracing.c:617:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/legacy_tracing.gcda’ profile count data file not found
# 615|
# 616| return _PyMonitoring_SetEvents(PY_MONITORING_SYS_TRACE_ID, events);
# 617|-> }
Error: COMPILER_WARNING: [#def608]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/lock.c: scope_hint: In function ‘PyMutex_Unlock’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/lock.c:588:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/lock.gcda’ profile count data file not found
# 586| Py_FatalError("unlocking mutex that is not locked");
# 587| }
# 588|-> }
Error: CLANG_WARNING: [#def609]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/marshal.c:220:5: warning[core.NullDereference]: Dereference of null pointer
# 218| w_short_pstring(const void *s, Py_ssize_t n, WFILE *p)
# 219| {
# 220|-> w_byte(Py_SAFE_DOWNCAST(n, Py_ssize_t, unsigned char), p);
# 221| w_string(s, n, p);
# 222| }
Error: COMPILER_WARNING: [#def610]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/marshal.c: scope_hint: In function ‘PyMarshal_Init’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/marshal.c:1980:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/marshal.gcda’ profile count data file not found
# 1978| {
# 1979| return PyModuleDef_Init(&marshalmodule);
# 1980|-> }
Error: COMPILER_WARNING: [#def611]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/modsupport.c: scope_hint: In function ‘PyModule_AddType’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/modsupport.c:649:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/modsupport.gcda’ profile count data file not found
# 647|
# 648| return PyModule_AddObjectRef(module, name, (PyObject *)type);
# 649|-> }
Error: COMPILER_WARNING: [#def612]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/mysnprintf.c: scope_hint: In function ‘PyOS_vsnprintf’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/mysnprintf.c:80:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/mysnprintf.gcda’ profile count data file not found
# 78| }
# 79| return len;
# 80|-> }
Error: COMPILER_WARNING: [#def613]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/mystrtoul.c: scope_hint: In function ‘PyOS_strtol’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/mystrtoul.c:297:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/mystrtoul.gcda’ profile count data file not found
# 295| }
# 296| return result;
# 297|-> }
Error: COMPILER_WARNING: [#def614]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/object_stack.c: scope_hint: In function ‘_PyObjectStackChunk_ClearFreeList’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/object_stack.c:108:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/object_stack.gcda’ profile count data file not found
# 106| }
# 107| freelist->numfree = -1;
# 108|-> }
Error: COMPILER_WARNING: [#def615]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer.c: scope_hint: In function ‘_Py_Executors_InvalidateAll’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer.c:1709:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/optimizer.gcda’ profile count data file not found
# 1707| }
# 1708| }
# 1709|-> }
# 1710|
# 1711| #endif /* _Py_TIER2 */
Error: COMPILER_WARNING: [#def616]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_analysis.c: scope_hint: In function ‘_Py_uop_analyze_and_optimize’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_analysis.c:606:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/optimizer_analysis.gcda’ profile count data file not found
# 604| OPT_STAT_INC(optimizer_successes);
# 605| return length;
# 606|-> }
# 607|
# 608| #endif /* _Py_TIER2 */
Error: GCC_ANALYZER_WARNING (CWE-476): [#def617]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_is_not_null’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:96:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:56:9: note: in expansion of macro ‘DPRINTF’
/usr/include/dlfcn.h:24: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_import.h:107: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_long.h:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:7: included_from: Included from here.
# 94| _Py_uop_sym_is_not_null(_Py_UopsSymbol *sym)
# 95| {
# 96|-> return sym->flags == NOT_NULL;
# 97| }
# 98|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def618]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:108:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/Python.h:68: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:3: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:78:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:433:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:434:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:434:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:436:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:444:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:445:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:445:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:446:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:447:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:447:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:448:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:452:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:78:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:146:25: note: in expansion of macro ‘Py_TYPE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:470:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:471:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:472:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:472:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:473:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:474:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:474:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:475:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:477:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:477:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:480:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:481:5: note: in expansion of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:78:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:78:5: note: in expansion of macro ‘Py_CLEAR’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
/usr/include/dlfcn.h:24: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_import.h:107: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_long.h:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:7: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:391:11: note: in definition of macro ‘TEST_PREDICATE’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’
# 106| _Py_uop_sym_is_const(_Py_UopsSymbol *sym)
# 107| {
# 108|-> return sym->const_val != NULL;
# 109| }
# 110|
Error: COMPILER_WARNING: [#def619]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_symbols_test’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/optimizer_symbols.c:512:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/optimizer_symbols.gcda’ profile count data file not found
# 510| Py_XDECREF(val_43);
# 511| return NULL;
# 512|-> }
# 513|
# 514| #endif /* _Py_TIER2 */
Error: COMPILER_WARNING: [#def620]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/parking_lot.c: scope_hint: In function ‘_PyParkingLot_AfterFork’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/parking_lot.c:394:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/parking_lot.gcda’ profile count data file not found
# 392| llist_init(&buckets[i].root);
# 393| }
# 394|-> }
Error: COMPILER_WARNING: [#def621]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pathconfig.c: scope_hint: In function ‘_PyPathConfig_ComputeSysPath0’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pathconfig.c:496:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pathconfig.gcda’ profile count data file not found
# 494| *path0_p = path0_obj;
# 495| return 1;
# 496|-> }
Error: COMPILER_WARNING: [#def622]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/perf_jit_trampoline.c: scope_hint: In function ‘perf_map_jit_fini’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/perf_jit_trampoline.c:614:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/perf_jit_trampoline.gcda’ profile count data file not found
# 612| &perf_map_jit_write_entry,
# 613| &perf_map_jit_fini,
# 614|-> };
# 615|
# 616| #endif
Error: GCC_ANALYZER_WARNING (CWE-465): [#def623]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/perf_trampoline.c: scope_hint: In function ‘compile_trampoline’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/perf_trampoline.c:369:8: warning[-Wanalyzer-deref-before-check]: check of ‘_PyRuntime.ceval.perf.code_arena’ for NULL after already dereferencing it
# 367| {
# 368| size_t total_code_size = round_up(perf_code_arena->code_size + trampoline_api.code_padding, 16);
# 369|-> if ((perf_code_arena == NULL) ||
# 370| (perf_code_arena->size_left <= total_code_size)) {
# 371| if (new_code_arena() < 0) {
Error: COMPILER_WARNING: [#def624]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/perf_trampoline.c: scope_hint: In function ‘_PyPerfTrampoline_AfterFork_Child’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/perf_trampoline.c:570:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/perf_trampoline.gcda’ profile count data file not found
# 568| #endif
# 569| return PyStatus_Ok();
# 570|-> }
Error: COMPILER_WARNING: [#def625]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/preconfig.c: scope_hint: In function ‘_PyPreConfig_Write’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/preconfig.c:978:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/preconfig.gcda’ profile count data file not found
# 976|
# 977| return _PyStatus_OK();
# 978|-> }
Error: COMPILER_WARNING: [#def626]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pyarena.c: scope_hint: In function ‘_PyArena_AddPyObject’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pyarena.c:211:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pyarena.gcda’ profile count data file not found
# 209| }
# 210| return r;
# 211|-> }
Error: COMPILER_WARNING: [#def627]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pyfpe.c: scope_hint: In function ‘PyFPE_dummy’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pyfpe.c:18:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pyfpe.gcda’ profile count data file not found
# 16| {
# 17| return 1.0;
# 18|-> }
Error: COMPILER_WARNING: [#def628]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pyhash.c: scope_hint: In function ‘pysiphash’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pyhash.c:483:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pyhash.gcda’ profile count data file not found
# 481| }
# 482|
# 483|-> static PyHash_FuncDef PyHash_Func = {pysiphash, "siphash13", 64, 128};
# 484| #endif
# 485|
Error: COMPILER_WARNING: [#def629]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pylifecycle.c: scope_hint: In function ‘PyOS_setsig’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pylifecycle.c:3469:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pylifecycle.gcda’ profile count data file not found
# 3467| return oldhandler;
# 3468| #endif
# 3469|-> }
Error: COMPILER_WARNING: [#def630]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pymath.c: scope_hint: In function ‘_Py_set_387controlword’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pymath.c:18:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/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: COMPILER_WARNING: [#def631]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pystate.c: scope_hint: In function ‘_PyThreadState_ClearMimallocHeaps’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pystate.c:3105:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pystate.gcda’ profile count data file not found
# 3103| }
# 3104| #endif
# 3105|-> }
Error: COMPILER_WARNING: [#def632]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pystrcmp.c: scope_hint: In function ‘PyOS_mystricmp’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pystrcmp.c:30:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pystrcmp.gcda’ profile count data file not found
# 28| }
# 29| return (Py_TOLOWER(*p1) - Py_TOLOWER(*p2));
# 30|-> }
Error: COMPILER_WARNING: [#def633]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pystrhex.c: scope_hint: In function ‘_Py_strhex_bytes_with_sep’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pystrhex.c:172:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pystrhex.gcda’ profile count data file not found
# 170| {
# 171| return _Py_strhex_impl(argbuf, arglen, sep, bytes_per_group, 1);
# 172|-> }
Error: COMPILER_WARNING: [#def634]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pystrtod.c: scope_hint: In function ‘PyOS_double_to_string’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pystrtod.c:1285:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pystrtod.gcda’ profile count data file not found
# 1283| flags & Py_DTSF_NO_NEG_0,
# 1284| float_strings, type);
# 1285|-> }
# 1286| #endif // _PY_SHORT_FLOAT_REPR == 1
Error: COMPILER_WARNING: [#def635]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pythonrun.c: scope_hint: In function ‘PyRun_InteractiveLoop’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pythonrun.c:1655:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pythonrun.gcda’ profile count data file not found
# 1653| {
# 1654| return PyRun_InteractiveLoopFlags(f, p, NULL);
# 1655|-> }
Error: COMPILER_WARNING: [#def636]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pytime.c: scope_hint: In function ‘_PyDeadline_Get’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/pytime.c:1369:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/pytime.gcda’ profile count data file not found
# 1367| (void)PyTime_MonotonicRaw(&now);
# 1368| return deadline - now;
# 1369|-> }
Error: COMPILER_WARNING: [#def637]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/qsbr.c: scope_hint: In function ‘_Py_qsbr_after_fork’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/qsbr.c:289:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/qsbr.gcda’ profile count data file not found
# 287| }
# 288| }
# 289|-> }
Error: COMPILER_WARNING: [#def638]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/specialize.c: scope_hint: In function ‘_Py_Specialize_ContainsOp’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/specialize.c:2583:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/specialize.gcda’ profile count data file not found
# 2581| RESUME, RESUME_AT_FUNC_START,
# 2582| }
# 2583|-> };
Error: COMPILER_WARNING: [#def639]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/structmember.c: scope_hint: In function ‘PyMember_SetOne’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/structmember.c:365:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/structmember.gcda’ profile count data file not found
# 363| }
# 364| return 0;
# 365|-> }
Error: COMPILER_WARNING: [#def640]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/suggestions.c: scope_hint: In function ‘_Py_UTF8_Edit_Cost’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/suggestions.c:204:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/suggestions.gcda’ profile count data file not found
# 202| PyMem_Free(buffer);
# 203| return res;
# 204|-> }
# 205|
Error: CLANG_WARNING: [#def641]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/symtable.c:1624:28: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference
# 1622| {
# 1623| for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
# 1624|-> expr_ty default_ = asdl_seq_GET(kw_defaults, i);
# 1625| if (default_) {
# 1626| return 1;
Error: CLANG_WARNING: [#def642]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/symtable.c:2298:27: warning[core.NullDereference]: Access to field 'ste_can_see_class_scope' results in a dereference of a null pointer (loaded from field 'st_cur')
# 2296| {
# 2297| if (e) {
# 2298|-> int is_in_class = st->st_cur->ste_can_see_class_scope;
# 2299| if (!symtable_enter_block(st, name, TypeVariableBlock, key, LOCATION(e)))
# 2300| return 0;
Error: CLANG_WARNING: [#def643]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/symtable.c:2707:35: warning[core.NullDereference]: Access to field 'ste_coroutine' results in a dereference of a null pointer (loaded from field 'st_cur')
# 2705| }
# 2706| if (is_async) {
# 2707|-> st->st_cur->ste_coroutine = 1;
# 2708| }
# 2709| return 1;
Error: COMPILER_WARNING: [#def644]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/symtable.c: scope_hint: In function ‘_Py_Mangle’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/symtable.c:2902:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/symtable.gcda’ profile count data file not found
# 2900| assert(_PyUnicode_CheckConsistency(result, 1));
# 2901| return result;
# 2902|-> }
Error: GCC_ANALYZER_WARNING (CWE-404): [#def645]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c: scope_hint: In function ‘PySys_Audit’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:337:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_pystate.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_call.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:18: included_from: Included from here.
# 335| va_end(vargs);
# 336| return res;
# 337|-> }
# 338|
# 339| int
Error: GCC_ANALYZER_WARNING (CWE-775): [#def646]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c: scope_hint: In function ‘PyUnstable_CopyPerfMapFile’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:2520:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(parent_filename, "r")’
# 2518| PyAPI_FUNC(int) PyUnstable_CopyPerfMapFile(const char* parent_filename) {
# 2519| #ifndef MS_WINDOWS
# 2520|-> FILE* from = fopen(parent_filename, "r");
# 2521| if (!from) {
# 2522| return -1;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def647]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:2520:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(parent_filename, "r")’
# 2518| PyAPI_FUNC(int) PyUnstable_CopyPerfMapFile(const char* parent_filename) {
# 2519| #ifndef MS_WINDOWS
# 2520|-> FILE* from = fopen(parent_filename, "r");
# 2521| if (!from) {
# 2522| return -1;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def648]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:2522:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘from’
# 2520| FILE* from = fopen(parent_filename, "r");
# 2521| if (!from) {
# 2522|-> return -1;
# 2523| }
# 2524| if (perf_map_state.perf_map == NULL) {
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:2522:16: warning[-Wanalyzer-malloc-leak]: leak of ‘from’
# 2520| FILE* from = fopen(parent_filename, "r");
# 2521| if (!from) {
# 2522|-> return -1;
# 2523| }
# 2524| if (perf_map_state.perf_map == NULL) {
Error: GCC_ANALYZER_WARNING (CWE-775): [#def650]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c: scope_hint: In function ‘PyUnstable_CopyPerfMapFile’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:2524:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(parent_filename, "r")’
# 2522| return -1;
# 2523| }
# 2524|-> if (perf_map_state.perf_map == NULL) {
# 2525| int ret = PyUnstable_PerfMapState_Init();
# 2526| if (ret != 0) {
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:2524:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(parent_filename, "r")’
# 2522| return -1;
# 2523| }
# 2524|-> if (perf_map_state.perf_map == NULL) {
# 2525| int ret = PyUnstable_PerfMapState_Init();
# 2526| if (ret != 0) {
Error: COMPILER_WARNING: [#def652]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c: scope_hint: In function ‘PySys_FormatStderr’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/sysmodule.c:4131:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/sysmodule.gcda’ profile count data file not found
# 4129| sys_format(&_Py_ID(stderr), stderr, format, va);
# 4130| va_end(va);
# 4131|-> }
Error: COMPILER_WARNING: [#def653]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/thread.c: scope_hint: In function ‘_PyThread_FiniType’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/thread.c:300:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/thread.gcda’ profile count data file not found
# 298| {
# 299| _PyStructSequence_FiniBuiltin(interp, &ThreadInfoType);
# 300|-> }
Error: CLANG_WARNING: [#def654]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/traceback.c:1017:25: warning[core.NullDereference]: Access to field 'thread_id' results in a dereference of a null pointer (loaded from variable 'tstate')
# 1015| PUTS(fd, "Thread 0x");
# 1016| _Py_DumpHexadecimal(fd,
# 1017|-> tstate->thread_id,
# 1018| sizeof(unsigned long) * 2);
# 1019| PUTS(fd, " (most recent call first):\n");
Error: COMPILER_WARNING: [#def655]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/traceback.c: scope_hint: In function ‘_Py_DumpTracebackThreads’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/traceback.c:1097:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/traceback.gcda’ profile count data file not found
# 1095|
# 1096| return NULL;
# 1097|-> }
# 1098|
Error: GCC_ANALYZER_WARNING (CWE-404): [#def656]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/tracemalloc.c: scope_hint: In function ‘tracemalloc_error’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/tracemalloc.c:94:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_backoff.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_code.h:12: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_interp.h:16: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_runtime.h:17: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_emscripten_trampoline.h:4: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Include/internal/pycore_object.h:13: included_from: Included from here.
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/tracemalloc.c:5: included_from: Included from here.
# 92| fprintf(stderr, "\n");
# 93| fflush(stderr);
# 94|-> }
# 95| #endif
# 96|
Error: CLANG_WARNING: [#def657]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/tracemalloc.c:261:26: warning[deadcode.DeadStores]: Although the value stored to 'filename' is used in the enclosing expression, the value is never actually read from 'filename'
# 259| frame->lineno = (unsigned int)lineno;
# 260|
# 261|-> PyObject *filename = filename = ((PyCodeObject *)pyframe->f_executable)->co_filename;
# 262|
# 263| if (filename == NULL) {
Error: COMPILER_WARNING: [#def658]
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/tracemalloc.c: scope_hint: In function ‘_PyTraceMalloc_ResetPeak’
python3.13-3.13.0_b3-build/Python-3.13.0b3/Python/tracemalloc.c:1570:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_b3-build/Python-3.13.0b3/build/optimized/tracemalloc.gcda’ profile count data file not found
# 1568| tracemalloc_peak_traced_memory = tracemalloc_traced_memory;
# 1569| TABLES_UNLOCK();
# 1570|-> }
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-36.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | python3.13-3.13.0~b3-2.fc41 |
store-results-to | /tmp/tmpsb2mm_cw/python3.13-3.13.0~b3-2.fc41.tar.xz |
time-created | 2024-07-03 18:50:06 |
time-finished | 2024-07-03 20:14:41 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpsb2mm_cw/python3.13-3.13.0~b3-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpsb2mm_cw/python3.13-3.13.0~b3-2.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |