Task #1881 - python3.13-3.13.0~a5-2.fc40/scan-results.err
back to task #1881download
Error: GCC_ANALYZER_WARNING (CWE-775): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:109: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/socketmodule.c:108: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/socketmodule.c: scope_hint: In function ‘sock_listen’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/ceval.h:118:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*s.sock_fd’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/socketmodule.c:3625:5: note: in expansion of macro ‘Py_END_ALLOW_THREADS’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/socketmodule.c:3619:5: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/socketmodule.c:3625:5: note: in expansion of macro ‘Py_END_ALLOW_THREADS’ # 116| #define Py_BLOCK_THREADS PyEval_RestoreThread(_save); # 117| #define Py_UNBLOCK_THREADS _save = PyEval_SaveThread(); # 118|-> #define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); \ # 119| } # 120| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:74: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/listobject.h:46: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/listobject.h:47:26: warning[core.NullDereference]: Array access (via field 'ob_item') results in a null pointer dereference # 45| assert(0 <= index); # 46| assert(index < list->allocated); # 47|-> list->ob_item[index] = value; # 48| } # 49| #define PyList_SET_ITEM(op, index, value) \ Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1183: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c: scope_hint: In function ‘remove_importlib_frames’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/object.h:350:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘_tmp_dst_ptr’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2543:13: note: in expansion of macro ‘Py_XSETREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/unicodeobject.h:107:5: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2803:10: note: in expansion of macro ‘PyUnicode_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2916:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2916:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2917:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2917:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2918:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2918:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/traceback.h:14:30: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2525:16: note: in expansion of macro ‘PyTraceBack_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/traceback.h:14:30: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2525:16: note: in expansion of macro ‘PyTraceBack_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2543:13: note: in expansion of macro ‘Py_XSETREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2543:13: note: in expansion of macro ‘Py_XSETREF’ # 348| do { \ # 349| _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \ # 350|-> _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \ # 351| *_tmp_dst_ptr = (src); \ # 352| Py_XDECREF(_tmp_old_dst); \ Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1183: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c: scope_hint: In function ‘remove_importlib_frames’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/object.h:350:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘outer_link’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2543:13: note: in expansion of macro ‘Py_XSETREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/unicodeobject.h:107:5: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2803:10: note: in expansion of macro ‘PyUnicode_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c: scope_hint: In function ‘remove_importlib_frames’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/unicodeobject.h:1014: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:65: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2819:13: note: in expansion of macro ‘PyUnicode_GET_LENGTH’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c: scope_hint: In function ‘remove_importlib_frames’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2823:20: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1046:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c: scope_hint: In function ‘remove_importlib_frames’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c: scope_hint: In function ‘remove_importlib_frames’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2916:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1030:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:932:9: note: in expansion of macro ‘_Py_IsImmortal’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c: scope_hint: In function ‘remove_importlib_frames’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2916:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2917:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2917:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2918:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2918:5: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:2543:13: note: in expansion of macro ‘Py_XSETREF’ # 348| do { \ # 349| _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \ # 350|-> _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \ # 351| *_tmp_dst_ptr = (src); \ # 352| Py_XDECREF(_tmp_old_dst); \ Error: GCC_ANALYZER_WARNING (CWE-471): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/pyatomic_gcc.h:63:10: warning[-Wanalyzer-write-to-const]: write to ‘const’ object ‘_Py_InitCleanup’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c: scope_hint: In function ‘_Py_NewRef.part.0’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c:8: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_call.h:12: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c:7: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c:692:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c: scope_hint: In function ‘_Py_NewRef.part.0’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c:795: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/generated_cases.c.h:884:13: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_instruments.h:8: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_interp.h:28: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_runtime.h:17: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:12: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_frame.h:286:27: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1046:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h: scope_hint: In function ‘_Py_NewRef.part.0’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1046:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c: scope_hint: In function ‘_Py_NewRef.part.0’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c:656: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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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); } # | ^ lto1: 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: GCC_ANALYZER_WARNING (CWE-471): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/pyatomic_gcc.h:461:3: warning[-Wanalyzer-write-to-const]: write to ‘const’ object ‘_Py_InitCleanup’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c: scope_hint: In function ‘_Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c:692:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c: scope_hint: In function ‘_Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/generated_cases.c.h:884:13: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_frame.h:286:27: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1046:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h: scope_hint: In function ‘_Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h: scope_hint: In function ‘_Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c: scope_hint: In function ‘_Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c:656: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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen.c:1: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:309:12: warning[core.NullDereference]: Access to field 'ob_tid' results in a dereference of a null pointer (loaded from variable 'ob') # 307| _Py_IsOwnedByCurrentThread(PyObject *ob) # 308| { # 309|-> return ob->ob_tid == _Py_ThreadId(); # 310| } # 311| #endif Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:309:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c: scope_hint: In function ‘_Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/dictobject.h:19:31: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c:1346:10: note: in expansion of macro ‘PyDict_CheckExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:366:12: note: in expansion of macro ‘Py_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c: scope_hint: In function ‘_Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c:1604:24: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c:1083:17: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c:1083:17: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1046:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h: scope_hint: In function ‘_Py_NewRef’ # 307| _Py_IsOwnedByCurrentThread(PyObject *ob) # 308| { # 309|-> return ob->ob_tid == _Py_ThreadId(); # 310| } # 311| #endif Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:2: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h: scope_hint: In function ‘_Py_IsOwnedByCurrentThread’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:309:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ob’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:73: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:146:20: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:146:20: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_object.h:15: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:27:38: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:149:27: note: in expansion of macro ‘PyTuple_GET_ITEM’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:163:24: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:163:24: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:163:24: note: in expansion of macro ‘PyTuple_GET_SIZE’ /usr/include/dlfcn.h:24: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_import.h:111: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_runtime.h:16: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_emscripten_trampoline.h:4: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_object.h:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:1613:5: note: in expansion of macro ‘Py_DECREF’ # 307| _Py_IsOwnedByCurrentThread(PyObject *ob) # 308| { # 309|-> return ob->ob_tid == _Py_ThreadId(); # 310| } # 311| #endif Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:309:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘op’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c: scope_hint: In function ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:447:13: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:447:13: note: in expansion of macro ‘Py_DECREF’ # 307| _Py_IsOwnedByCurrentThread(PyObject *ob) # 308| { # 309|-> return ob->ob_tid == _Py_ThreadId(); # 310| } # 311| #endif Error: CPPCHECK_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333: error[ctunullpointer]: Null pointer dereference: ob # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: CPPCHECK_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333: warning[nullPointer]: Possible null pointer dereference: ob # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:1: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/parts.h:25: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c: scope_hint: In function ‘_Py_subs_parameters’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’ # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘exc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c: scope_hint: In function ‘_excinfo_init_type’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c:480:26: note: in expansion of macro ‘Py_TYPE’ # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c: scope_hint: In function ‘_Py_subs_parameters’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:451:17: note: in expansion of macro ‘PyTuple_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:451:17: note: in expansion of macro ‘PyTuple_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:451:17: note: in expansion of macro ‘PyTuple_Check’ # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:2: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_checkexact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:15:5: note: in expansion of macro ‘NULLABLE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/dictobject.h:19:31: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:16:28: note: in expansion of macro ‘PyDict_CheckExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:366:12: note: in expansion of macro ‘Py_TYPE’ # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h: scope_hint: In function ‘Py_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ob’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:73: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:436:26: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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_a5-build/Python-3.13.0a5/Include/internal/pycore_faulthandler.h:12: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_runtime.h:14: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:12: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_ceval.h:14: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:4: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:464:20: note: in expansion of macro ‘PyTuple_Check’ # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘op’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/list.c: scope_hint: In function ‘PyList_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/list.c:34:5: note: in expansion of macro ‘NULLABLE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/util.h:18:28: note: in definition of macro ‘RETURN_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/list.c:35:17: note: in expansion of macro ‘PyList_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/listobject.h:46: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:74: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/listobject.h:26:13: note: in expansion of macro ‘PyList_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/listobject.h:31:26: note: in expansion of macro ‘_PyList_CAST’ # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c: scope_hint: In function ‘s_pack_into’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1183: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/object.h:330:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:2066:33: note: in expansion of macro ‘get_struct_state_structinst’ # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:333:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘so’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/set.c: scope_hint: In function ‘PySet_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/set.c:76:5: note: in expansion of macro ‘NULLABLE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/util.h:18:28: note: in definition of macro ‘RETURN_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/set.c:77:17: note: in expansion of macro ‘PySet_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/setobject.h:42: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:78: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/setobject.h:31:6: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/setobject.h:62:13: note: in expansion of macro ‘PyAnySet_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/setobject.h:65:12: note: in expansion of macro ‘_PySet_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:366:12: note: in expansion of macro ‘Py_TYPE’ # 331| // bpo-39573: The Py_SET_TYPE() function must be used to set an object type. # 332| static inline PyTypeObject* Py_TYPE(PyObject *ob) { # 333|-> return ob->ob_type; # 334| } # 335| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:347:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwnames’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c: scope_hint: In function ‘find_keyword’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:73: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:27:66: note: in definition of macro ‘PyTuple_GET_ITEM’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:1996:15: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ # 345| assert(ob->ob_type != &PyBool_Type); # 346| PyVarObject *var_ob = _PyVarObject_CAST(ob); # 347|-> return var_ob->ob_size; # 348| } # 349| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen.c:1: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:358:13: warning[core.NullDereference]: Dereference of null pointer # 356| return (op->ob_ref_local == _Py_IMMORTAL_REFCNT_LOCAL); # 357| #elif SIZEOF_VOID_P > 4 # 358|-> return (_Py_CAST(PY_INT32_T, op->ob_refcnt) < 0); # 359| #else # 360| return (op->ob_refcnt == _Py_IMMORTAL_REFCNT); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c:41: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:430:12: warning[core.NullDereference]: Dereference of null pointer # 428| # 429| static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) { # 430|-> assert(ob->ob_base.ob_type != &PyLong_Type); # 431| assert(ob->ob_base.ob_type != &PyBool_Type); # 432| #ifdef Py_GIL_DISABLED Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:435:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c: scope_hint: In function ‘expand_template.part.0’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/unicodeobject.h:107:5: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c:2882:10: note: in expansion of macro ‘PyUnicode_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c:2891:20: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c:2917:9: note: in expansion of macro ‘Py_SET_SIZE’ # 433| _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); # 434| #else # 435|-> ob->ob_size = size; # 436| #endif # 437| } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c:41: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:435:17: warning[core.NullDereference]: Access to field 'ob_size' results in a dereference of a null pointer (loaded from variable 'ob') # 433| _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); # 434| #else # 435|-> ob->ob_size = size; # 436| #endif # 437| } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/odictobject.c:467: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:812:30: warning[core.NullDereference]: Array access (via field 'ob_refcnt_split') results in a null pointer dereference # 810| #elif SIZEOF_VOID_P > 4 # 811| // Portable saturated add, branching on the carry flag and set low bits # 812|-> PY_UINT32_T cur_refcnt = op->ob_refcnt_split[PY_BIG_ENDIAN]; # 813| PY_UINT32_T new_refcnt = cur_refcnt + 1; # 814| if (new_refcnt == 0) { Error: GCC_ANALYZER_WARNING (CWE-457): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c:7: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c: scope_hint: In function ‘preallocate_memerrors’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:908:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘errors[i]’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c:3391:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c:3391:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c:3391:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c: scope_hint: In function ‘preallocate_memerrors’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c:3391:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c:3391:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c:3391:9: note: in expansion of macro ‘Py_DECREF’ # 906| } # 907| } # 908|-> #define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op)) # 909| # 910| #elif defined(Py_REF_DEBUG) Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen.c:1: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:913:9: warning[core.NullDereference]: Dereference of null pointer # 911| static inline void Py_DECREF(const char *filename, int lineno, PyObject *op) # 912| { # 913|-> if (op->ob_refcnt <= 0) { # 914| _Py_NegativeRefcount(filename, lineno, op); # 915| } Error: GCC_ANALYZER_WARNING (CWE-457): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c: scope_hint: In function ‘list_ass_slice_lock_held’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1034:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:949:9: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/listobject.h:26:31: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:974:27: note: in expansion of macro ‘PyList_CheckExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:366:12: note: in expansion of macro ‘Py_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c: scope_hint: In function ‘list_ass_slice_lock_held’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/abstract.h:731:6: note: in expansion of macro ‘PyList_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:889:13: note: in expansion of macro ‘PySequence_Fast_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:114: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c: scope_hint: In function ‘list_ass_slice_lock_held’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:889:13: note: in expansion of macro ‘PySequence_Fast_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/listobject.h:46: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:74: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/abstract.h:731:24: note: in expansion of macro ‘PyList_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:889:13: note: in expansion of macro ‘PySequence_Fast_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/listobject.h:35:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c: scope_hint: In function ‘list_ass_slice_lock_held’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:890:17: note: in expansion of macro ‘PySequence_Fast_ITEMS’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:890:17: note: in expansion of macro ‘PySequence_Fast_ITEMS’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:894:21: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c: scope_hint: In function ‘list_ass_slice_lock_held’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:50: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1034:37: note: in expansion of macro ‘_PyObject_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:949:9: note: in expansion of macro ‘Py_XDECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:949:9: note: in expansion of macro ‘Py_XDECREF’ # 1032| } # 1033| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 # 1034|-> # define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op)) # 1035| #endif # 1036| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_abc.c: scope_hint: In function ‘PyInit__abc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_abc.c:960:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_abc.gcda’ profile count data file not found # 958| { # 959| return PyModuleDef_Init(&_abcmodule); # 960|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_asynciomodule.c: scope_hint: In function ‘PyInit__asyncio’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_asynciomodule.c:3800:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_asynciomodule.gcda’ profile count data file not found # 3798| { # 3799| return PyModuleDef_Init(&_asynciomodule); # 3800|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_bisectmodule.c: scope_hint: In function ‘PyInit__bisect’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_bisectmodule.c:483:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_bisectmodule.gcda’ profile count data file not found # 481| { # 482| return PyModuleDef_Init(&_bisectmodule); # 483|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_blake2/blake2b_impl.c: scope_hint: In function ‘py_blake2b_dealloc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_blake2/blake2b_impl.c:417:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_blake2/blake2module.c: scope_hint: In function ‘PyInit__blake2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_blake2/blake2module.c:159:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/blake2module.gcda’ profile count data file not found # 157| { # 158| return PyModuleDef_Init(&blake2_module); # 159|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_blake2/blake2s_impl.c: scope_hint: In function ‘py_blake2s_dealloc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_blake2/blake2s_impl.c:417:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_bz2module.c: scope_hint: In function ‘PyInit__bz2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_bz2module.c:822:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_bz2module.gcda’ profile count data file not found # 820| { # 821| return PyModuleDef_Init(&_bz2module); # 822|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_codecsmodule.c: scope_hint: In function ‘PyInit__codecs’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_codecsmodule.c:1072:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_codecsmodule.gcda’ profile count data file not found # 1070| { # 1071| return PyModuleDef_Init(&codecsmodule); # 1072|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_collectionsmodule.c: scope_hint: In function ‘PyInit__collections’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_collectionsmodule.c:2839:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_collectionsmodule.gcda’ profile count data file not found # 2837| { # 2838| return PyModuleDef_Init(&_collectionsmodule); # 2839|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_contextvarsmodule.c: scope_hint: In function ‘PyInit__contextvars’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_contextvarsmodule.c:67:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_contextvarsmodule.gcda’ profile count data file not found # 65| { # 66| return PyModuleDef_Init(&_contextvarsmodule); # 67|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_csv.c: scope_hint: In function ‘PyInit__csv’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_csv.c:1818:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_csv.gcda’ profile count data file not found # 1816| { # 1817| return PyModuleDef_Init(&_csvmodule); # 1818|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/_ctypes.c: scope_hint: In function ‘PyInit__ctypes’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/_ctypes.c:5733:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_ctypes.gcda’ profile count data file not found # 5731| } # 5732| return mod; # 5733|-> } # 5734| # 5735| /* Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/_ctypes_test.c: scope_hint: In function ‘myprintf’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/_ctypes_test.c: scope_hint: In function ‘PyInit__ctypes_test’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/_ctypes_test.c:1189:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_ctypes_test.gcda’ profile count data file not found # 1187| { # 1188| return PyModuleDef_Init(&_ctypes_testmodule); # 1189|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c:232:20: warning[core.NullDereference]: Array access (from variable 'space') results in an undefined pointer dereference # 230| #endif # 231| if (flags & FUNCFLAG_USE_ERRNO) { # 232|-> int temp = space[0]; # 233| space[0] = errno; # 234| errno = temp; Error: GCC_ANALYZER_WARNING (CWE-457): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c: scope_hint: In function ‘_CallPythonObject’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c:232:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘space’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c:5: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:73: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c:150:13: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c:150:13: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c:150:13: note: in expansion of macro ‘PyTuple_GET_SIZE’ # 230| #endif # 231| if (flags & FUNCFLAG_USE_ERRNO) { # 232|-> int temp = space[0]; # 233| space[0] = errno; # 234| errno = temp; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c: scope_hint: In function ‘_ctypes_alloc_callback’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callbacks.c:458:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/callbacks.gcda’ profile count data file not found # 456| Py_XDECREF(p); # 457| return NULL; # 458|-> } # 459| # 460| #ifdef MS_WIN32 Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callproc.c: scope_hint: In function ‘buffer_info’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/callproc.c:2068:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/callproc.gcda’ profile count data file not found # 2066| {"Py_DECREF", My_Py_DECREF, METH_O }, # 2067| {NULL, NULL} /* Sentinel */ # 2068|-> }; # 2069| # 2070| /* Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/cfield.c: scope_hint: In function ‘PyCField_FromDesc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/cfield.c:125:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ /usr/include/dlfcn.h:24: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_import.h:111: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_runtime.h:16: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:12: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_call.h:12: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/cfield.c:12: included_from: Included from here. # 123| return NULL; # 124| } # 125|-> if (idict->getfunc == _ctypes_get_fielddesc("c")->getfunc) { # 126| struct fielddesc *fd = _ctypes_get_fielddesc("s"); # 127| getfunc = fd->getfunc; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/cfield.c: scope_hint: In function ‘_ctypes_get_fielddesc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/cfield.c:1585:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/cfield.gcda’ profile count data file not found # 1583| } # 1584| return NULL; # 1585|-> } # 1586| # 1587| /*---------------- EOF ----------------*/ Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/stgdict.c: scope_hint: In function ‘PyCStructUnionType_update_stgdict’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ctypes/stgdict.c:995:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/stgdict.gcda’ profile count data file not found # 993| # 994| return MakeAnonFields(type); # 995|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_curses_panel.c: scope_hint: In function ‘PyInit__curses_panel’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_curses_panel.c:718:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_curses_panel.gcda’ profile count data file not found # 716| { # 717| return PyModuleDef_Init(&_curses_panelmodule); # 718|-> } Error: GCC_ANALYZER_WARNING (CWE-457): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_window_border_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1105:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ch[7]’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:2474: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1094:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1094:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1095:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1095:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1096:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1096:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1097:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1097:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1098:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1098:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1099:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1099:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1100:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1100:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:1101:5: note: in expansion of macro ‘CONVERTTOCHTYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_initscr_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:3350:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 3348| # 3349| winobj = (PyCursesWindowObject *)PyCursesWindow_New(win, NULL); # 3350|-> screen_encoding = winobj->encoding; # 3351| return (PyObject *)winobj; # 3352| } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c: scope_hint: In function ‘_curses_initscr_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:3350:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘winobj’ /usr/include/dlfcn.h:24: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_import.h:111: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_runtime.h:16: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_long.h:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:108: included_from: Included from here. # 3348| # 3349| winobj = (PyCursesWindowObject *)PyCursesWindow_New(win, NULL); # 3350|-> screen_encoding = winobj->encoding; # 3351| return (PyObject *)winobj; # 3352| } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c: scope_hint: In function ‘PyInit__curses’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_cursesmodule.c:4939:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_cursesmodule.gcda’ profile count data file not found # 4937| } # 4938| return m; # 4939|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_datetimemodule.c: scope_hint: In function ‘PyInit__datetime’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_datetimemodule.c:6989:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_datetimemodule.gcda’ profile count data file not found # 6987| # 6988| return mod; # 6989|-> } # 6990| # 6991| /* --------------------------------------------------------------------------- Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_dbmmodule.c: scope_hint: In function ‘PyInit__dbm’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_dbmmodule.c:637:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_dbmmodule.gcda’ profile count data file not found # 635| { # 636| return PyModuleDef_Init(&_dbmmodule); # 637|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_decimal/_decimal.c: scope_hint: In function ‘PyInit__decimal’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_decimal/_decimal.c:6169:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_decimal.gcda’ profile count data file not found # 6167| { # 6168| return PyModuleDef_Init(&_decimal_module); # 6169|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_elementtree.c: scope_hint: In function ‘PyInit__elementtree’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_elementtree.c:4484:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_elementtree.gcda’ profile count data file not found # 4482| { # 4483| return PyModuleDef_Init(&elementtreemodule); # 4484|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_functoolsmodule.c: scope_hint: In function ‘PyInit__functools’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_functoolsmodule.c:1561:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_functoolsmodule.gcda’ profile count data file not found # 1559| { # 1560| return PyModuleDef_Init(&_functools_module); # 1561|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_gdbmmodule.c: scope_hint: In function ‘PyInit__gdbm’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_gdbmmodule.c:847:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_gdbmmodule.gcda’ profile count data file not found # 845| { # 846| return PyModuleDef_Init(&_gdbmmodule); # 847|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:55:69: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:190:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:55:3: note: in expansion of macro ‘KRML_MAYBE_FOR4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘Hacl_Streaming_MD5_legacy_create_in’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1206:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:190:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:55:3: note: in expansion of macro ‘KRML_MAYBE_FOR4’ # 53| void Hacl_Hash_Core_MD5_legacy_init(uint32_t *s) # 54| { # 55|-> KRML_MAYBE_FOR4(i, (uint32_t)0U, (uint32_t)4U, (uint32_t)1U, s[i] = _h0[i];); # 56| } # 57| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘Hacl_Streaming_MD5_legacy_create_in’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1211:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1210:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 1209| Hacl_Streaming_MD_state_32 # 1210| *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32)); # 1211|-> p[0U] = s; # 1212| Hacl_Hash_Core_MD5_legacy_init(block_state); # 1213| return p; Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘Hacl_Streaming_MD5_legacy_copy’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1457:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h:15: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/FStar_UInt128_Verified.h:10: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/types.h:14: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/internal/Hacl_Hash_MD5.h:34: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:26: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1456:29: note: in expansion of macro ‘KRML_HOST_CALLOC’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 1455| uint64_t total_len0 = scrut.total_len; # 1456| uint8_t *buf = (uint8_t *)KRML_HOST_CALLOC((uint32_t)64U, sizeof (uint8_t)); # 1457|-> memcpy(buf, buf0, (uint32_t)64U * sizeof (uint8_t)); # 1458| uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC((uint32_t)4U, sizeof (uint32_t)); # 1459| memcpy(block_state, block_state0, (uint32_t)4U * sizeof (uint32_t)); Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1459:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1458:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ # 1457| memcpy(buf, buf0, (uint32_t)64U * sizeof (uint8_t)); # 1458| uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC((uint32_t)4U, sizeof (uint32_t)); # 1459|-> memcpy(block_state, block_state0, (uint32_t)4U * sizeof (uint32_t)); # 1460| Hacl_Streaming_MD_state_32 # 1461| s = { .block_state = block_state, .buf = buf, .total_len = total_len0 }; Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1464:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1463:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 1462| Hacl_Streaming_MD_state_32 # 1463| *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32)); # 1464|-> p[0U] = s; # 1465| return p; # 1466| } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c: scope_hint: In function ‘Hacl_Streaming_MD5_legacy_hash’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_MD5.c:1471:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/Hacl_Hash_MD5.gcda’ profile count data file not found # 1469| { # 1470| Hacl_Hash_MD5_legacy_hash(input, input_len, dst); # 1471|-> } # 1472| Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c: scope_hint: In function ‘Hacl_Streaming_SHA1_legacy_copy’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c:493:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h:15: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/FStar_UInt128_Verified.h:10: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/types.h:14: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/internal/Hacl_Hash_SHA1.h:34: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c:26: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c:492:29: note: in expansion of macro ‘KRML_HOST_CALLOC’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 491| uint64_t total_len0 = scrut.total_len; # 492| uint8_t *buf = (uint8_t *)KRML_HOST_CALLOC((uint32_t)64U, sizeof (uint8_t)); # 493|-> memcpy(buf, buf0, (uint32_t)64U * sizeof (uint8_t)); # 494| uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC((uint32_t)5U, sizeof (uint32_t)); # 495| memcpy(block_state, block_state0, (uint32_t)5U * sizeof (uint32_t)); Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c:495:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c:494:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 493| memcpy(buf, buf0, (uint32_t)64U * sizeof (uint8_t)); # 494| uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC((uint32_t)5U, sizeof (uint32_t)); # 495|-> memcpy(block_state, block_state0, (uint32_t)5U * sizeof (uint32_t)); # 496| Hacl_Streaming_MD_state_32 # 497| s = { .block_state = block_state, .buf = buf, .total_len = total_len0 }; Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c:500:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c:499:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 498| Hacl_Streaming_MD_state_32 # 499| *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32)); # 500|-> p[0U] = s; # 501| return p; # 502| } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c: scope_hint: In function ‘Hacl_Streaming_SHA1_legacy_hash’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA1.c:507:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/Hacl_Hash_SHA1.gcda’ profile count data file not found # 505| { # 506| Hacl_Hash_SHA1_legacy_hash(input, input_len, dst); # 507|-> } # 508| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:38:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:32:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_create_in_256’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:498:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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_Impl_SHA2_Generic_h256[i]; # 38|-> os[i] = x;); # 39| } # 40| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:233:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:227:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_create_in_224’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:823:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:227:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ # 231| uint32_t *os = hash; # 232| uint32_t x = Hacl_Impl_SHA2_Generic_h224[i]; # 233|-> os[i] = x;); # 234| } # 235| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:266:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:260:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_create_in_512’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:924:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.h:34: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/internal/Hacl_Hash_SHA2.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:930:3: note: in expansion of macro ‘Hacl_SHA2_Scalar32_sha512_init’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:260:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ # 264| uint64_t *os = hash; # 265| uint64_t x = Hacl_Impl_SHA2_Generic_h512[i]; # 266|-> os[i] = x;); # 267| } # 268| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:461:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:455:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_create_in_384’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:1247:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:455:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ # 459| uint64_t *os = hash; # 460| uint64_t x = Hacl_Impl_SHA2_Generic_h384[i]; # 461|-> os[i] = x;); # 462| } # 463| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/FStar_UInt_8_16_32_64.h:15: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/FStar_UInt128_Verified.h:10: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/types.h:14: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/internal/Hacl_Hash_SHA2.h:34: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:26: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘Hacl_SHA2_Scalar32_sha384_init’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:461:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hash’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:455:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.h:34: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/internal/Hacl_Hash_SHA2.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:1244:29: note: in expansion of macro ‘Hacl_Streaming_SHA2_create_in_384’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:1247:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:84:3: note: in definition of macro ‘KRML_LOOP1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:97:3: note: in expansion of macro ‘KRML_LOOP2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:113:3: note: in expansion of macro ‘KRML_LOOP4’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:150:3: note: in expansion of macro ‘KRML_LOOP8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/include/krml/internal/target.h:214:40: note: in expansion of macro ‘KRML_UNROLL_FOR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:455:3: note: in expansion of macro ‘KRML_MAYBE_FOR8’ # 459| uint64_t *os = hash; # 460| uint64_t x = Hacl_Impl_SHA2_Generic_h384[i]; # 461|-> os[i] = x;); # 462| } # 463| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_create_in_256’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:503:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:502:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 501| Hacl_Streaming_MD_state_32 # 502| *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32)); # 503|-> p[0U] = s; # 504| Hacl_SHA2_Scalar32_sha256_init(block_state); # 505| return p; Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_copy_256’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:521:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:520:29: note: in expansion of macro ‘KRML_HOST_CALLOC’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 519| uint64_t total_len0 = scrut.total_len; # 520| uint8_t *buf = (uint8_t *)KRML_HOST_CALLOC((uint32_t)64U, sizeof (uint8_t)); # 521|-> memcpy(buf, buf0, (uint32_t)64U * sizeof (uint8_t)); # 522| uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC((uint32_t)8U, sizeof (uint32_t)); # 523| memcpy(block_state, block_state0, (uint32_t)8U * sizeof (uint32_t)); Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:523:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:522:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 521| memcpy(buf, buf0, (uint32_t)64U * sizeof (uint8_t)); # 522| uint32_t *block_state = (uint32_t *)KRML_HOST_CALLOC((uint32_t)8U, sizeof (uint32_t)); # 523|-> memcpy(block_state, block_state0, (uint32_t)8U * sizeof (uint32_t)); # 524| Hacl_Streaming_MD_state_32 # 525| s = { .block_state = block_state, .buf = buf, .total_len = total_len0 }; Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:528:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:527:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 526| Hacl_Streaming_MD_state_32 # 527| *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32)); # 528|-> p[0U] = s; # 529| return p; # 530| } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_create_in_224’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:828:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:827:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 826| Hacl_Streaming_MD_state_32 # 827| *p = (Hacl_Streaming_MD_state_32 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_32)); # 828|-> p[0U] = s; # 829| Hacl_SHA2_Scalar32_sha224_init(block_state); # 830| return p; Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_create_in_512’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:929:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:928:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 927| Hacl_Streaming_MD_state_64 # 928| *p = (Hacl_Streaming_MD_state_64 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_64)); # 929|-> p[0U] = s; # 930| Hacl_SHA2_Scalar32_sha512_init(block_state); # 931| return p; Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_copy_512’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:947:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:946:29: note: in expansion of macro ‘KRML_HOST_CALLOC’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 945| uint64_t total_len0 = scrut.total_len; # 946| uint8_t *buf = (uint8_t *)KRML_HOST_CALLOC((uint32_t)128U, sizeof (uint8_t)); # 947|-> memcpy(buf, buf0, (uint32_t)128U * sizeof (uint8_t)); # 948| uint64_t *block_state = (uint64_t *)KRML_HOST_CALLOC((uint32_t)8U, sizeof (uint64_t)); # 949| memcpy(block_state, block_state0, (uint32_t)8U * sizeof (uint64_t)); Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:949:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘block_state’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:948:39: note: in expansion of macro ‘KRML_HOST_CALLOC’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 947| memcpy(buf, buf0, (uint32_t)128U * sizeof (uint8_t)); # 948| uint64_t *block_state = (uint64_t *)KRML_HOST_CALLOC((uint32_t)8U, sizeof (uint64_t)); # 949|-> memcpy(block_state, block_state0, (uint32_t)8U * sizeof (uint64_t)); # 950| Hacl_Streaming_MD_state_64 # 951| s = { .block_state = block_state, .buf = buf, .total_len = total_len0 }; Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:954:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:953:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 952| Hacl_Streaming_MD_state_64 # 953| *p = (Hacl_Streaming_MD_state_64 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_64)); # 954|-> p[0U] = s; # 955| return p; # 956| } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘python_hashlib_Hacl_Streaming_SHA2_create_in_384’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:1252:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:1251:38: note: in expansion of macro ‘KRML_HOST_MALLOC’ # 1250| Hacl_Streaming_MD_state_64 # 1251| *p = (Hacl_Streaming_MD_state_64 *)KRML_HOST_MALLOC(sizeof (Hacl_Streaming_MD_state_64)); # 1252|-> p[0U] = s; # 1253| Hacl_SHA2_Scalar32_sha384_init(block_state); # 1254| return p; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c: scope_hint: In function ‘Hacl_Streaming_SHA2_hash_384’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA2.c:1344:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/Hacl_Hash_SHA2.gcda’ profile count data file not found # 1342| Hacl_SHA2_Scalar32_sha384_update_last(len_, rem, lb, st); # 1343| Hacl_SHA2_Scalar32_sha384_finish(st, rb); # 1344|-> } # 1345| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA3.c: scope_hint: In function ‘Hacl_Impl_SHA3_keccak’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hacl/Hacl_Hash_SHA3.c:823:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/Hacl_Hash_SHA3.gcda’ profile count data file not found # 821| absorb(s, rateInBytes, inputByteLen, input, delimitedSuffix); # 822| Hacl_Impl_SHA3_squeeze(s, rateInBytes, outputByteLen, output); # 823|-> } # 824| Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hashopenssl.c: scope_hint: In function ‘_setException’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hashopenssl.c:288:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ # 286| } # 287| return NULL; # 288|-> } # 289| /* LCOV_EXCL_STOP */ # 290| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hashopenssl.c: scope_hint: In function ‘PyInit__hashlib’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_hashopenssl.c:2262:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_hashopenssl.gcda’ profile count data file not found # 2260| { # 2261| return PyModuleDef_Init(&_hashlibmodule); # 2262|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_heapqmodule.c: scope_hint: In function ‘PyInit__heapq’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_heapqmodule.c:703:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_heapqmodule.gcda’ profile count data file not found # 701| { # 702| return PyModuleDef_Init(&_heapqmodule); # 703|-> } Error: GCC_ANALYZER_WARNING (CWE-126): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c: scope_hint: In function ‘_io_open_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c:264:13: warning[-Wanalyzer-out-of-bounds]: buffer over-read python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c:630: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c:10: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c:218:22: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1046:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c:264:13: note: read of 1 byte from after the end of ‘"r"’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c:264:13: note: valid subscripts for ‘"r"’ are ‘[0]’ to ‘[1]’ # └─────────────────────────────────────────┘ # ^ ^ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c: scope_hint: In function ‘PyInit__io’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/_iomodule.c:742:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_iomodule.gcda’ profile count data file not found # 740| { # 741| return PyModuleDef_Init(&_PyIO_Module); # 742|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/bufferedio.c: scope_hint: In function ‘_io_BufferedRandom___init__’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/bufferedio.c:2753:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bufferedio.gcda’ profile count data file not found # 2751| Py_TPFLAGS_IMMUTABLETYPE), # 2752| .slots = bufferedrandom_slots, # 2753|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/bytesio.c: scope_hint: In function ‘bytesiobuf_dealloc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/bytesio.c:1135:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bytesio.gcda’ profile count data file not found # 1133| Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_DISALLOW_INSTANTIATION), # 1134| .slots = bytesiobuf_slots, # 1135|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/fileio.c: scope_hint: In function ‘get_mode’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/fileio.c:1242:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/fileio.gcda’ profile count data file not found # 1240| Py_TPFLAGS_IMMUTABLETYPE), # 1241| .slots = fileio_slots, # 1242|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/iobase.c: scope_hint: In function ‘rawiobase_write’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/iobase.c:1041:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/iobase.gcda’ profile count data file not found # 1039| Py_TPFLAGS_IMMUTABLETYPE), # 1040| .slots = rawiobase_slots, # 1041|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/stringio.c: scope_hint: In function ‘_io_StringIO_newlines_get_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/stringio.c:1078:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/stringio.gcda’ profile count data file not found # 1076| Py_TPFLAGS_IMMUTABLETYPE), # 1077| .slots = stringio_slots, # 1078|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/textio.c: scope_hint: In function ‘_io_TextIOWrapper__CHUNK_SIZE_set_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_io/textio.c:3387:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/textio.gcda’ profile count data file not found # 3385| Py_TPFLAGS_IMMUTABLETYPE), # 3386| .slots = textiowrapper_slots, # 3387|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_json.c: scope_hint: In function ‘PyInit__json’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_json.c:1798:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_json.gcda’ profile count data file not found # 1796| { # 1797| return PyModuleDef_Init(&jsonmodule); # 1798|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_localemodule.c: scope_hint: In function ‘PyInit__locale’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_localemodule.c:904:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_localemodule.gcda’ profile count data file not found # 902| { # 903| return PyModuleDef_Init(&_localemodule); # 904|-> } # 905| # 906| /* Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_lsprof.c: scope_hint: In function ‘PyInit__lsprof’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_lsprof.c:1028:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_lsprof.gcda’ profile count data file not found # 1026| { # 1027| return PyModuleDef_Init(&_lsprofmodule); # 1028|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_lzmamodule.c: scope_hint: In function ‘PyInit__lzma’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_lzmamodule.c:1653:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_lzmamodule.gcda’ profile count data file not found # 1651| { # 1652| return PyModuleDef_Init(&_lzmamodule); # 1653|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_multiprocessing/multiprocessing.c: scope_hint: In function ‘PyInit__multiprocessing’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_multiprocessing/multiprocessing.c:295:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/multiprocessing.gcda’ profile count data file not found # 293| { # 294| return PyModuleDef_Init(&multiprocessing_module); # 295|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_multiprocessing/posixshmem.c: scope_hint: In function ‘PyInit__posixshmem’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_multiprocessing/posixshmem.c:149:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/posixshmem.gcda’ profile count data file not found # 147| { # 148| return PyModuleDef_Init(&_posixshmemmodule); # 149|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_multiprocessing/semaphore.c: scope_hint: In function ‘_PyMp_sem_unlink’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_multiprocessing/semaphore.c:792:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/semaphore.gcda’ profile count data file not found # 790| # 791| Py_RETURN_NONE; # 792|-> } # 793| # 794| #endif // HAVE_MP_SEMAPHORE Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_opcode.c: scope_hint: In function ‘PyInit__opcode’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_opcode.c:396:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_opcode.gcda’ profile count data file not found # 394| { # 395| return PyModuleDef_Init(&opcodemodule); # 396|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_operator.c: scope_hint: In function ‘_tscmp’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_operator.c:772:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 770| # 771| for (i=0; i < length; i++) { # 772|-> result |= *left++ ^ *right++; # 773| } # 774| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_operator.c: scope_hint: In function ‘_tscmp’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_operator.c:772:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘left’ # 770| # 771| for (i=0; i < length; i++) { # 772|-> result |= *left++ ^ *right++; # 773| } # 774| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_operator.c: scope_hint: In function ‘PyInit__operator’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_operator.c:1961:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_operator.gcda’ profile count data file not found # 1959| { # 1960| return PyModuleDef_Init(&operatormodule); # 1961|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_pickle.c: scope_hint: In function ‘PyInit__pickle’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_pickle.c:7878:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_pickle.gcda’ profile count data file not found # 7876| { # 7877| return PyModuleDef_Init(&_picklemodule); # 7878|-> } Error: GCC_ANALYZER_WARNING (CWE-775): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(c2pwrite, 1)’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:727:9: note: in expansion of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:693:5: note: in expansion of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(errwrite, 2)’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:734:9: note: in expansion of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:693:5: note: in expansion of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c: scope_hint: In function ‘child_exec’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p2cread, 0)’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:720:9: note: in expansion of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:73: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:6: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:1031:34: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:8: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_pystate.h:206:5: note: in expansion of macro ‘_Py_EnsureTstateNotNULL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:147:33: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:284:11: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:693:5: note: in expansion of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:76:38: note: in definition of macro ‘POSIX_CALL’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c: scope_hint: In function ‘PyInit__posixsubprocess’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_posixsubprocess.c:1334:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_posixsubprocess.gcda’ profile count data file not found # 1332| { # 1333| return PyModuleDef_Init(&_posixsubprocessmodule); # 1334|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_queuemodule.c: scope_hint: In function ‘PyInit__queue’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_queuemodule.c:617:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_queuemodule.gcda’ profile count data file not found # 615| { # 616| return PyModuleDef_Init(&queuemodule); # 617|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_randommodule.c: scope_hint: In function ‘PyInit__random’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_randommodule.c:685:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_randommodule.gcda’ profile count data file not found # 683| { # 684| return PyModuleDef_Init(&_randommodule); # 685|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/blob.c: scope_hint: In function ‘pysqlite_blob_setup_types’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/blob.c:616:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/blob.gcda’ profile count data file not found # 614| state->BlobType = (PyTypeObject *)type; # 615| return 0; # 616|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/connection.c: scope_hint: In function ‘pysqlite_connection_setup_types’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/connection.c:2657:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/connection.gcda’ profile count data file not found # 2655| state->ConnectionType = (PyTypeObject *)type; # 2656| return 0; # 2657|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/cursor.c: scope_hint: In function ‘pysqlite_cursor_setup_types’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/cursor.c:1362:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/cursor.gcda’ profile count data file not found # 1360| state->CursorType = (PyTypeObject *)type; # 1361| return 0; # 1362|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/microprotocols.c: scope_hint: In function ‘pysqlite_microprotocols_adapt’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/microprotocols.c:143:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/module.c: scope_hint: In function ‘PyInit__sqlite3’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/module.c:779:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/module.gcda’ profile count data file not found # 777| { # 778| return PyModuleDef_Init(&_sqlite3module); # 779|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/prepare_protocol.c: scope_hint: In function ‘pysqlite_prepare_protocol_setup_types’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/prepare_protocol.c:77:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/prepare_protocol.gcda’ profile count data file not found # 75| state->PrepareProtocolType = (PyTypeObject *)type; # 76| return 0; # 77|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/row.c: scope_hint: In function ‘pysqlite_row_setup_types’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/row.c:280:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/row.gcda’ profile count data file not found # 278| state->RowType = (PyTypeObject *)type; # 279| return 0; # 280|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/statement.c: scope_hint: In function ‘pysqlite_statement_setup_types’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/statement.c:205:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/statement.gcda’ profile count data file not found # 203| state->StatementType = (PyTypeObject *)type; # 204| return 0; # 205|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/util.c: scope_hint: In function ‘_pysqlite_long_as_int64’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sqlite/util.c:172:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c: scope_hint: In function ‘PyInit__sre’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c:3293:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/sre.gcda’ profile count data file not found # 3291| { # 3292| return PyModuleDef_Init(&sremodule); # 3293|-> } # 3294| # 3295| /* vim:ts=4:sw=4:et Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sre/sre.c:275: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ssl.c: scope_hint: In function ‘newPySSLSocket’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ssl.c:882:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘inbio’ # 880| * To prevent a double free in memory_bio_dealloc() we need to take an # 881| * extra reference here. */ # 882|-> BIO_up_ref(inbio->bio); # 883| BIO_up_ref(outbio->bio); # 884| SSL_set_bio(self->ssl, inbio->bio, outbio->bio); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ssl.c:882:20: warning[core.NullDereference]: Access to field 'bio' results in a dereference of a null pointer (loaded from variable 'inbio') # 880| * To prevent a double free in memory_bio_dealloc() we need to take an # 881| * extra reference here. */ # 882|-> BIO_up_ref(inbio->bio); # 883| BIO_up_ref(outbio->bio); # 884| SSL_set_bio(self->ssl, inbio->bio, outbio->bio); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ssl.c:2860:10: warning[deadcode.DeadStores]: Although the value stored to 'session' is used in the enclosing expression, the value is never actually read from 'session' # 2858| Py_RETURN_NONE; # 2859| } # 2860|-> if ((session = _ssl_session_dup(session)) == NULL) { # 2861| return NULL; # 2862| } Error: GCC_ANALYZER_WARNING (CWE-465): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ssl.c: scope_hint: In function ‘PySSLSession_richcompare’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ssl.c:5276:8: warning[-Wanalyzer-deref-before-check]: check of ‘left’ for NULL after already dereferencing it # 5274| PyTypeObject *sesstype = ((PySSLSession*)left)->ctx->state->PySSLSession_Type; # 5275| # 5276|-> if (left == NULL || right == NULL) { # 5277| PyErr_BadInternalCall(); # 5278| return NULL; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ssl.c: scope_hint: In function ‘PyInit__ssl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_ssl.c:6606:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_ssl.gcda’ profile count data file not found # 6604| { # 6605| return PyModuleDef_Init(&_sslmodule_def); # 6606|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_stat.c: scope_hint: In function ‘PyInit__stat’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_stat.c:700:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_stat.gcda’ profile count data file not found # 698| { # 699| return PyModuleDef_Init(&statmodule); # 700|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_statisticsmodule.c: scope_hint: In function ‘PyInit__statistics’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_statisticsmodule.c:157:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_statisticsmodule.gcda’ profile count data file not found # 155| { # 156| return PyModuleDef_Init(&statisticsmodule); # 157|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c: scope_hint: In function ‘align’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:1405:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘e’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:51: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/pyctype.h:27:41: note: in expansion of macro ‘Py_CHARMASK’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:2313:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s_object’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/clinic/_struct.c.h: scope_hint: In function ‘calcsize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/object.h:330:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:2260:9: note: in expansion of macro ‘Py_SETREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c: scope_hint: In function ‘PyInit__struct’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_struct.c:2615:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_struct.gcda’ profile count data file not found # 2613| { # 2614| return PyModuleDef_Init(&_structmodule); # 2615|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_suggestions.c: scope_hint: In function ‘PyInit__suggestions’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_suggestions.c:62:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_suggestions.gcda’ profile count data file not found # 60| PyMODINIT_FUNC PyInit__suggestions(void) { # 61| return PyModule_Create(&suggestions_module); # 62|-> } # 63| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sysconfig.c: scope_hint: In function ‘PyInit__sysconfig’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_sysconfig.c:98:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_sysconfig.gcda’ profile count data file not found # 96| { # 97| return PyModuleDef_Init(&sysconfig_module); # 98|-> } Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c: scope_hint: In function ‘copy_rec’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:489:17: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:493:17: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:500:23: note: in expansion of macro ‘ADJUST_PTR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:501:23: note: in expansion of macro ‘ADJUST_PTR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:43:6: note: in expansion of macro ‘HAVE_PTR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:501:23: note: in expansion of macro ‘ADJUST_PTR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:480:40: note: in expansion of macro ‘HAVE_PTR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:492:31: note: in expansion of macro ‘ADJUST_PTR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c: scope_hint: In function ‘ndarray_ass_subscript’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:1906:8: warning[-Wanalyzer-deref-before-check]: check of ‘self’ for NULL after already dereferencing it python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:4: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:1783:13: note: in expansion of macro ‘PyTuple_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c: scope_hint: In function ‘ndarray_ass_subscript’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:1787:20: note: in expansion of macro ‘Py_NewRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:1046:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c: scope_hint: In function ‘PyInit__testbuffer’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testbuffer.c:2906:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testbuffer.gcda’ profile count data file not found # 2904| } # 2905| return mod; # 2906|-> } Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c: scope_hint: In function ‘object_getoptionalattr’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c:61:33: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c:2: included_from: Included from here. # 59| object_getoptionalattr(PyObject *self, PyObject *args) # 60| { # 61|-> PyObject *obj, *attr_name, *value = UNINITIALIZED_PTR; # 62| if (!PyArg_ParseTuple(args, "OO", &obj, &attr_name)) { # 63| return NULL; Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c: scope_hint: In function ‘object_getoptionalattrstring’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c:86:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 84| object_getoptionalattrstring(PyObject *self, PyObject *args) # 85| { # 86|-> PyObject *obj, *value = UNINITIALIZED_PTR; # 87| const char *attr_name; # 88| Py_ssize_t size; Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c: scope_hint: In function ‘mapping_getoptionalitem’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c:267:33: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 265| mapping_getoptionalitem(PyObject *self, PyObject *args) # 266| { # 267|-> PyObject *obj, *attr_name, *value = UNINITIALIZED_PTR; # 268| if (!PyArg_ParseTuple(args, "OO", &obj, &attr_name)) { # 269| return NULL; Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c: scope_hint: In function ‘mapping_getoptionalitemstring’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c:292:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 290| mapping_getoptionalitemstring(PyObject *self, PyObject *args) # 291| { # 292|-> PyObject *obj, *value = UNINITIALIZED_PTR; # 293| const char *attr_name; # 294| Py_ssize_t size; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c: scope_hint: In function ‘_PyTestCapi_Init_Abstract’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/abstract.c:715:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/abstract.gcda’ profile count data file not found # 713| # 714| return 0; # 715|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/buffer.c: scope_hint: In function ‘_PyTestCapi_Init_Buffer’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/buffer.c:104:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/buffer.gcda’ profile count data file not found # 102| # 103| return 0; # 104|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/code.c: scope_hint: In function ‘_PyTestCapi_Init_Code’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/code.c:122:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/code.gcda’ profile count data file not found # 120| # 121| return 0; # 122|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/codec.c: scope_hint: In function ‘_PyTestCapi_Init_Codec’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/codec.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/codec.gcda’ profile count data file not found # 15| # 16| return 0; # 17|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/complex.c: scope_hint: In function ‘_PyTestCapi_Init_Complex’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/complex.c:167:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/complex.gcda’ profile count data file not found # 165| # 166| return 0; # 167|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/datetime.c: scope_hint: In function ‘_PyTestCapi_Init_DateTime’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/datetime.c:481:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/datetime.gcda’ profile count data file not found # 479| } # 480| return 0; # 481|-> } Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_getitemref’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:140:33: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 138| dict_getitemref(PyObject *self, PyObject *args) # 139| { # 140|-> PyObject *obj, *attr_name, *value = UNINITIALIZED_PTR; # 141| if (!PyArg_ParseTuple(args, "OO", &obj, &attr_name)) { # 142| return NULL; Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_getitemstringref’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:165:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 163| dict_getitemstringref(PyObject *self, PyObject *args) # 164| { # 165|-> PyObject *obj, *value = UNINITIALIZED_PTR; # 166| const char *attr_name; # 167| Py_ssize_t size; Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_setdefaultref’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:231:43: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 229| dict_setdefaultref(PyObject *self, PyObject *args) # 230| { # 231|-> PyObject *obj, *key, *default_value, *result = UNINITIALIZED_PTR; # 232| if (!PyArg_ParseTuple(args, "OOO", &obj, &key, &default_value)) { # 233| return NULL; Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_next’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:302:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 300| dict_next(PyObject *self, PyObject *args) # 301| { # 302|-> PyObject *mapping, *key = UNINITIALIZED_PTR, *value = UNINITIALIZED_PTR; # 303| Py_ssize_t pos; # 304| if (!PyArg_ParseTuple(args, "On", &mapping, &pos)) { Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:302:51: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size # 300| dict_next(PyObject *self, PyObject *args) # 301| { # 302|-> PyObject *mapping, *key = UNINITIALIZED_PTR, *value = UNINITIALIZED_PTR; # 303| Py_ssize_t pos; # 304| if (!PyArg_ParseTuple(args, "On", &mapping, &pos)) { Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_pop’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:369:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:367:5: note: in expansion of macro ‘NULLABLE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:367:5: note: in expansion of macro ‘NULLABLE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:368:5: note: in expansion of macro ‘NULLABLE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:368:5: note: in expansion of macro ‘NULLABLE’ # 367| NULLABLE(dict); # 368| NULLABLE(key); # 369|-> PyObject *result = UNINITIALIZED_PTR; # 370| int res = PyDict_Pop(dict, key, &result); # 371| if (res < 0) { Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c: scope_hint: In function ‘dict_popstring’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:410:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:409:5: note: in expansion of macro ‘NULLABLE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:409:5: note: in expansion of macro ‘NULLABLE’ # 408| } # 409| NULLABLE(dict); # 410|-> PyObject *result = UNINITIALIZED_PTR; # 411| int res = PyDict_PopString(dict, key, &result); # 412| if (res < 0) { Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c: scope_hint: In function ‘_PyTestCapi_Init_Dict’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/dict.c:484:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/dict.gcda’ profile count data file not found # 482| # 483| return 0; # 484|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/docstring.c: scope_hint: In function ‘_PyTestCapi_Init_Docstring’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/docstring.c:197:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/docstring.gcda’ profile count data file not found # 195| } # 196| return 0; # 197|-> } Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/exceptions.c: scope_hint: In function ‘_testcapi_exc_set_object_fetch_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/exceptions.c: scope_hint: In function ‘_testcapi_set_exc_info_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/exceptions.c: scope_hint: In function ‘_PyTestCapi_Init_Exceptions’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/exceptions.c:427:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/exceptions.gcda’ profile count data file not found # 425| # 426| return 0; # 427|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/file.c: scope_hint: In function ‘_PyTestCapi_Init_File’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/file.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/file.gcda’ profile count data file not found # 15| # 16| return 0; # 17|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/float.c: scope_hint: In function ‘_PyTestCapi_Init_Float’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/float.c:189:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/float.gcda’ profile count data file not found # 187| # 188| return 0; # 189|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/gc.c: scope_hint: In function ‘_PyTestCapi_Init_GC’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/gc.c:342:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/gc.gcda’ profile count data file not found # 340| # 341| return 0; # 342|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/getargs.c: scope_hint: In function ‘_PyTestCapi_Init_GetArgs’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/getargs.c:707:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getargs.gcda’ profile count data file not found # 705| # 706| return 0; # 707|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/hash.c: scope_hint: In function ‘_PyTestCapi_Init_Hash’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/hash.c:72:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/hash.gcda’ profile count data file not found # 70| { # 71| return PyModule_AddFunctions(m, test_methods); # 72|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/heaptype.c: scope_hint: In function ‘_PyTestCapi_Init_Heaptype’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/heaptype.c:1216:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/heaptype.gcda’ profile count data file not found # 1214| # 1215| return 0; # 1216|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/immortal.c: scope_hint: In function ‘_PyTestCapi_Init_Immortal’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/immortal.c:47:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/immortal.gcda’ profile count data file not found # 45| } # 46| return 0; # 47|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/list.c: scope_hint: In function ‘_PyTestCapi_Init_List’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/list.c:229:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/list.gcda’ profile count data file not found # 227| # 228| return 0; # 229|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/long.c: scope_hint: In function ‘_PyTestCapi_Init_Long’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/long.c:864:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/long.gcda’ profile count data file not found # 862| } # 863| return 0; # 864|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/mem.c: scope_hint: In function ‘_PyTestCapi_Init_Mem’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/mem.c:626:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/mem.gcda’ profile count data file not found # 624| # 625| return 0; # 626|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/numbers.c: scope_hint: In function ‘_PyTestCapi_Init_Numbers’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/numbers.c:16:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/numbers.gcda’ profile count data file not found # 14| # 15| return 0; # 16|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/pyatomic.c: scope_hint: In function ‘_PyTestCapi_Init_PyAtomic’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/pyatomic.c:191:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pyatomic.gcda’ profile count data file not found # 189| } # 190| return 0; # 191|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/set.c: scope_hint: In function ‘_PyTestCapi_Init_Set’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/set.c:197:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/set.gcda’ profile count data file not found # 195| # 196| return 0; # 197|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/structmember.c: scope_hint: In function ‘_PyTestCapi_Init_Structmember’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/structmember.c:216:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/structmember.gcda’ profile count data file not found # 214| # 215| return 0; # 216|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/time.c: scope_hint: In function ‘_PyTestCapi_Init_Time’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/time.c:109:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/time.gcda’ profile count data file not found # 107| } # 108| return 0; # 109|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/tuple.c: scope_hint: In function ‘_PyTestCapi_Init_Tuple’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/tuple.c:17:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/tuple.gcda’ profile count data file not found # 15| # 16| return 0; # 17|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/unicode.c: scope_hint: In function ‘_PyTestCapi_Init_Unicode’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/unicode.c:2104:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/unicode.gcda’ profile count data file not found # 2102| # 2103| return 0; # 2104|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/vectorcall.c: scope_hint: In function ‘_PyTestCapi_Init_Vectorcall’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/vectorcall.c:405:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/vectorcall.gcda’ profile count data file not found # 403| # 404| return 0; # 405|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/watchers.c: scope_hint: In function ‘_PyTestCapi_Init_Watchers’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/watchers.c:712:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/watchers.gcda’ profile count data file not found # 710| # 711| return 0; # 712|-> } Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c: scope_hint: In function ‘test_dict_inner’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:225:7: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:31: included_from: Included from here. # 223| } # 224| # 225|-> k = v = UNINITIALIZED_PTR; # 226| while (PyDict_Next(dict, &pos, &k, &v)) { # 227| PyObject *o; Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c: scope_hint: In function ‘test_dict_inner’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:225:11: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:31: included_from: Included from here. # 223| } # 224| # 225|-> k = v = UNINITIALIZED_PTR; # 226| while (PyDict_Next(dict, &pos, &k, &v)) { # 227| PyObject *o; Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:242:11: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/parts.h:25: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:66: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:232:13: note: in expansion of macro ‘PyLong_AS_LONG’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:241:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:241:9: note: in expansion of macro ‘Py_DECREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:241:9: note: in expansion of macro ‘Py_DECREF’ # 240| } # 241| Py_DECREF(o); # 242|-> k = v = UNINITIALIZED_PTR; # 243| } # 244| assert(k == UNINITIALIZED_PTR); Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:242:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapi/parts.h:25: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:66: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:232:13: note: in expansion of macro ‘PyLong_AS_LONG’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:241:9: note: in expansion of macro ‘Py_DECREF’ # 240| } # 241| Py_DECREF(o); # 242|-> k = v = UNINITIALIZED_PTR; # 243| } # 244| assert(k == UNINITIALIZED_PTR); Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c: scope_hint: In function ‘test_weakref_capi’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:3223:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:3207:25: note: in expansion of macro ‘Py_REFCNT’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/weakrefobject.h:15:32: note: in expansion of macro ‘PyObject_TypeCheck’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/weakrefobject.h:23:10: note: in expansion of macro ‘PyWeakref_CheckRef’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:3217:12: note: in expansion of macro ‘PyWeakref_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/weakrefobject.h:17:9: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:3219:12: note: in expansion of macro ‘PyWeakref_CheckRefExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:3220:12: note: in expansion of macro ‘Py_REFCNT’ # 3221| # 3222| // test PyWeakref_GetRef(), reference is alive # 3223|-> PyObject *ref = UNINITIALIZED_PTR; # 3224| assert(PyWeakref_GetRef(weakref, &ref) == 1); # 3225| assert(ref == obj); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c: scope_hint: In function ‘PyInit__testcapi’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testcapimodule.c:4098:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testcapimodule.gcda’ profile count data file not found # 4096| PyState_AddModule(m, &_testcapimodule); # 4097| return m; # 4098|-> } Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testclinic.c: scope_hint: In function ‘pack_arguments_newref’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testclinic.c:59:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testclinic.c:8: included_from: Included from here. # 57| va_end(vargs); # 58| return tuple; # 59|-> } # 60| # 61| /* Pack arguments to a tuple. Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testclinic.c: scope_hint: In function ‘PyInit__testclinic’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testclinic.c:1969:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testclinic.gcda’ profile count data file not found # 1967| Py_DECREF(m); # 1968| return NULL; # 1969|-> } # 1970| # 1971| #undef RETURN_PACKED_ARGS Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testclinic_limited.c: scope_hint: In function ‘PyInit__testclinic_limited’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testclinic_limited.c:132:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testclinic_limited.gcda’ profile count data file not found # 130| } # 131| return m; # 132|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testexternalinspection.c:1:9: warning: "_GNU_SOURCE" redefined <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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testexternalinspection.c: scope_hint: In function ‘find_python_map_start_address’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testexternalinspection.c:236:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&maps_file_path, "r")’ # 234| sprintf(maps_file_path, "/proc/%d/maps", pid); # 235| # 236|-> FILE* maps_file = fopen(maps_file_path, "r"); # 237| if (maps_file == NULL) { # 238| PyErr_SetFromErrno(PyExc_OSError); Error: GCC_ANALYZER_WARNING (CWE-401): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testexternalinspection.c:236:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&maps_file_path, "r")’ # 234| sprintf(maps_file_path, "/proc/%d/maps", pid); # 235| # 236|-> FILE* maps_file = fopen(maps_file_path, "r"); # 237| if (maps_file == NULL) { # 238| PyErr_SetFromErrno(PyExc_OSError); Error: GCC_ANALYZER_WARNING (CWE-775): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testexternalinspection.c: scope_hint: In function ‘get_py_runtime_linux’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testexternalinspection.c:294:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&elf_file, 0)’ # 292| void* file_memory = NULL; # 293| # 294|-> int fd = open(elf_file, O_RDONLY); # 295| if (fd < 0) { # 296| PyErr_SetFromErrno(PyExc_OSError); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testexternalinspection.c: scope_hint: In function ‘PyInit__testexternalinspection’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testexternalinspection.c:632:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testexternalinspection.gcda’ profile count data file not found # 630| } # 631| return mod; # 632|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testimportmultiple.c: scope_hint: In function ‘PyInit__testimportmultiple_bar’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testimportmultiple.c:62:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testimportmultiple.gcda’ profile count data file not found # 60| PyMODINIT_FUNC PyInit__testimportmultiple_bar(void){ # 61| return PyModule_Create(&_barmodule); # 62|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi.c: scope_hint: In function ‘PyInit__testinternalcapi’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi.c:1850:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testinternalcapi.gcda’ profile count data file not found # 1848| { # 1849| return PyModuleDef_Init(&_testcapimodule); # 1850|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/pytime.c: scope_hint: In function ‘_PyTestInternalCapi_Init_PyTime’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/pytime.c:261:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pytime.gcda’ profile count data file not found # 259| } # 260| return 0; # 261|-> } Error: GCC_ANALYZER_WARNING (CWE-131): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/set.c: scope_hint: In function ‘set_next_entry’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/set.c:25:21: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/set.c:2: included_from: Included from here. # 23| Py_ssize_t pos; # 24| Py_hash_t hash = (Py_hash_t)UNINITIALIZED_SIZE; # 25|-> PyObject *set, *item = UNINITIALIZED_PTR; # 26| if (!PyArg_ParseTuple(args, "On", &set, &pos)) { # 27| return NULL; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/set.c: scope_hint: In function ‘_PyTestInternalCapi_Init_Set’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/set.c:59:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/set.gcda’ profile count data file not found # 57| } # 58| return 0; # 59|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/test_critical_sections.c: scope_hint: In function ‘_PyTestInternalCapi_Init_CriticalSection’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/test_critical_sections.c:226:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/test_critical_sections.gcda’ profile count data file not found # 224| } # 225| return 0; # 226|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/test_lock.c: scope_hint: In function ‘_PyTestInternalCapi_Init_Lock’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testinternalcapi/test_lock.c:493:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/test_lock.gcda’ profile count data file not found # 491| } # 492| return 0; # 493|-> } Error: CPPCHECK_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi.c: scope_hint: In function ‘PyInit__testlimitedcapi’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi.c:48:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testlimitedcapi.gcda’ profile count data file not found # 46| } # 47| return mod; # 48|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/bytearray.c: scope_hint: In function ‘_PyTestCapi_Init_ByteArray’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/bytearray.c:123:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bytearray.gcda’ profile count data file not found # 121| # 122| return 0; # 123|-> } Error: CPPCHECK_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/bytes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/bytes.c: scope_hint: In function ‘_PyTestCapi_Init_Bytes’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/bytes.c:255:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bytes.gcda’ profile count data file not found # 253| # 254| return 0; # 255|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/heaptype_relative.c: scope_hint: In function ‘get_memb_offset’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/heaptype_relative.c: scope_hint: In function ‘get_memb_offset’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/heaptype_relative.c: scope_hint: In function ‘_PyTestCapi_Init_HeaptypeRelative’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/heaptype_relative.c:344:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/heaptype_relative.gcda’ profile count data file not found # 342| # 343| return 0; # 344|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/pyos.c: scope_hint: In function ‘_PyTestCapi_Init_PyOS’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/pyos.c:60:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pyos.gcda’ profile count data file not found # 58| # 59| return 0; # 60|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/sys.c: scope_hint: In function ‘_PyTestCapi_Init_Sys’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/sys.c:56:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/sys.gcda’ profile count data file not found # 54| # 55| return 0; # 56|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/vectorcall_limited.c: scope_hint: In function ‘_PyTestCapi_Init_VectorcallLimited’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testlimitedcapi/vectorcall_limited.c:200:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/vectorcall_limited.gcda’ profile count data file not found # 198| Py_DECREF(LimitedVectorCallClass); # 199| return 0; # 200|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testmultiphase.c: scope_hint: In function ‘PyInit__test_shared_gil_only’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testmultiphase.c:954:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testmultiphase.gcda’ profile count data file not found # 952| { # 953| return PyModuleDef_Init(&shared_gil_only_def); # 954|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testsinglephase.c: scope_hint: In function ‘clear_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testsinglephase.c:62:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’ # 60| clear_state(module_state *state) # 61| { # 62|-> state->initialized = 0; # 63| Py_CLEAR(state->error); # 64| Py_CLEAR(state->int_const); Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testsinglephase.c: scope_hint: In function ‘init_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testsinglephase.c:102:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’ # 100| # 101| /* Add an exception type */ # 102|-> state->error = PyErr_NewException("_testsinglephase.error", NULL, NULL); # 103| if (state->error == NULL) { # 104| goto error; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testsinglephase.c: scope_hint: In function ‘PyInit__testsinglephase_with_state’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_testsinglephase.c:477:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testsinglephase.gcda’ profile count data file not found # 475| finally: # 476| return module; # 477|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_threadmodule.c: scope_hint: In function ‘PyInit__thread’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_threadmodule.c:2106:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_threadmodule.gcda’ profile count data file not found # 2104| { # 2105| return PyModuleDef_Init(&thread_module); # 2106|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_tkinter.c: scope_hint: In function ‘PyInit__tkinter’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_tkinter.c:3329:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_tkinter.gcda’ profile count data file not found # 3327| # 3328| return m; # 3329|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_tracemalloc.c: scope_hint: In function ‘PyInit__tracemalloc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_tracemalloc.c:229:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_tracemalloc.gcda’ profile count data file not found # 227| # 228| return m; # 229|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_typingmodule.c: scope_hint: In function ‘PyInit__typing’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_typingmodule.c:91:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_typingmodule.gcda’ profile count data file not found # 89| { # 90| return PyModuleDef_Init(&typingmodule); # 91|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_uuidmodule.c: scope_hint: In function ‘PyInit__uuid’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_uuidmodule.c:129:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_uuidmodule.gcda’ profile count data file not found # 127| { # 128| return PyModuleDef_Init(&uuidmodule); # 129|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_weakref.c: scope_hint: In function ‘PyInit__weakref’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_weakref.c:187:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_weakref.gcda’ profile count data file not found # 185| { # 186| return PyModuleDef_Init(&weakrefmodule); # 187|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxinterpchannelsmodule.c: scope_hint: In function ‘PyInit__xxinterpchannels’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxinterpchannelsmodule.c:3380:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_xxinterpchannelsmodule.gcda’ profile count data file not found # 3378| { # 3379| return PyModuleDef_Init(&moduledef); # 3380|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxinterpqueuesmodule.c: scope_hint: In function ‘PyInit__xxinterpqueues’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxinterpqueuesmodule.c:1881:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_xxinterpqueuesmodule.gcda’ profile count data file not found # 1879| { # 1880| return PyModuleDef_Init(&moduledef); # 1881|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxsubinterpretersmodule.c: scope_hint: In function ‘PyInit__xxsubinterpreters’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxsubinterpretersmodule.c:1242:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_xxsubinterpretersmodule.gcda’ profile count data file not found # 1240| { # 1241| return PyModuleDef_Init(&moduledef); # 1242|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxtestfuzz/_xxtestfuzz.c: scope_hint: In function ‘PyInit__xxtestfuzz’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxtestfuzz/_xxtestfuzz.c:47:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_xxtestfuzz.gcda’ profile count data file not found # 45| { # 46| return PyModule_Create(&_fuzzmodule); # 47|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxtestfuzz/fuzzer.c: scope_hint: In function ‘LLVMFuzzerTestOneInput’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_xxtestfuzz/fuzzer.c:714:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/fuzzer.gcda’ profile count data file not found # 712| #endif # 713| return rv; # 714|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_zoneinfo.c: scope_hint: In function ‘PyInit__zoneinfo’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/_zoneinfo.c:2782:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_zoneinfo.gcda’ profile count data file not found # 2780| { # 2781| return PyModuleDef_Init(&zoneinfomodule); # 2782|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c: scope_hint: In function ‘array_slice’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c:865:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c:10: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c:128:32: note: in expansion of macro ‘PyObject_TypeCheck’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c:2520:14: note: in expansion of macro ‘array_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c:2522:18: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c: scope_hint: In function ‘array_slice’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c:853:21: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c: scope_hint: In function ‘array_slice’ <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: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c: scope_hint: In function ‘PyInit_array’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/arraymodule.c:3244:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/arraymodule.gcda’ profile count data file not found # 3242| { # 3243| return PyModuleDef_Init(&arraymodule); # 3244|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/atexitmodule.c: scope_hint: In function ‘PyInit_atexit’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/atexitmodule.c:336:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/atexitmodule.gcda’ profile count data file not found # 334| { # 335| return PyModuleDef_Init(&atexitmodule); # 336|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/binascii.c: scope_hint: In function ‘PyInit_binascii’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/binascii.c:1324:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/binascii.gcda’ profile count data file not found # 1322| { # 1323| return PyModuleDef_Init(&binasciimodule); # 1324|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/cjkcodecs/_codecs_hk.c:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/cjkcodecs/_codecs_hk.c: scope_hint: In function ‘PyInit__codecs_hk’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/cjkcodecs/cjkcodecs.h:510:19: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_codecs_hk.gcda’ profile count data file not found python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/cjkcodecs/_codecs_hk.c:190:1: note: in expansion of macro ‘I_AM_A_MODULE_FOR’ # 508| # 509| #define I_AM_A_MODULE_FOR(loc) \ # 510|-> static struct PyModuleDef _cjk_module = { \ # 511| PyModuleDef_HEAD_INIT, \ # 512| .m_name = "_codecs_"#loc, \ Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/cjkcodecs/multibytecodec.c: scope_hint: In function ‘PyInit__multibytecodec’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/cjkcodecs/multibytecodec.c:2083:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/multibytecodec.gcda’ profile count data file not found # 2081| { # 2082| return PyModuleDef_Init(&_multibytecodecmodule); # 2083|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/cmathmodule.c: scope_hint: In function ‘PyInit_cmath’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/cmathmodule.c:1382:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/cmathmodule.gcda’ profile count data file not found # 1380| { # 1381| return PyModuleDef_Init(&cmathmodule); # 1382|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/errnomodule.c: scope_hint: In function ‘PyInit_errno’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/errnomodule.c:984:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/errnomodule.gcda’ profile count data file not found # 982| { # 983| return PyModuleDef_Init(&errnomodule); # 984|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_read_null’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_read_null’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/faulthandler.c: scope_hint: In function ‘stack_overflow’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_stack_overflow’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/faulthandler.c: scope_hint: In function ‘faulthandler_stack_overflow’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/faulthandler.c: scope_hint: In function ‘_PyFaulthandler_Fini’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/faulthandler.c:1403:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/faulthandler.gcda’ profile count data file not found # 1401| } # 1402| #endif # 1403|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/fcntlmodule.c: scope_hint: In function ‘PyInit_fcntl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/fcntlmodule.c:761:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/fcntlmodule.gcda’ profile count data file not found # 759| { # 760| return PyModuleDef_Init(&fcntlmodule); # 761|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/gcmodule.c: scope_hint: In function ‘PyInit_gc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/gcmodule.c:559:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/gcmodule.gcda’ profile count data file not found # 557| { # 558| return PyModuleDef_Init(&gcmodule); # 559|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/getbuildinfo.c: scope_hint: In function ‘_Py_gitidentifier’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/getbuildinfo.c:79:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getbuildinfo.gcda’ profile count data file not found # 77| gitid = GITBRANCH; # 78| return gitid; # 79|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/getpath.c: scope_hint: In function ‘_PyConfig_InitPathConfig’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/getpath.c:984:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getpath.gcda’ profile count data file not found # 982| # 983| return _PyStatus_OK(); # 984|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/getpath_noop.c: scope_hint: In function ‘_PyConfig_InitPathConfig’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/getpath_noop.c:10:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getpath_noop.gcda’ profile count data file not found # 8| { # 9| return PyStatus_Error("path configuration is unsupported"); # 10|-> } Error: CPPCHECK_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/grpmodule.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/grpmodule.c: scope_hint: In function ‘PyInit_grp’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/grpmodule.c:378:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/grpmodule.gcda’ profile count data file not found # 376| { # 377| return PyModuleDef_Init(&grpmodule); # 378|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/itertoolsmodule.c: scope_hint: In function ‘PyInit_itertools’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/itertoolsmodule.c:4778:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/itertoolsmodule.gcda’ profile count data file not found # 4776| { # 4777| return PyModuleDef_Init(&itertoolsmodule); # 4778|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/main.c: scope_hint: In function ‘Py_BytesMain’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/main.c:762:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/main.gcda’ profile count data file not found # 760| .wchar_argv = NULL}; # 761| return pymain_main(&args); # 762|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/mathmodule.c:2936:5: warning[deadcode.DeadStores]: Value stored to 'r' is never read # 2934| /* deal directly with IEEE specials, to cope with problems on various # 2935| platforms whose semantics don't exactly match C99 */ # 2936|-> r = 0.; /* silence compiler warning */ # 2937| if (!Py_IS_FINITE(x) || !Py_IS_FINITE(y)) { # 2938| errno = 0; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/mathmodule.c: scope_hint: In function ‘PyInit_math’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/mathmodule.c:4159:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/mathmodule.gcda’ profile count data file not found # 4157| { # 4158| return PyModuleDef_Init(&mathmodule); # 4159|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/md5module.c: scope_hint: In function ‘PyInit__md5’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/md5module.c:397:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/md5module.gcda’ profile count data file not found # 395| { # 396| return PyModuleDef_Init(&_md5module); # 397|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/mmapmodule.c: scope_hint: In function ‘PyInit_mmap’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/mmapmodule.c:1818:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/mmapmodule.gcda’ profile count data file not found # 1816| { # 1817| return PyModuleDef_Init(&mmapmodule); # 1818|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:4206:22: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull' # 4204| if (HAVE_LINKAT_RUNTIME) { # 4205| # 4206|-> result = linkat(src_dir_fd, src->narrow, # 4207| dst_dir_fd, dst->narrow, # 4208| follow_symlinks ? AT_SYMLINK_FOLLOW : 0); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:4206:22: warning[core.NonNullParamChecker]: Null pointer passed to 4th parameter expecting 'nonnull' # 4204| if (HAVE_LINKAT_RUNTIME) { # 4205| # 4206|-> result = linkat(src_dir_fd, src->narrow, # 4207| dst_dir_fd, dst->narrow, # 4208| follow_symlinks ? AT_SYMLINK_FOLLOW : 0); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:4224:18: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull' # 4222| else # 4223| #endif /* HAVE_LINKAT */ # 4224|-> result = link(src->narrow, dst->narrow); # 4225| Py_END_ALLOW_THREADS # 4226| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:4224:18: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull' # 4222| else # 4223| #endif /* HAVE_LINKAT */ # 4224|-> result = link(src->narrow, dst->narrow); # 4225| Py_END_ALLOW_THREADS # 4226| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:7304:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value # 7302| } # 7303| if (envlist && envlist != environ) { # 7304|-> free_string_array(envlist, envc); # 7305| } # 7306| if (argvlist) { Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_readlink_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:9988:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:15600: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:44: included_from: Included from here. /usr/include/unistd.h:838:16: note: argument 1 of ‘readlink’ must be non-null # 9986| } else # 9987| #endif # 9988|-> length = readlink(path->narrow, buffer, MAXPATHLEN); # 9989| Py_END_ALLOW_THREADS # 9990| Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_symlink_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10261:22: warning[-Wanalyzer-null-argument]: use of NULL ‘dst.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1217:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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 #10259| if (dir_fd != DEFAULT_DIR_FD) { #10260| if (HAVE_SYMLINKAT_RUNTIME) { #10261|-> result = symlinkat(src->narrow, dir_fd, dst->narrow); #10262| } else { #10263| symlinkat_unavailable = 1; Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10261:22: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull' #10259| if (dir_fd != DEFAULT_DIR_FD) { #10260| if (HAVE_SYMLINKAT_RUNTIME) { #10261|-> result = symlinkat(src->narrow, dir_fd, dst->narrow); #10262| } else { #10263| symlinkat_unavailable = 1; Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10261:22: warning[core.NonNullParamChecker]: Null pointer passed to 3rd parameter expecting 'nonnull' #10259| if (dir_fd != DEFAULT_DIR_FD) { #10260| if (HAVE_SYMLINKAT_RUNTIME) { #10261|-> result = symlinkat(src->narrow, dir_fd, dst->narrow); #10262| } else { #10263| symlinkat_unavailable = 1; Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10267:18: warning[-Wanalyzer-null-argument]: use of NULL ‘dst.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1217:5: note: in expansion of macro ‘Py_INCREF’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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 #10265| } else #10266| #endif #10267|-> result = symlink(src->narrow, dst->narrow); #10268| Py_END_ALLOW_THREADS #10269| Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10267:18: warning[-Wanalyzer-null-argument]: use of NULL ‘src.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:109: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10257:5: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’ /usr/include/unistd.h:832:12: note: argument 2 of ‘symlink’ must be non-null #10265| } else #10266| #endif #10267|-> result = symlink(src->narrow, dst->narrow); #10268| Py_END_ALLOW_THREADS #10269| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10267:18: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull' #10265| } else #10266| #endif #10267|-> result = symlink(src->narrow, dst->narrow); #10268| Py_END_ALLOW_THREADS #10269| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10267:18: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull' #10265| } else #10266| #endif #10267|-> result = symlink(src->narrow, dst->narrow); #10268| Py_END_ALLOW_THREADS #10269| Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_open_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10802:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186: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_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. /usr/include/fcntl.h:212:12: note: argument 1 of ‘open’ must be non-null #10800| } else #10801| #endif /* HAVE_OPENAT */ #10802|-> fd = open(path->narrow, flags, mode); #10803| #endif /* !MS_WINDOWS */ #10804| Py_END_ALLOW_THREADS Error: GCC_ANALYZER_WARNING (CWE-775): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_dup2_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10982:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘res’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:10973:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’ #10980| #10981| if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { #10982|-> close(fd2); #10983| return -1; #10984| } Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_mkfifo_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:12221:22: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/fileutils.h:9: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:119: included_from: Included from here. /usr/include/sys/stat.h:418:12: note: argument 1 of ‘mkfifo’ must be non-null #12219| } else #12220| #endif #12221|-> result = mkfifo(path->narrow, mode); #12222| Py_END_ALLOW_THREADS #12223| } while (result != 0 && errno == EINTR && Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_mknod_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:12290:22: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ /usr/include/sys/stat.h:404:12: note: argument 1 of ‘mknod’ must be non-null #12288| } else #12289| #endif #12290|-> result = mknod(path->narrow, mode, device); #12291| Py_END_ALLOW_THREADS #12292| } while (result != 0 && errno == EINTR && Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_truncate_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:12444:14: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:12431: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 #12442| } #12443| #else #12444|-> result = truncate(path->narrow, length); #12445| #endif #12446| _Py_END_SUPPRESS_IPH Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_statvfs_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:13133:18: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ /usr/include/sys/statvfs.h:56:12: note: argument 1 of ‘statvfs’ must be non-null #13131| else #13132| #endif #13133|-> result = statvfs(path->narrow, &st); #13134| Py_END_ALLOW_THREADS #13135| Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘os_pathconf_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:13410:17: warning[-Wanalyzer-null-argument]: use of NULL ‘path.narrow’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1185:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:1186:5: note: in expansion of macro ‘Py_CLEAR’ /usr/include/unistd.h:633:17: note: argument 1 of ‘pathconf’ must be non-null #13408| else #13409| #endif #13410|-> limit = pathconf(path->narrow, name); #13411| if (limit == -1 && errno != 0) { #13412| if (errno == EINVAL) Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c: scope_hint: In function ‘PyInit_posix’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/posixmodule.c:17756:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/posixmodule.gcda’ profile count data file not found #17754| { #17755| return PyModuleDef_Init(&posixmodule); #17756|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/pwdmodule.c: scope_hint: In function ‘PyInit_pwd’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/pwdmodule.c:372:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pwdmodule.gcda’ profile count data file not found # 370| { # 371| return PyModuleDef_Init(&pwdmodule); # 372|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/pyexpat.c: scope_hint: In function ‘clear_handlers’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/pyexpat.c:2189:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pyexpat.gcda’ profile count data file not found # 2187| # 2188| {NULL, NULL, NULL} /* sentinel */ # 2189|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/readline.c: scope_hint: In function ‘PyInit_readline’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/readline.c:1591:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/readline.gcda’ profile count data file not found # 1589| Py_DECREF(m); # 1590| return NULL; # 1591|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/resource.c: scope_hint: In function ‘PyInit_resource’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/resource.c:551:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/resource.gcda’ profile count data file not found # 549| { # 550| return PyModuleDef_Init(&resourcemodule); # 551|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/rotatingtree.c: scope_hint: In function ‘RotatingTree_Enum’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/rotatingtree.c:130:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/rotatingtree.gcda’ profile count data file not found # 128| } # 129| return 0; # 130|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/selectmodule.c: scope_hint: In function ‘PyInit_select’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/selectmodule.c:2824:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/selectmodule.gcda’ profile count data file not found # 2822| { # 2823| return PyModuleDef_Init(&selectmodule); # 2824|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/sha1module.c: scope_hint: In function ‘PyInit__sha1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/sha1module.c:392:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/sha1module.gcda’ profile count data file not found # 390| { # 391| return PyModuleDef_Init(&_sha1module); # 392|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/sha2module.c: scope_hint: In function ‘PyInit__sha2’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/sha2module.c:887:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/sha2module.gcda’ profile count data file not found # 885| { # 886| return PyModuleDef_Init(&_sha2module); # 887|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/sha3module.c: scope_hint: In function ‘PyInit__sha3’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/sha3module.c:624:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/sha3module.gcda’ profile count data file not found # 622| { # 623| return PyModuleDef_Init(&_sha3module); # 624|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/signalmodule.c: scope_hint: In function ‘_PyOS_IsMainThread’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/signalmodule.c:2049:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/socketmodule.c: scope_hint: In function ‘PyInit__socket’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/socketmodule.c:8944:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/socketmodule.gcda’ profile count data file not found # 8942| { # 8943| return PyModuleDef_Init(&socketmodule); # 8944|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/symtablemodule.c: scope_hint: In function ‘PyInit__symtable’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/symtablemodule.c:128:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/symtablemodule.gcda’ profile count data file not found # 126| { # 127| return PyModuleDef_Init(&symtablemodule); # 128|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/syslogmodule.c: scope_hint: In function ‘PyInit_syslog’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/syslogmodule.c:456:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/syslogmodule.gcda’ profile count data file not found # 454| { # 455| return PyModuleDef_Init(&syslogmodule); # 456|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/termios.c: scope_hint: In function ‘PyInit_termios’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/termios.c:1379:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/termios.gcda’ profile count data file not found # 1377| { # 1378| return PyModuleDef_Init(&termiosmodule); # 1379|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/timemodule.c: scope_hint: In function ‘pysleep’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/timemodule.c:2336:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/timemodule.gcda’ profile count data file not found # 2334| return -1; # 2335| #endif # 2336|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/tkappinit.c: scope_hint: In function ‘Tcl_AppInit’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/tkappinit.c:92:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/tkappinit.gcda’ profile count data file not found # 90| #endif # 91| return TCL_OK; # 92|-> } Error: GCC_ANALYZER_WARNING (CWE-835): python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/unicodedata.c: scope_hint: In function ‘_dawg_decode_varint_unsigned’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/unicodedata.c: scope_hint: In function ‘PyInit_unicodedata’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/unicodedata.c:1687:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/unicodedata.gcda’ profile count data file not found # 1685| { # 1686| return PyModuleDef_Init(&unicodedata_module); # 1687|-> } # 1688| # 1689| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/xxlimited.c: scope_hint: In function ‘PyInit_xxlimited’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/xxlimited.c:440:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/xxlimited.gcda’ profile count data file not found # 438| { # 439| return PyModuleDef_Init(&xxmodule); # 440|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/xxlimited_35.c: scope_hint: In function ‘PyInit_xxlimited_35’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/xxlimited_35.c:321:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/xxlimited_35.gcda’ profile count data file not found # 319| { # 320| return PyModuleDef_Init(&xxmodule); # 321|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/xxsubtype.c: scope_hint: In function ‘PyInit_xxsubtype’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/xxsubtype.c:311:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/xxsubtype.gcda’ profile count data file not found # 309| { # 310| return PyModuleDef_Init(&xxsubtypemodule); # 311|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/zlibmodule.c: scope_hint: In function ‘PyInit_zlib’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Modules/zlibmodule.c:2128:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/zlibmodule.gcda’ profile count data file not found # 2126| { # 2127| return PyModuleDef_Init(&zlibmodule); # 2128|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/abstract.c: scope_hint: In function ‘PyIter_Send’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/abstract.c:2954:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/abstract.gcda’ profile count data file not found # 2952| } # 2953| return PYGEN_ERROR; # 2954|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/boolobject.c: scope_hint: In function ‘bool_dealloc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/boolobject.c:227:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/boolobject.gcda’ profile count data file not found # 225| { 1 } # 226| } # 227|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:913:54: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0 python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c: scope_hint: In function ‘bytearray___init__’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:19:6: note: at offset -1 into destination object ‘_PyByteArray_empty_string’ of size 1 # 911| else if (PyByteArray_Resize((PyObject *)self, Py_SIZE(self)+1) < 0) # 912| goto error; # 913|-> PyByteArray_AS_STRING(self)[Py_SIZE(self)-1] = value; # 914| } # 915| Error: COMPILER_WARNING (CWE-126): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:1826:5: warning[-Wstringop-overread]: ‘memmove’ reading 1 or more bytes from a region of size 0 python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c: scope_hint: In function ‘bytearray_pop’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:19:6: note: at offset 1 into source object ‘_PyByteArray_empty_string’ of size 1 # 1824| buf = PyByteArray_AS_STRING(self); # 1825| value = buf[index]; # 1826|-> memmove(buf + index, buf + index + 1, n - index); # 1827| if (PyByteArray_Resize((PyObject *)self, n - 1) < 0) # 1828| return NULL; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c: scope_hint: In function ‘bytearray_iter’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:2492:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bytearrayobject.gcda’ profile count data file not found # 2490| _PyObject_GC_TRACK(it); # 2491| return (PyObject *)it; # 2492|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:542:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value # 540| else if (sub_len == 1) { # 541| if (dir > 0) # 542|-> res = stringlib_find_char( # 543| str + start, end - start, # 544| *sub); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:546:19: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value # 544| *sub); # 545| else # 546|-> res = stringlib_rfind_char( # 547| str + start, end - start, # 548| *sub); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c: scope_hint: In function ‘_Py_bytes_endswith’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:836:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bytes_methods.gcda’ profile count data file not found # 834| { # 835| return _Py_bytes_tailmatch(str, len, "endswith", args, +1); # 836|-> } Error: GCC_ANALYZER_WARNING (CWE-457): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:121:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*str’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:41:37: note: in definition of macro ‘CHARACTER’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/bytesobject.h:29:32: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:2838:9: note: in expansion of macro ‘PyBytes_CheckExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:366:12: note: in expansion of macro ‘Py_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/listobject.h:26:31: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:2846:9: note: in expansion of macro ‘PyList_CheckExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/object.h:366:12: note: in expansion of macro ‘Py_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:41:37: note: in definition of macro ‘CHARACTER’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘PyBytes_FromStringAndSize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:135:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/bytesobject.h:29:32: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:2838:9: note: in expansion of macro ‘PyBytes_CheckExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/listobject.h:26:31: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:2846:9: note: in expansion of macro ‘PyList_CheckExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:28:32: note: in expansion of macro ‘Py_IS_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:2849:9: note: in expansion of macro ‘PyTuple_CheckExact’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/unicodeobject.h:107:5: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:2852:10: note: in expansion of macro ‘PyUnicode_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: 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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘_PyBytesWriter_Resize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:3393:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*writer.small_buffer’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/bytesobject.h:59: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:64: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:3392:24: note: in expansion of macro ‘PyBytes_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:3392:24: note: in expansion of macro ‘PyBytes_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:3392:24: note: in expansion of macro ‘PyBytes_AS_STRING’ # 3391| else # 3392| dest = PyBytes_AS_STRING(writer->buffer); # 3393|-> memcpy(dest, # 3394| writer->small_buffer, # 3395| pos); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c: scope_hint: In function ‘_PyBytes_Repeat’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytesobject.c:3557:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bytesobject.gcda’ profile count data file not found # 3555| } # 3556| } # 3557|-> } # 3558| Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/call.c: scope_hint: In function ‘_PyObject_CallMethodIdObjArgs’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/call.c: scope_hint: In function ‘PyObject_CallFunctionObjArgs’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/call.c: scope_hint: In function ‘PyVectorcall_NARGS’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/call.c:1052:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/call.gcda’ profile count data file not found # 1050| { # 1051| return _PyVectorcall_NARGS(n); # 1052|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/capsule.c: scope_hint: In function ‘capsule_clear’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/capsule.c:359:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/cellobject.c: scope_hint: In function ‘cell_set_contents’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/cellobject.c:193:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/cellobject.gcda’ profile count data file not found # 191| (newfunc)cell_new, /* tp_new */ # 192| 0, /* tp_free */ # 193|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/classobject.c: scope_hint: In function ‘instancemethod_new_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/classobject.c:546:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/classobject.gcda’ profile count data file not found # 544| .tp_descr_get = instancemethod_descr_get, # 545| .tp_new = instancemethod_new, # 546|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/codeobject.c: scope_hint: In function ‘_PyStaticCode_Init’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/codeobject.c:2394:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/codeobject.gcda’ profile count data file not found # 2392| _PyCode_Quicken(co); # 2393| return 0; # 2394|-> } # 2395| # 2396| #define MAX_CODE_UNITS_PER_LOC_ENTRY 8 Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/complexobject.c: scope_hint: In function ‘complex_new_impl’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/complexobject.c:1136:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/complexobject.gcda’ profile count data file not found # 1134| complex_new, /* tp_new */ # 1135| PyObject_Del, /* tp_free */ # 1136|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/descrobject.c: scope_hint: In function ‘property_init’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/descrobject.c:2089:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/descrobject.gcda’ profile count data file not found # 2087| PyType_GenericNew, /* tp_new */ # 2088| PyObject_GC_Del, /* tp_free */ # 2089|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/dictobject.c: scope_hint: In function ‘_PyDict_SendEvent’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/dictobject.c:7120:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/dictobject.gcda’ profile count data file not found # 7118| watcher_bits >>= 1; # 7119| } # 7120|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/enumobject.c: scope_hint: In function ‘reversed_setstate’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/enumobject.c:545:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c: scope_hint: In function ‘_PyException_AddNote’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/exceptions.c:3835:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/exceptions.gcda’ profile count data file not found # 3833| Py_XDECREF(r); # 3834| return res; # 3835|-> } # 3836| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/fileobject.c: scope_hint: In function ‘_PyFile_Flush’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/fileobject.c:548:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/fileobject.gcda’ profile count data file not found # 546| Py_DECREF(tmp); # 547| return 0; # 548|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/floatobject.c: scope_hint: In function ‘PyFloat_Unpack8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/floatobject.c:2611:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/floatobject.gcda’ profile count data file not found # 2609| return x; # 2610| } # 2611|-> } Error: GCC_ANALYZER_WARNING (CWE-465): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/frameobject.c: scope_hint: In function ‘PyFrame_LocalsToFast’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/frameobject.c:1456:8: warning[-Wanalyzer-deref-before-check]: check of ‘f’ for NULL after already dereferencing it python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/frameobject.c:3: included_from: Included from here. # 1454| { # 1455| assert(!_PyFrame_IsIncomplete(f->f_frame)); # 1456|-> if (f && f->f_fast_as_locals && !frame_is_cleared(f)) { # 1457| _PyFrame_LocalsToFast(f->f_frame, clear); # 1458| f->f_fast_as_locals = 0; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/frameobject.c: scope_hint: In function ‘_PyEval_BuiltinsFromGlobals’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/frameobject.c:1557:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/frameobject.gcda’ profile count data file not found # 1555| # 1556| return _PyEval_GetBuiltins(tstate); # 1557|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/funcobject.c: scope_hint: In function ‘PyStaticMethod_New’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/funcobject.c:1453:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/funcobject.gcda’ profile count data file not found # 1451| } # 1452| return (PyObject *)sm; # 1453|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c: scope_hint: In function ‘ga_getitem’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:562:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 560| # 561| PyObject *res = Py_GenericAlias(alias->origin, newargs); # 562|-> ((gaobject *)res)->starred = alias->starred; # 563| # 564| Py_DECREF(newargs); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c: scope_hint: In function ‘Py_GenericAlias’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genericaliasobject.c:998:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/genericaliasobject.gcda’ profile count data file not found # 996| } # 997| return (PyObject *)alias; # 998|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genobject.c: scope_hint: In function ‘async_gen_athrow_new’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/genobject.c:2335:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/genobject.gcda’ profile count data file not found # 2333| _PyObject_GC_TRACK((PyObject*)o); # 2334| return (PyObject*)o; # 2335|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/interpreteridobject.c: scope_hint: In function ‘PyInterpreterID_LookUp’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/interpreteridobject.c:294:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/interpreteridobject.gcda’ profile count data file not found # 292| } # 293| return _PyInterpreterState_LookUpID(id); # 294|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/iterobject.c: scope_hint: In function ‘PyAnextAwaitable_New’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/iterobject.c:512:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/iterobject.gcda’ profile count data file not found # 510| _PyObject_GC_TRACK(anext); # 511| return (PyObject *)anext; # 512|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:1446:26: warning[core.NullDereference]: Dereference of null pointer # 1444| *dst->keys++ = *src->keys++; # 1445| if (dst->values != NULL) # 1446|-> *dst->values++ = *src->values++; # 1447| } # 1448| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:1454:26: warning[core.NullDereference]: Dereference of null pointer # 1452| *dst->keys-- = *src->keys--; # 1453| if (dst->values != NULL) # 1454|-> *dst->values-- = *src->values--; # 1455| } # 1456| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c: scope_hint: In function ‘listiter_reduce_general’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/listobject.c:3872:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/listobject.gcda’ profile count data file not found # 3870| return NULL; # 3871| return Py_BuildValue("N(N)", iter, list); # 3872|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/longobject.c: scope_hint: In function ‘PyUnstable_Long_CompactValue’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/longobject.c:6614:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/longobject.gcda’ profile count data file not found # 6612| PyUnstable_Long_CompactValue(const PyLongObject* op) { # 6613| return _PyLong_CompactValue(op); # 6614|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c: scope_hint: In function ‘init_flags’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:243:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*mv.view.strides’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:2565:5: note: in expansion of macro ‘CHECK_RELEASED’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_abstract.h:15:37: note: in expansion of macro ‘Py_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c: scope_hint: In function ‘init_flags’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:2592:9: note: in expansion of macro ‘CHECK_RESTRICTED’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:2592:9: note: in expansion of macro ‘CHECK_RESTRICTED’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c: scope_hint: In function ‘init_flags’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:243:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*mv.view.suboffsets’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:2565:5: note: in expansion of macro ‘CHECK_RELEASED’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_abstract.h:15:37: note: in expansion of macro ‘Py_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c: scope_hint: In function ‘init_flags’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:2592:9: note: in expansion of macro ‘CHECK_RESTRICTED’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:2592:9: note: in expansion of macro ‘CHECK_RESTRICTED’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:624:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c: scope_hint: In function ‘memory_iter’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/memoryobject.c:3439:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/memoryobject.gcda’ profile count data file not found # 3437| 0, /* tp_alloc */ # 3438| memoryview, /* tp_new */ # 3439|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/methodobject.c: scope_hint: In function ‘cfunction_call’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/methodobject.c:554:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/methodobject.gcda’ profile count data file not found # 552| } # 553| return _Py_CheckFunctionResult(tstate, func, result, NULL); # 554|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/obmalloc.c:22: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/mimalloc/static.c:23: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/obmalloc.c:22: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/mimalloc/static.c:35: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/obmalloc.c:22: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/mimalloc/static.c:34: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/moduleobject.c: scope_hint: In function ‘module_set_annotations’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/moduleobject.c:1069:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/moduleobject.gcda’ profile count data file not found # 1067| new_module, /* tp_new */ # 1068| PyObject_GC_Del, /* tp_free */ # 1069|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/namespaceobject.c: scope_hint: In function ‘_PyNamespace_New’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/namespaceobject.c:291:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/namespaceobject.gcda’ profile count data file not found # 289| # 290| return (PyObject *)ns; # 291|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/object.c: scope_hint: In function ‘_Py_SetRefcnt’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/object.c:2972:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/object.gcda’ profile count data file not found # 2970| { # 2971| Py_SET_REFCNT(ob, refcnt); # 2972|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/obmalloc.c: scope_hint: In function ‘_PyObject_DebugMallocStats’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/obmalloc.c:3447:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/obmalloc.gcda’ profile count data file not found # 3445| return 0; # 3446| } # 3447|-> } # 3448| # 3449| #endif /* #ifdef WITH_PYMALLOC */ Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/odictobject.c: scope_hint: In function ‘mutablemapping_update’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/odictobject.c:2253:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/odictobject.gcda’ profile count data file not found # 2251| # 2252| Py_RETURN_NONE; # 2253|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/picklebufobject.c: scope_hint: In function ‘picklebuf_release’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/picklebufobject.c:218:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/rangeobject.c: scope_hint: In function ‘range_reverse’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/rangeobject.c:1284:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/rangeobject.gcda’ profile count data file not found # 1282| Py_DECREF(it); # 1283| return NULL; # 1284|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/setobject.c: scope_hint: In function ‘dummy_dealloc’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/setobject.c:2736:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/setobject.gcda’ profile count data file not found # 2734| }; # 2735| # 2736|-> static PyObject _dummy_struct = _PyObject_HEAD_INIT(&_PySetDummy_Type); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/sliceobject.c: scope_hint: In function ‘slicehash’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/sliceobject.c:723:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/sliceobject.gcda’ profile count data file not found # 721| 0, /* tp_alloc */ # 722| slice_new, /* tp_new */ # 723|-> }; Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:438: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:438: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/fastsearch.h: scope_hint: In function ‘fastsearch’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/fastsearch.h:769:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/find.h:86:1: note: in expansion of macro ‘STRINGLIB’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:440: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:686:5: note: in expansion of macro ‘ADJUST_INDICES’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:686:5: note: in expansion of macro ‘ADJUST_INDICES’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:686:5: note: in expansion of macro ‘ADJUST_INDICES’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:686:5: note: in expansion of macro ‘ADJUST_INDICES’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/count.h:13:1: note: in expansion of macro ‘STRINGLIB’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytes_methods.c:439: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/count.h:24:13: note: in expansion of macro ‘FASTSEARCH’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/count.h:24:13: note: in expansion of macro ‘FASTSEARCH’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:1119: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:1121: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/transmogrify.h:319:9: warning[-Wanalyzer-out-of-bounds]: buffer overflow python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/transmogrify.h:309:14: note: in expansion of macro ‘STRINGLIB_NEW’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:59: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:3: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:125:11: note: in expansion of macro ‘PyObject_New’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/transmogrify.h:309:14: note: in expansion of macro ‘STRINGLIB_NEW’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/bytearrayobject.h:37: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:63: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:1106:23: note: in expansion of macro ‘PyByteArray_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/transmogrify.h:314:14: note: in expansion of macro ‘STRINGLIB_STR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/bytearrayobject.h:23:9: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/bytearrayobject.c:1106:23: note: in expansion of macro ‘PyByteArray_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/transmogrify.h:315:16: note: in expansion of macro ‘STRINGLIB_STR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/stringlib/transmogrify.h: scope_hint: In function ‘stringlib_replace_interleave’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/structseq.c: scope_hint: In function ‘PyStructSequence_NewType’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/structseq.c:783:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/structseq.gcda’ profile count data file not found # 781| { # 782| return _PyStructSequence_NewType(desc, 0); # 783|-> } Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/tupleobject.c: scope_hint: In function ‘PyTuple_Pack’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/tupleobject.c: scope_hint: In function ‘_PyTuple_DebugMallocStats’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/tupleobject.c:1218:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/tupleobject.gcda’ profile count data file not found # 1216| } # 1217| #endif # 1218|-> } # 1219| # 1220| #undef STATE Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typeobject.c: scope_hint: In function ‘super_vectorcall’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typeobject.c:11024:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/typeobject.gcda’ profile count data file not found #11022| PyObject_GC_Del, /* tp_free */ #11023| .tp_vectorcall = (vectorcallfunc)super_vectorcall, #11024|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c: scope_hint: In function ‘_Py_clear_generic_types’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/typevarobject.c:1689:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/typevarobject.gcda’ profile count data file not found # 1687| Py_CLEAR(interp->cached_objects.paramspecargs_type); # 1688| Py_CLEAR(interp->cached_objects.paramspeckwargs_type); # 1689|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/unicodectype.c: scope_hint: In function ‘_PyUnicode_IsAlpha’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/unicodectype.c:294:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/unicodectype.gcda’ profile count data file not found # 292| # 293| return (ctype->flags & ALPHA_MASK) != 0; # 294|-> } # 295| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/unicodeobject.c: scope_hint: In function ‘PyInit__string’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/unicodeobject.c:15509:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/unicodeobject.gcda’ profile count data file not found #15507| { #15508| return PyModuleDef_Init(&_string_module); #15509|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/unionobject.c: scope_hint: In function ‘make_union’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/unionobject.c:401:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/unionobject.gcda’ profile count data file not found # 399| _PyObject_GC_TRACK(result); # 400| return (PyObject*)result; # 401|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/weakrefobject.c: scope_hint: In function ‘_PyStaticType_ClearWeakRefs’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Objects/weakrefobject.c:1049:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/weakrefobject.gcda’ profile count data file not found # 1047| clear_weakref((PyWeakReference *)*list); # 1048| } # 1049|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/action_helpers.c:107:12: warning[core.NullDereference]: Access to field 'elements' results in a dereference of a null pointer (loaded from variable 'seq') # 105| { # 106| Py_ssize_t len = asdl_seq_LEN(seq); # 107|-> return asdl_seq_GET_UNTYPED(seq, len - 1); # 108| } # 109| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/action_helpers.c: scope_hint: In function ‘_PyPegen_concatenate_strings’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/action_helpers.c:1663:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/action_helpers.gcda’ profile count data file not found # 1661| assert(current_pos == n_elements); # 1662| return _PyAST_JoinedStr(values, lineno, col_offset, end_lineno, end_col_offset, p->arena); # 1663|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/lexer/buffer.c: scope_hint: In function ‘_PyLexer_tok_reserve_buf’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/lexer/buffer.c:76:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/buffer.gcda’ profile count data file not found # 74| } # 75| return 1; # 76|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/lexer/lexer.c: scope_hint: In function ‘_PyTokenizer_Get’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/lexer/lexer.c:1484:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/lexer.gcda’ profile count data file not found # 1482| } # 1483| return result; # 1484|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/lexer/state.c: scope_hint: In function ‘_PyLexer_token_setup’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/lexer/state.c:149:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/state.gcda’ profile count data file not found # 147| } # 148| return type; # 149|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/myreadline.c: scope_hint: In function ‘PyOS_Readline’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/myreadline.c:441:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/myreadline.gcda’ profile count data file not found # 439| # 440| return res; # 441|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/parser.c: scope_hint: In function ‘_PyPegen_parse’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/parser.c:42043:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/parser.gcda’ profile count data file not found #42041| #42042| return result; #42043|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/peg_api.c: scope_hint: In function ‘_PyParser_InteractiveASTFromFile’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/peg_api.c:40:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen.c: scope_hint: In function ‘_PyPegen_run_parser_from_string’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen.c:971:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pegen.gcda’ profile count data file not found # 969| _PyTokenizer_Free(tok); # 970| return result; # 971|-> } Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen_errors.c:7: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen.h: scope_hint: In function ‘RAISE_ERROR_KNOWN_LOCATION’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen.h:185: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_a5-build/Python-3.13.0a5/Include/cpython/pythread.h:17: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/pythread.h:105: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:103: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen_errors.c:1: included_from: Included from here. # 183| va_end(va); # 184| return NULL; # 185|-> } # 186| #define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__) # 187| #define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__) Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen_errors.c: scope_hint: In function ‘_Pypegen_stack_overflow’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/pegen_errors.c:454:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/string_parser.c: scope_hint: In function ‘_PyPegen_parse_string’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/string_parser.c:277:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/string_parser.gcda’ profile count data file not found # 275| } # 276| return _PyPegen_decode_string(p, rawmode, s, len, t); # 277|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/token.c: scope_hint: In function ‘_PyToken_ThreeChars’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/token.c:247:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/token.gcda’ profile count data file not found # 245| } # 246| return OP; # 247|-> } Error: GCC_ANALYZER_WARNING (CWE-401): python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/file_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FindEncodingFilename’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/file_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FindEncodingFilename’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/file_tokenizer.c:470:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/file_tokenizer.gcda’ profile count data file not found # 468| _PyTokenizer_Free(tok); # 469| return encoding; # 470|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/helpers.c: scope_hint: In function ‘_PyTokenizer_ensure_utf8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/helpers.c:512:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/helpers.gcda’ profile count data file not found # 510| } # 511| return 1; # 512|-> } # 513| # 514| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/readline_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FromReadline’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/readline_tokenizer.c:134:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/string_tokenizer.c: scope_hint: In function ‘decode_str’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/string_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FromString’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/string_tokenizer.c:129:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/string_tokenizer.gcda’ profile count data file not found # 127| tok->underflow = &tok_underflow_string; # 128| return tok; # 129|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/utf8_tokenizer.c: scope_hint: In function ‘_PyTokenizer_FromUTF8’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Parser/tokenizer/utf8_tokenizer.c:55:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/utf8_tokenizer.gcda’ profile count data file not found # 53| tok->underflow = &tok_underflow_string; # 54| return tok; # 55|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_bootstrap_python.c:87:5: warning[deadcode.DeadStores]: Value stored to 'status' is never read # 85| } # 86| # 87|-> status = PyConfig_Read(&config); # 88| if (config.run_filename == NULL) { # 89| status = PyStatus_Error("Run filename expected"); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_bootstrap_python.c: scope_hint: In function ‘main’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_bootstrap_python.c:119:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_bootstrap_python.gcda’ profile count data file not found # 117| } # 118| Py_ExitStatusException(status); # 119|-> } # 120| Error: GCC_ANALYZER_WARNING (CWE-775): python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c: scope_hint: In function ‘read_text’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c:86:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inpath, "rb")’ # 84| read_text(const char *inpath) # 85| { # 86|-> FILE *infile = fopen(inpath, "rb"); # 87| if (infile == NULL) { # 88| fprintf(stderr, "cannot open '%s' for reading\n", inpath); Error: GCC_ANALYZER_WARNING (CWE-401): python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c:86:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inpath, "rb")’ # 84| read_text(const char *inpath) # 85| { # 86|-> FILE *infile = fopen(inpath, "rb"); # 87| if (infile == NULL) { # 88| fprintf(stderr, "cannot open '%s' for reading\n", inpath); Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c: scope_hint: In function ‘compile_and_marshal’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c:124: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 # 122| { # 123| char *filename = (char *) malloc(strlen(name) + 10); # 124|-> sprintf(filename, "<frozen %s>", name); # 125| PyObject *code = Py_CompileStringExFlags(text, filename, # 126| Py_file_input, NULL, 0); Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c: scope_hint: In function ‘get_varname’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c:147: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 # 145| size_t n = strlen(prefix); # 146| char *varname = (char *) malloc(strlen(name) + n + 1); # 147|-> (void)strcpy(varname, prefix); # 148| for (size_t i = 0; name[i] != '\0'; i++) { # 149| if (name[i] == '.') { Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c: scope_hint: In function ‘main’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_freeze_module.c:249:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_freeze_module.gcda’ profile count data file not found # 247| Py_Finalize(); # 248| return 1; # 249|-> } # 250| Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_testembed.c: scope_hint: In function ‘test_pre_initialization_sys_options’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_testembed.c:327:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dynamic_once_warnoption’ where non-null expected python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:24: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_testembed.c:8: included_from: Included from here. /usr/include/wchar.h:103:17: note: argument 1 of ‘wcsncpy’ must be non-null # 325| wchar_t *dynamic_xoption = \ # 326| (wchar_t *) calloc(xoption_len+1, sizeof(wchar_t)); # 327|-> wcsncpy(dynamic_once_warnoption, static_warnoption, warnoption_len+1); # 328| wcsncpy(dynamic_xoption, static_xoption, xoption_len+1); # 329| Error: GCC_ANALYZER_WARNING (CWE-688): python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_testembed.c:328: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 # 326| (wchar_t *) calloc(xoption_len+1, sizeof(wchar_t)); # 327| wcsncpy(dynamic_once_warnoption, static_warnoption, warnoption_len+1); # 328|-> wcsncpy(dynamic_xoption, static_xoption, xoption_len+1); # 329| # 330| _Py_EMBED_PREINIT_CHECK("Checking PySys_AddWarnOption\n"); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_testembed.c: scope_hint: In function ‘main’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/_testembed.c:2254:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_testembed.gcda’ profile count data file not found # 2252| This is intentional. */ # 2253| return -1; # 2254|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/python.c: scope_hint: In function ‘main’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Programs/python.c:16:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/python.gcda’ profile count data file not found # 14| { # 15| return Py_BytesMain(argc, argv); # 16|-> } # 17| #endif Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/Python-ast.c: scope_hint: In function ‘PyAST_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/Python-ast.c:17538:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/Python-ast.gcda’ profile count data file not found #17536| } #17537| return PyObject_IsInstance(obj, state->AST_type); #17538|-> } #17539| #17540| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/Python-tokenize.c: scope_hint: In function ‘PyInit__tokenize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/Python-tokenize.c:365:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/Python-tokenize.gcda’ profile count data file not found # 363| { # 364| return PyModuleDef_Init(&_tokenizemodule); # 365|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/_warnings.c: scope_hint: In function ‘_PyWarnings_Fini’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/_warnings.c:1495:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/_warnings.gcda’ profile count data file not found # 1493| { # 1494| warnings_clear_state(&interp->warnings); # 1495|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/asdl.c: scope_hint: In function ‘_Py_asdl_int_seq_new’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/asdl.c:6:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/assemble.c: scope_hint: In function ‘_PyAssemble_MakeCodeObject’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/assemble.c:755:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/assemble.gcda’ profile count data file not found # 753| assemble_free(&a); # 754| return co; # 755|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast.c: scope_hint: In function ‘_PyAST_GetDocString’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast.c:1107:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/ast.gcda’ profile count data file not found # 1105| } # 1106| return NULL; # 1107|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_opt.c:623:14: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 621| tuple or frozenset respectively. */ # 622| i = asdl_seq_LEN(ops) - 1; # 623|-> int op = asdl_seq_GET(ops, i); # 624| if (op == In || op == NotIn) { # 625| if (!fold_iter((expr_ty)asdl_seq_GET(args, i), arena, state)) { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_opt.c:625:33: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 623| int op = asdl_seq_GET(ops, i); # 624| if (op == In || op == NotIn) { # 625|-> if (!fold_iter((expr_ty)asdl_seq_GET(args, i), arena, state)) { # 626| return 0; # 627| } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_opt.c:670:31: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 668| CALL_SEQ(astfold_stmt, stmt, stmts); # 669| if (!docstring && _PyAST_GetDocString(stmts) != NULL) { # 670|-> stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0); # 671| asdl_expr_seq *values = _Py_asdl_expr_seq_new(1, ctx_); # 672| if (!values) { Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_opt.c: scope_hint: In function ‘_PyAST_Optimize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_opt.c:1136:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/ast_opt.gcda’ profile count data file not found # 1134| # 1135| return ret; # 1136|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_unparse.c:243:34: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 241| if (di >= 0) { # 242| APPEND_STR("="); # 243|-> APPEND_EXPR((expr_ty)asdl_seq_GET(args->defaults, di), PR_TEST); # 244| } # 245| if (posonlyarg_count && i + 1 == posonlyarg_count) { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_unparse.c:268:41: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 266| di = i - arg_count + default_count; # 267| if (di >= 0) { # 268|-> expr_ty default_ = (expr_ty)asdl_seq_GET(args->kw_defaults, di); # 269| if (default_) { # 270| APPEND_STR("="); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_unparse.c: scope_hint: In function ‘_PyAST_ExprAsUnicode’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ast_unparse.c:955:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/ast_unparse.gcda’ profile count data file not found # 953| { # 954| return expr_as_unicode(e, PR_TEST); # 955|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/bltinmodule.c: scope_hint: In function ‘_PyBuiltin_Init’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/bltinmodule.c:3187:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bltinmodule.gcda’ profile count data file not found # 3185| #undef ADD_TO_ALL # 3186| #undef SETBUILTIN # 3187|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/bootstrap_hash.c: scope_hint: In function ‘_Py_HashRandomization_Fini’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/bootstrap_hash.c:597:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/bootstrap_hash.gcda’ profile count data file not found # 595| dev_urandom_close(); # 596| #endif # 597|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/brc.c: scope_hint: In function ‘_Py_brc_after_fork’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/brc.c:196:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/freethreading/brc.gcda’ profile count data file not found # 194| _PyMutex_at_fork_reinit(&interp->brc.table[i].mutex); # 195| } # 196|-> } # 197| # 198| #endif /* Py_GIL_DISABLED */ Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c: scope_hint: In function ‘Py_LeaveRecursiveCall’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval.c:2955:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/ceval.gcda’ profile count data file not found # 2953| { # 2954| _Py_LeaveRecursiveCall(); # 2955|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval_gil.c: scope_hint: In function ‘_Py_HandlePending’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/ceval_gil.c:1094:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/ceval_gil.gcda’ profile count data file not found # 1092| } # 1093| return 0; # 1094|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/codecs.c: scope_hint: In function ‘_PyCodecRegistry_Init’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/codecs.c:1507:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/codecs.gcda’ profile count data file not found # 1505| interp->codecs_initialized = 1; # 1506| return 0; # 1507|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:203:43: warning[core.NullDereference]: Access to field 's_used' results in a dereference of a null pointer (loaded from variable 'seq') # 201| # 202| RETURN_IF_ERROR( # 203|-> _PyCompile_EnsureArrayLargeEnough(seq->s_used + 1, # 204| (void**)&seq->s_instrs, # 205| &seq->s_allocated, Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:252:24: warning[core.NullDereference]: Access to field 's_instrs' results in a dereference of a null pointer (loaded from variable 'seq') # 250| int idx = instr_sequence_next_inst(seq); # 251| RETURN_IF_ERROR(idx); # 252|-> instruction *ci = &seq->s_instrs[idx]; # 253| ci->i_opcode = opcode; # 254| ci->i_oparg = oparg; Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:1062:33: warning[core.NullDereference]: Dereference of null pointer # 1060| } # 1061| # 1062|-> Py_ssize_t arg = dict_add_o(u->u_metadata.u_consts, key); # 1063| Py_DECREF(key); # 1064| return arg; Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:1799:9: warning[core.NullDereference]: Access to field 'u_scope_type' results in a dereference of a null pointer (loaded from field 'u') # 1797| { # 1798| int scope; # 1799|-> if (c->u->u_scope_type == COMPILER_SCOPE_CLASS && # 1800| (_PyUnicode_EqualToASCIIString(name, "__class__") || # 1801| _PyUnicode_EqualToASCIIString(name, "__classdict__"))) { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:2897:47: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 2895| } # 2896| RETURN_IF_ERROR( # 2897|-> compiler_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, n), next, cond)); # 2898| if (!SAME_LABEL(next2, next)) { # 2899| USE_LABEL(c, next2); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:4183:5: warning[deadcode.DeadStores]: Value stored to 'op' is never read # 4181| } # 4182| # 4183|-> op = 0; # 4184| optype = OP_NAME; # 4185| scope = _PyST_GetScope(c->u->u_ste, mangled); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:4333:29: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 4331| ADDOP(c, loc, POP_TOP); # 4332| } # 4333|-> VISIT(c, expr, (expr_ty)asdl_seq_GET(s, n)); # 4334| # 4335| USE_LABEL(c, end); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:5252:13: warning[deadcode.DeadStores]: Value stored to 'have_dict' is never read # 5250| ADDOP_I(c, loc, DICT_MERGE, 1); # 5251| } # 5252|-> have_dict = 1; # 5253| } # 5254| assert(have_dict); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:5976:24: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 5974| { # 5975| location loc = LOC(s); # 5976|-> withitem_ty item = asdl_seq_GET(s->v.AsyncWith.items, pos); # 5977| # 5978| assert(s->kind == AsyncWith_kind); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:6692:5: warning[core.NullDereference]: Array access (via field 'fail_pop') results in a null pointer dereference # 6690| Py_ssize_t pops = pc->on_top + PyList_GET_SIZE(pc->stores); # 6691| RETURN_IF_ERROR(ensure_fail_pop(c, pc, pops)); # 6692|-> ADDOP_JUMP(c, loc, op, pc->fail_pop[pops]); # 6693| return SUCCESS; # 6694| } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c: scope_hint: In function ‘PyCode_Optimize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/compile.c:8076:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/compile.gcda’ profile count data file not found # 8074| { # 8075| return Py_NewRef(code); # 8076|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/context.c: scope_hint: In function ‘_PyContext_Init’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/context.c:1304:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/context.gcda’ profile count data file not found # 1302| # 1303| return _PyStatus_OK(); # 1304|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/critical_section.c: scope_hint: In function ‘_PyCriticalSection_Resume’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/critical_section.c:100:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/critical_section.gcda’ profile count data file not found # 98| # 99| tstate->critical_section &= ~_Py_CRITICAL_SECTION_INACTIVE; # 100|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c: scope_hint: In function ‘_PyXI_FiniTypes’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/crossinterp.c:1684:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/crossinterp.gcda’ profile count data file not found # 1682| { # 1683| fini_exceptions(interp); # 1684|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/dtoa.c: scope_hint: In function ‘_PyDtoa_Fini’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/dtoa.c:2841:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/dtoa.gcda’ profile count data file not found # 2839| } # 2840| #endif # 2841|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/dynamic_annotations.c: scope_hint: In function ‘RunningOnValgrind’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/dynamic_annotations.c:152:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/dynload_shlib.c: scope_hint: In function ‘_PyImport_FindSharedFuncptr’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/dynload_shlib.c:111:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/errors.c: scope_hint: In function ‘err_programtext’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/errors.c:1888:45: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘linebuf[0]’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/errors.c: scope_hint: In function ‘PyErr_ProgramTextObject’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/errors.c:1936:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:148:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:821:9: note: in expansion of macro ‘force_ascii’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c: scope_hint: In function ‘_Py_mbstowcs’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:148:21: note: read of 4 bytes from after the end of ‘wch’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c: scope_hint: In function ‘_Py_fopen_obj’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1820:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path_bytes, mode)’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/bytesobject.h:59: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:64: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1811:18: note: in expansion of macro ‘PyBytes_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1811:18: note: in expansion of macro ‘PyBytes_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1811:18: note: in expansion of macro ‘PyBytes_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:109: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1819:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’ # 1818| do { # 1819| Py_BEGIN_ALLOW_THREADS # 1820|-> f = fopen(path_bytes, mode); # 1821| Py_END_ALLOW_THREADS # 1822| } while (f == NULL Error: GCC_ANALYZER_WARNING (CWE-401): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1820:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path_bytes, mode)’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1811:18: note: in expansion of macro ‘PyBytes_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1811:18: note: in expansion of macro ‘PyBytes_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/bytesobject.h:25:12: note: in expansion of macro ‘_PyBytes_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1811:18: note: in expansion of macro ‘PyBytes_AS_STRING’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:1819:9: note: in expansion of macro ‘Py_BEGIN_ALLOW_THREADS’ # 1818| do { # 1819| Py_BEGIN_ALLOW_THREADS # 1820|-> f = fopen(path_bytes, mode); # 1821| Py_END_ALLOW_THREADS # 1822| } while (f == NULL Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c: scope_hint: In function ‘_Py_GetTicksPerSecond’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/fileutils.c:2968:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/fileutils.gcda’ profile count data file not found # 2966| #endif # 2967| return 0; # 2968|-> } # 2969| #endif Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/flowgraph.c: scope_hint: In function ‘_PyCfg_JumpLabelsToTargets’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/flowgraph.c:2797:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/flowgraph.gcda’ profile count data file not found # 2795| RETURN_IF_ERROR(label_exception_targets(g->g_entryblock)); # 2796| return SUCCESS; # 2797|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/formatter_unicode.c: scope_hint: In function ‘_PyComplex_FormatAdvancedWriter’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/formatter_unicode.c:1623:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/formatter_unicode.gcda’ profile count data file not found # 1621| return -1; # 1622| } # 1623|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/frame.c: scope_hint: In function ‘PyUnstable_InterpreterFrame_GetLine’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/frame.c:175:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/frame.gcda’ profile count data file not found # 173| [PyUnstable_EXECUTABLE_KIND_METHOD_DESCRIPTOR] = &PyMethodDescr_Type, # 174| [PyUnstable_EXECUTABLE_KINDS] = NULL, # 175|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/frozenmain.c: scope_hint: In function ‘Py_FrozenMain’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/frozenmain.c:90:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/frozenmain.gcda’ profile count data file not found # 88| } # 89| return sts; # 90|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/future.c: scope_hint: In function ‘_PyFuture_FromAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/future.c:110:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/future.gcda’ profile count data file not found # 108| } # 109| return 1; # 110|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/gc.c: scope_hint: In function ‘PyUnstable_GC_VisitObjects’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/gc.c:1961:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/gc.gcda’ profile count data file not found # 1959| done: # 1960| gcstate->enabled = origenstate; # 1961|-> } # 1962| # 1963| #endif // Py_GIL_DISABLED Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/gc_free_threading.c:827:5: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value # 825| PyObject *op; # 826| struct worklist_iter iter; # 827|-> WORKSTACK_FOR_EACH_ITER(&state->unreachable, &iter, op) { # 828| assert(gc_is_unreachable(op)); # 829| assert(_Py_REF_IS_MERGED(op->ob_ref_shared)); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/gc_free_threading.c:882:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value # 880| if (any_resurrected) { # 881| // Remove resurrected objects from the unreachable list. # 882|-> WORKSTACK_FOR_EACH_ITER(&state->unreachable, &iter, op) { # 883| if (!gc_is_unreachable(op)) { # 884| _PyObject_ASSERT(op, Py_REFCNT(op) > 1); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/gc_free_threading.c: scope_hint: In function ‘_PyGC_ClearAllFreeLists’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/gc_free_threading.c:1790:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/freethreading/gc_free_threading.gcda’ profile count data file not found # 1788| } # 1789| HEAD_UNLOCK(&_PyRuntime); # 1790|-> } # 1791| # 1792| #endif // Py_GIL_DISABLED Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/gc_gil.c: scope_hint: In function ‘_PyGC_ClearAllFreeLists’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/gc_gil.c:15:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:579:9: warning[core.NullDereference]: Array access (from variable 'expected') results in a null pointer dereference # 577| assert(expected != NULL); # 578| assert(arg != NULL); # 579|-> if (expected[0] == '(') { # 580| PyOS_snprintf(msgbuf, bufsize, # 581| "%.100s", expected); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2192:9: warning[deadcode.DeadStores]: Value stored to 'msg' is never read # 2190| /* We are into optional args, skip through to any remaining # 2191| * keyword args */ # 2192|-> msg = skipitem(&format, p_va, flags); # 2193| assert(msg == NULL); # 2194| } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2356:18: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference # 2354| /* copy tuple args */ # 2355| for (i = 0; i < nargs; i++) { # 2356|-> buf[i] = args[i]; # 2357| } # 2358| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2507:55: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference # 2505| for (i = 0; i < nargs; i++) { # 2506| if (i >= vararg) { # 2507|-> PyTuple_SET_ITEM(buf[vararg], i - vararg, Py_NewRef(args[i])); # 2508| continue; # 2509| } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2511:22: warning[core.NullDereference]: Array access (from variable 'args') results in a null pointer dereference # 2509| } # 2510| else { # 2511|-> buf[i] = args[i]; # 2512| } # 2513| } Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c: scope_hint: In function ‘PyArg_UnpackTuple’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2797:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:51: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/pymacro.h:168:37: note: in definition of macro ‘_Py_RVALUE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:27:18: note: in expansion of macro ‘PyType_FastSubclass’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:17:13: note: in expansion of macro ‘PyTuple_Check’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_tuple.h:21:39: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2790:13: note: in expansion of macro ‘_PyTuple_ITEMS’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/pymacro.h:168:37: note: in definition of macro ‘_Py_RVALUE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_tuple.h:21:39: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2790:13: note: in expansion of macro ‘_PyTuple_ITEMS’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/tupleobject.h:39: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:73: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2791:13: note: in expansion of macro ‘PyTuple_GET_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:22:28: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:23:12: note: in expansion of macro ‘Py_SIZE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2791:13: note: in expansion of macro ‘PyTuple_GET_SIZE’ # 2795| va_end(vargs); # 2796| return retval; # 2797|-> } # 2798| # 2799| int Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c: scope_hint: In function ‘_PyArg_UnpackStack’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2810:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:5: included_from: Included from here. # 2808| va_end(vargs); # 2809| return retval; # 2810|-> } # 2811| # 2812| Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c: scope_hint: In function ‘_PyArg_Fini’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getargs.c:2886:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getargs.gcda’ profile count data file not found # 2884| } # 2885| _PyRuntime.getargs.static_parsers = NULL; # 2886|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getcompiler.c: scope_hint: In function ‘Py_GetCompiler’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getcompiler.c:27:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getcompiler.gcda’ profile count data file not found # 25| { # 26| return COMPILER; # 27|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getcopyright.c: scope_hint: In function ‘Py_GetCopyright’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getcopyright.c:23:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getcopyright.gcda’ profile count data file not found # 21| { # 22| return cprt; # 23|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getopt.c: scope_hint: In function ‘_PyOS_GetOpt’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getopt.c:170:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getopt.gcda’ profile count data file not found # 168| # 169| return option; # 170|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getplatform.c: scope_hint: In function ‘Py_GetPlatform’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getplatform.c:12:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getplatform.gcda’ profile count data file not found # 10| { # 11| return PLATFORM; # 12|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getversion.c: scope_hint: In function ‘Py_GetVersion’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/getversion.c:29:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/getversion.gcda’ profile count data file not found # 27| # 28| // Export the Python hex version as a constant. # 29|-> const unsigned long Py_Version = PY_VERSION_HEX; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/hamt.c: scope_hint: In function ‘hamt_py_keys’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/hamt.c:2895:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/hashtable.c: scope_hint: In function ‘_Py_hashtable_destroy’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/hashtable.c:424:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/hashtable.gcda’ profile count data file not found # 422| ht->alloc.free(ht->buckets); # 423| ht->alloc.free(ht); # 424|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c: scope_hint: In function ‘PyInit__imp’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/import.c:3884:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/import.gcda’ profile count data file not found # 3882| { # 3883| return PyModuleDef_Init(&imp_module); # 3884|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/importdl.c: scope_hint: In function ‘_PyImport_LoadDynamicModuleWithSpec’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/importdl.c:252:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/importdl.gcda’ profile count data file not found # 250| Py_XDECREF(m); # 251| return NULL; # 252|-> } # 253| # 254| #endif /* HAVE_DYNAMIC_LOADING */ Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/initconfig.c:2857:23: warning[core.NullDereference]: Array access (via field 'items') results in a null pointer dereference # 2855| } # 2856| # 2857|-> PyMem_RawFree(config_argv.items[0]); # 2858| config_argv.items[0] = arg0; # 2859| } Error: GCC_ANALYZER_WARNING (CWE-457): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/initconfig.c: scope_hint: In function ‘config_read_cmdline’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/initconfig.c:2955:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘opt_index’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/initconfig.c:1: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/initconfig.c:4: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/initconfig.c:2905:16: note: in expansion of macro ‘_PyStatus_OK’ # 2953| } # 2954| # 2955|-> status = config_update_argv(config, opt_index); # 2956| if (_PyStatus_EXCEPTION(status)) { # 2957| goto done; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/initconfig.c: scope_hint: In function ‘_Py_DumpPathConfig’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/initconfig.c:3276:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/initconfig.gcda’ profile count data file not found # 3274| # 3275| _PyErr_SetRaisedException(tstate, exc); # 3276|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:285:18: warning[core.NullDereference]: Dereference of null pointer # 283| assert(opcode != RESERVED); # 284| if (opcode == INSTRUMENTED_LINE) { # 285|-> opcode = code->_co_monitoring->lines[offset].original_opcode; # 286| } # 287| if (opcode == INSTRUMENTED_INSTRUCTION) { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:288:18: warning[core.NullDereference]: Array access (via field 'per_instruction_opcodes') results in a null pointer dereference # 286| } # 287| if (opcode == INSTRUMENTED_INSTRUCTION) { # 288|-> opcode = code->_co_monitoring->per_instruction_opcodes[offset]; # 289| } # 290| int deinstrumented = DE_INSTRUMENT[opcode]; Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:554:18: warning[core.NullDereference]: Dereference of null pointer # 552| int opcode = _PyCode_CODE(code)[i].op.code; # 553| if (opcode == INSTRUMENTED_LINE) { # 554|-> opcode = code->_co_monitoring->lines[i].original_opcode; # 555| } # 556| if (opcode == INSTRUMENTED_INSTRUCTION) { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:557:18: warning[core.NullDereference]: Array access (via field 'per_instruction_opcodes') results in a null pointer dereference # 555| } # 556| if (opcode == INSTRUMENTED_INSTRUCTION) { # 557|-> opcode = code->_co_monitoring->per_instruction_opcodes[i]; # 558| } # 559| CHECK(opcode != INSTRUMENTED_INSTRUCTION); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:655:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'opcode_ptr') # 653| _PyCoLineInstrumentationData *lines = &code->_co_monitoring->lines[i]; # 654| opcode_ptr = &lines->original_opcode; # 655|-> opcode = *opcode_ptr; # 656| } # 657| if (opcode == INSTRUMENTED_INSTRUCTION) { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:659:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'opcode_ptr') # 657| if (opcode == INSTRUMENTED_INSTRUCTION) { # 658| opcode_ptr = &code->_co_monitoring->per_instruction_opcodes[i]; # 659|-> opcode = *opcode_ptr; # 660| CHECK(opcode != INSTRUMENTED_INSTRUCTION && opcode != INSTRUMENTED_LINE); # 661| CHECK(opcode == _PyOpcode_Deopt[opcode]); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:706:58: warning[core.NullDereference]: Array access (via field 'per_instruction_opcodes') results in a null pointer dereference # 704| CHECK(opcode != 0); # 705| if (is_instrumented(opcode)) { # 706|-> code->_co_monitoring->per_instruction_opcodes[i] = opcode; # 707| } # 708| else { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:712:58: warning[core.NullDereference]: Array access (via field 'per_instruction_opcodes') results in a null pointer dereference # 710| assert(_PyOpcode_Deopt[opcode] != 0); # 711| assert(_PyOpcode_Deopt[opcode] != RESUME); # 712|-> code->_co_monitoring->per_instruction_opcodes[i] = _PyOpcode_Deopt[opcode]; # 713| } # 714| assert(code->_co_monitoring->per_instruction_opcodes[i] > 0); Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:734:31: warning[core.NullDereference]: Array access (via field 'tools') results in a null pointer dereference # 732| else { # 733| /* Single tool */ # 734|-> uint8_t single_tool = code->_co_monitoring->active_monitors.tools[event]; # 735| assert(_Py_popcount32(single_tool) <= 1); # 736| if (((single_tool & tools) == single_tool)) { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:1339:22: warning[core.NullDereference]: Dereference of null pointer # 1337| assert(opcode != ENTER_EXECUTOR); # 1338| if (opcode == INSTRUMENTED_LINE) { # 1339|-> opcode = code->_co_monitoring->lines[i].original_opcode; # 1340| } # 1341| if (opcode == INSTRUMENTED_INSTRUCTION) { Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:1712:17: warning[core.NullDereference]: Dereference of null pointer # 1710| _PyCoLineInstrumentationData *line_data = code->_co_monitoring->lines; # 1711| for (int i = code->_co_firsttraceable; i < code_len;) { # 1712|-> if (line_data[i].original_opcode) { # 1713| if (new_line_tools) { # 1714| add_line_tools(code, i, new_line_tools); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c: scope_hint: In function ‘_Py_CreateMonitoringObject’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/instrumentation.c:2286:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/instrumentation.gcda’ profile count data file not found # 2284| Py_DECREF(mod); # 2285| return NULL; # 2286|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/intrinsics.c: scope_hint: In function ‘_PyCompile_GetBinaryIntrinsicName’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/intrinsics.c:288:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/intrinsics.gcda’ profile count data file not found # 286| } # 287| return PyUnicode_FromString(_PyIntrinsics_BinaryFunctions[index].name); # 288|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/legacy_tracing.c: scope_hint: In function ‘_PyEval_SetTrace’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/legacy_tracing.c:583:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/legacy_tracing.gcda’ profile count data file not found # 581| # 582| return _PyMonitoring_SetEvents(PY_MONITORING_SYS_TRACE_ID, events); # 583|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/lock.c: scope_hint: In function ‘_PySeqLock_AfterFork’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/lock.c:564:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/lock.gcda’ profile count data file not found # 562| # 563| return 0; # 564|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/marshal.c:210:5: warning[core.NullDereference]: Dereference of null pointer # 208| w_short_pstring(const void *s, Py_ssize_t n, WFILE *p) # 209| { # 210|-> w_byte(Py_SAFE_DOWNCAST(n, Py_ssize_t, unsigned char), p); # 211| w_string(s, n, p); # 212| } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/marshal.c: scope_hint: In function ‘PyMarshal_Init’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/marshal.c:1955:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/marshal.gcda’ profile count data file not found # 1953| { # 1954| return PyModuleDef_Init(&marshalmodule); # 1955|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/modsupport.c: scope_hint: In function ‘PyModule_AddType’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/modsupport.c:649:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/modsupport.gcda’ profile count data file not found # 647| # 648| return PyModule_AddObjectRef(module, name, (PyObject *)type); # 649|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/mysnprintf.c: scope_hint: In function ‘PyOS_vsnprintf’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/mysnprintf.c:80:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/mysnprintf.gcda’ profile count data file not found # 78| } # 79| return len; # 80|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/mystrtoul.c: scope_hint: In function ‘PyOS_strtol’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/mystrtoul.c:297:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/mystrtoul.gcda’ profile count data file not found # 295| } # 296| return result; # 297|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/object_stack.c: scope_hint: In function ‘_PyObjectStackChunk_ClearFreeList’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/object_stack.c:108:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/object_stack.gcda’ profile count data file not found # 106| } # 107| freelist->numfree = -1; # 108|-> } Error: GCC_ANALYZER_WARNING (CWE-126): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c: scope_hint: In function ‘make_executor_from_uops’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:919:15: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:848:14: note: in expansion of macro ‘BIT_IS_SET’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:860:9: note: in expansion of macro ‘SET_BIT’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:1: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:916:14: note: in expansion of macro ‘BIT_IS_SET’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:919:15: note: read of 16 bytes from after the end of ‘buffer’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:919:15: note: valid subscripts for ‘buffer’ are ‘[0]’ to ‘[2]’ # └─────────────────────────────────────────────┘ # ^ # 917| continue; # 918| } # 919|-> *dest = buffer[i]; # 920| int opcode = buffer[i].opcode; # 921| if (opcode == _POP_JUMP_IF_FALSE || Error: GCC_ANALYZER_WARNING (CWE-126): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:920:31: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:848:14: note: in expansion of macro ‘BIT_IS_SET’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:860:9: note: in expansion of macro ‘SET_BIT’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:916:14: note: in expansion of macro ‘BIT_IS_SET’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:920:31: note: read of 2 bytes from after the end of ‘buffer’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:920:31: note: valid subscripts for ‘buffer’ are ‘[0]’ to ‘[2]’ # └────────────────────────────┘ # ^ # 918| } # 919| *dest = buffer[i]; # 920|-> int opcode = buffer[i].opcode; # 921| if (opcode == _POP_JUMP_IF_FALSE || # 922| opcode == _POP_JUMP_IF_TRUE) Error: GCC_ANALYZER_WARNING (CWE-126): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:929:58: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:848:14: note: in expansion of macro ‘BIT_IS_SET’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:860:9: note: in expansion of macro ‘SET_BIT’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:916:14: note: in expansion of macro ‘BIT_IS_SET’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:929:58: note: read of 4 bytes from after the end of ‘buffer’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:929:58: note: valid subscripts for ‘buffer’ are ‘[0]’ to ‘[2]’ # └────────────────────────────┘ # ^ # 927| } # 928| if (_PyUop_Flags[opcode] & HAS_EXIT_FLAG) { # 929|-> executor->exits[next_exit].target = buffer[i].target; # 930| dest->exit_index = next_exit; # 931| next_exit--; Error: GCC_ANALYZER_WARNING (CWE-121): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:935:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:848:14: note: in expansion of macro ‘BIT_IS_SET’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:860:9: note: in expansion of macro ‘SET_BIT’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:916:14: note: in expansion of macro ‘BIT_IS_SET’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:935:25: note: write of 2 bytes to beyond the end of ‘buffer’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:935:25: note: valid subscripts for ‘buffer’ are ‘[0]’ to ‘[2]’ # 933| /* Set the oparg to be the destination offset, # 934| * so that we can set the oparg of earlier jumps correctly. */ # 935|-> buffer[i].oparg = (uint16_t)(dest - executor->trace); # 936| dest--; # 937| } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c: scope_hint: In function ‘_Py_Executors_InvalidateAll’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer.c:1390:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/optimizer.gcda’ profile count data file not found # 1388| } # 1389| } # 1390|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_analysis.c:510:33: warning[core.NullDereference]: Access to field 'co_consts' results in a dereference of a null pointer (loaded from variable 'co') # 508| case _LOAD_CONST: { # 509| assert(co != NULL); # 510|-> PyObject *val = PyTuple_GET_ITEM(co->co_consts, buffer[pc].oparg); # 511| buffer[pc].opcode = _Py_IsImmortal(val) ? _LOAD_CONST_INLINE_BORROW : _LOAD_CONST_INLINE; # 512| buffer[pc].operand = (uintptr_t)val; Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:50: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_analysis.c:12: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_analysis.c: scope_hint: In function ‘peephole_opt’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_analysis.c:510:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘co’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:27:38: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_analysis.c:510:33: note: in expansion of macro ‘PyTuple_GET_ITEM’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/cpython/tupleobject.h:27:38: note: in expansion of macro ‘_PyTuple_CAST’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_analysis.c:510:33: note: in expansion of macro ‘PyTuple_GET_ITEM’ # 508| case _LOAD_CONST: { # 509| assert(co != NULL); # 510|-> PyObject *val = PyTuple_GET_ITEM(co->co_consts, buffer[pc].oparg); # 511| buffer[pc].opcode = _Py_IsImmortal(val) ? _LOAD_CONST_INLINE_BORROW : _LOAD_CONST_INLINE; # 512| buffer[pc].operand = (uintptr_t)val; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_analysis.c: scope_hint: In function ‘_Py_uop_analyze_and_optimize’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_analysis.c:585:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/optimizer_analysis.gcda’ profile count data file not found # 583| error: # 584| return -1; # 585|-> } Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘sym_set_flag’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:70:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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_a5-build/Python-3.13.0a5/Include/internal/pycore_import.h:111: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_runtime.h:16: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_long.h:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:7: included_from: Included from here. # 68| sym_set_flag(_Py_UopsSymbol *sym, int flag) # 69| { # 70|-> sym->flags |= flag; # 71| } # 72| Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:108:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:423:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:424:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:424:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:426:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:434:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:435:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:435:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:436:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:437:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:437:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:438:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:442:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:58: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:2: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:78:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:146:25: note: in expansion of macro ‘Py_TYPE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:460:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:461:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:462:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:462:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:463:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:464:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:464:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:465:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:467:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:467:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:470:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:471:5: note: in expansion of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:78:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:78:5: note: in expansion of macro ‘Py_CLEAR’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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_a5-build/Python-3.13.0a5/Include/internal/pycore_import.h:111: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_runtime.h:16: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/internal/pycore_long.h:13: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:7: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_sym_truthiness’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:381:11: note: in definition of macro ‘TEST_PREDICATE’ python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c: scope_hint: In function ‘_Py_uop_symbols_test’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/optimizer_symbols.c:502:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/optimizer_symbols.gcda’ profile count data file not found # 500| Py_XDECREF(val_43); # 501| return NULL; # 502|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/parking_lot.c: scope_hint: In function ‘_PyParkingLot_AfterFork’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/parking_lot.c:386:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/parking_lot.gcda’ profile count data file not found # 384| llist_init(&buckets[i].root); # 385| } # 386|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pathconfig.c: scope_hint: In function ‘_PyPathConfig_ComputeSysPath0’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pathconfig.c:498:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pathconfig.gcda’ profile count data file not found # 496| *path0_p = path0_obj; # 497| return 1; # 498|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/perf_trampoline.c: scope_hint: In function ‘_PyPerfTrampoline_AfterFork_Child’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/perf_trampoline.c:528:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/perf_trampoline.gcda’ profile count data file not found # 526| #endif # 527| return PyStatus_Ok(); # 528|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/preconfig.c: scope_hint: In function ‘_PyPreConfig_Write’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/preconfig.c:978:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/preconfig.gcda’ profile count data file not found # 976| # 977| return _PyStatus_OK(); # 978|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pyarena.c: scope_hint: In function ‘_PyArena_AddPyObject’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pyarena.c:211:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pyarena.gcda’ profile count data file not found # 209| } # 210| return r; # 211|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pyfpe.c: scope_hint: In function ‘PyFPE_dummy’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pyfpe.c:18:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pyfpe.gcda’ profile count data file not found # 16| { # 17| return 1.0; # 18|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pyhash.c: scope_hint: In function ‘pysiphash’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pyhash.c:477:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pyhash.gcda’ profile count data file not found # 475| } # 476| # 477|-> static PyHash_FuncDef PyHash_Func = {pysiphash, "siphash13", 64, 128}; # 478| #endif # 479| Error: GCC_ANALYZER_WARNING (CWE-457): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pylifecycle.c: scope_hint: In function ‘pyinit_config’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pylifecycle.c:903:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tstate’ # 901| return status; # 902| } # 903|-> *tstate_p = tstate; # 904| # 905| status = pycore_interp_init(tstate); Error: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pylifecycle.c: scope_hint: In function ‘Py_InitializeFromConfig.part.0’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pylifecycle.c:1360:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tstate’ # 1358| return status; # 1359| } # 1360|-> config = _PyInterpreterState_GetConfig(tstate->interp); # 1361| # 1362| if (config->_init_main) { Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pylifecycle.c: scope_hint: In function ‘PyOS_setsig’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pylifecycle.c:3249:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pylifecycle.gcda’ profile count data file not found # 3247| return oldhandler; # 3248| #endif # 3249|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pymath.c: scope_hint: In function ‘_Py_set_387controlword’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pymath.c:18:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: GCC_ANALYZER_WARNING (CWE-476): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystate.c: scope_hint: In function ‘bind_tstate’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystate.c:258:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tstate’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystate.c: scope_hint: In function ‘bind_tstate’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystate.c: scope_hint: In function ‘bind_tstate’ # 256| // in thread-local storage (e.g. per-interpreter). # 257| # 258|-> tstate->thread_id = PyThread_get_thread_ident(); # 259| #ifdef PY_HAVE_THREAD_NATIVE_ID # 260| tstate->native_thread_id = PyThread_get_thread_native_id(); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystate.c: scope_hint: In function ‘_PyThreadState_ClearMimallocHeaps’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystate.c:2901:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pystate.gcda’ profile count data file not found # 2899| } # 2900| #endif # 2901|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystrcmp.c: scope_hint: In function ‘PyOS_mystricmp’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystrcmp.c:30:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pystrcmp.gcda’ profile count data file not found # 28| } # 29| return (Py_TOLOWER(*p1) - Py_TOLOWER(*p2)); # 30|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystrhex.c: scope_hint: In function ‘_Py_strhex_bytes_with_sep’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystrhex.c:172:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystrtod.c: scope_hint: In function ‘PyOS_double_to_string’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pystrtod.c:1285:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pythonrun.c: scope_hint: In function ‘PyRun_InteractiveLoop’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pythonrun.c:1654:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pythonrun.gcda’ profile count data file not found # 1652| { # 1653| return PyRun_InteractiveLoopFlags(f, p, NULL); # 1654|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pytime.c: scope_hint: In function ‘_PyDeadline_Get’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/pytime.c:1418:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/pytime.gcda’ profile count data file not found # 1416| PyTime_t now = _PyTime_MonotonicUnchecked(); # 1417| return deadline - now; # 1418|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/qsbr.c: scope_hint: In function ‘_Py_qsbr_after_fork’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/qsbr.c:282:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/qsbr.gcda’ profile count data file not found # 280| } # 281| } # 282|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/specialize.c: scope_hint: In function ‘_Py_Specialize_ContainsOp’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/specialize.c:2650:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/specialize.gcda’ profile count data file not found # 2648| RESUME, RESUME_AT_FUNC_START, # 2649| } # 2650|-> }; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/structmember.c: scope_hint: In function ‘PyMember_SetOne’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/structmember.c:341:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/structmember.gcda’ profile count data file not found # 339| } # 340| return 0; # 341|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/suggestions.c: scope_hint: In function ‘_Py_UTF8_Edit_Cost’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/suggestions.c:204:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/suggestions.gcda’ profile count data file not found # 202| PyMem_Free(buffer); # 203| return res; # 204|-> } # 205| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/symtable.c:1613:28: warning[core.NullDereference]: Array access (via field 'typed_elements') results in a null pointer dereference # 1611| { # 1612| for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) { # 1613|-> expr_ty default_ = asdl_seq_GET(kw_defaults, i); # 1614| if (default_) { # 1615| return 1; Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/symtable.c:2668:35: warning[core.NullDereference]: Access to field 'ste_coroutine' results in a dereference of a null pointer (loaded from field 'st_cur') # 2666| } # 2667| if (is_async) { # 2668|-> st->st_cur->ste_coroutine = 1; # 2669| } # 2670| return 1; Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/symtable.c: scope_hint: In function ‘_Py_Mangle’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/symtable.c:2834:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/symtable.gcda’ profile count data file not found # 2832| assert(_PyUnicode_CheckConsistency(result, 1)); # 2833| return result; # 2834|-> } Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c: scope_hint: In function ‘PySys_Audit’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:338:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:17: included_from: Included from here. # 336| va_end(vargs); # 337| return res; # 338|-> } # 339| # 340| int Error: GCC_ANALYZER_WARNING (CWE-775): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c: scope_hint: In function ‘PyUnstable_CopyPerfMapFile’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:2450:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(parent_filename, "r")’ # 2448| PyAPI_FUNC(int) PyUnstable_CopyPerfMapFile(const char* parent_filename) { # 2449| #ifndef MS_WINDOWS # 2450|-> FILE* from = fopen(parent_filename, "r"); # 2451| if (!from) { # 2452| return -1; Error: GCC_ANALYZER_WARNING (CWE-401): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:2450:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(parent_filename, "r")’ # 2448| PyAPI_FUNC(int) PyUnstable_CopyPerfMapFile(const char* parent_filename) { # 2449| #ifndef MS_WINDOWS # 2450|-> FILE* from = fopen(parent_filename, "r"); # 2451| if (!from) { # 2452| return -1; Error: GCC_ANALYZER_WARNING (CWE-775): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:2452:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘from’ # 2450| FILE* from = fopen(parent_filename, "r"); # 2451| if (!from) { # 2452|-> return -1; # 2453| } # 2454| if (perf_map_state.perf_map == NULL) { Error: GCC_ANALYZER_WARNING (CWE-401): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:2452:16: warning[-Wanalyzer-malloc-leak]: leak of ‘from’ # 2450| FILE* from = fopen(parent_filename, "r"); # 2451| if (!from) { # 2452|-> return -1; # 2453| } # 2454| if (perf_map_state.perf_map == NULL) { Error: GCC_ANALYZER_WARNING (CWE-775): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c: scope_hint: In function ‘PyUnstable_CopyPerfMapFile’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:2454:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(parent_filename, "r")’ # 2452| return -1; # 2453| } # 2454|-> if (perf_map_state.perf_map == NULL) { # 2455| int ret = PyUnstable_PerfMapState_Init(); # 2456| if (ret != 0) { Error: GCC_ANALYZER_WARNING (CWE-401): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:2454:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(parent_filename, "r")’ # 2452| return -1; # 2453| } # 2454|-> if (perf_map_state.perf_map == NULL) { # 2455| int ret = PyUnstable_PerfMapState_Init(); # 2456| if (ret != 0) { Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c: scope_hint: In function ‘PySys_FormatStderr’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/sysmodule.c:4062:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/sysmodule.gcda’ profile count data file not found # 4060| sys_format(&_Py_ID(stderr), stderr, format, va); # 4061| va_end(va); # 4062|-> } Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/thread.c: scope_hint: In function ‘_PyThread_FiniType’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/thread.c:300:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/thread.gcda’ profile count data file not found # 298| { # 299| _PyStructSequence_FiniBuiltin(interp, &ThreadInfoType); # 300|-> } Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/traceback.c:1018:25: warning[core.NullDereference]: Access to field 'thread_id' results in a dereference of a null pointer (loaded from variable 'tstate') # 1016| PUTS(fd, "Thread 0x"); # 1017| _Py_DumpHexadecimal(fd, # 1018|-> tstate->thread_id, # 1019| sizeof(unsigned long) * 2); # 1020| PUTS(fd, " (most recent call first):\n"); Error: COMPILER_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/traceback.c: scope_hint: In function ‘_Py_DumpTracebackThreads’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/traceback.c:1098:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/traceback.gcda’ profile count data file not found # 1096| # 1097| return NULL; # 1098|-> } # 1099| Error: GCC_ANALYZER_WARNING (CWE-404): python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/tracemalloc.c: scope_hint: In function ‘tracemalloc_error’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/tracemalloc.c:94:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Include/Python.h:19: included_from: Included from here. python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/tracemalloc.c:1: included_from: Included from here. # 92| fprintf(stderr, "\n"); # 93| fflush(stderr); # 94|-> } # 95| #endif # 96| Error: CLANG_WARNING: python3.13-3.13.0_a5-build/Python-3.13.0a5/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: python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/tracemalloc.c: scope_hint: In function ‘_PyTraceMalloc_ResetPeak’ python3.13-3.13.0_a5-build/Python-3.13.0a5/Python/tracemalloc.c:1562:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/python3.13-3.13.0_a5-build/Python-3.13.0a5/build/optimized/tracemalloc.gcda’ profile count data file not found # 1560| tracemalloc_peak_traced_memory = tracemalloc_traced_memory; # 1561| TABLES_UNLOCK(); # 1562|-> }