Error: COMPILER_WARNING (CWE-477): [#def1] cffi-2.0.0/src/c/_cffi_backend.c: scope_hint: In function ‘_my_PyLong_AsUnsignedLongLong’ cffi-2.0.0/src/c/_cffi_backend.c:955:13: warning[-Wdeprecated-declarations]: ‘_PyLong_Sign’ is deprecated # 955 | if (_PyLong_Sign(ob) < 0) # | ^~ /usr/include/python3.14/longobject.h:171: included_from: Included from here. /usr/include/python3.14/Python.h:91: included_from: Included from here. cffi-2.0.0/src/c/_cffi_backend.c:2: included_from: Included from here. /usr/include/python3.14/cpython/longobject.h:38:37: note: declared here # 38 | Py_DEPRECATED(3.14) PyAPI_FUNC(int) _PyLong_Sign(PyObject *v); # | ^~~~~~~~~~~~ # 953| if (PyLong_Check(ob)) { # 954| if (strict) { # 955|-> if (_PyLong_Sign(ob) < 0) # 956| goto negative; # 957| return PyLong_AsUnsignedLongLong(ob); Error: COMPILER_WARNING (CWE-477): [#def2] cffi-2.0.0/src/c/_cffi_backend.c: scope_hint: In function ‘_my_PyObject_AsBool’ cffi-2.0.0/src/c/_cffi_backend.c:4083:9: warning[-Wdeprecated-declarations]: ‘_PyLong_Sign’ is deprecated # 4083 | return _PyLong_Sign(ob) != 0; # | ^~~~~~ /usr/include/python3.14/cpython/longobject.h:38:37: note: declared here # 38 | Py_DEPRECATED(3.14) PyAPI_FUNC(int) _PyLong_Sign(PyObject *v); # | ^~~~~~~~~~~~ # 4081| #endif # 4082| if (PyLong_Check(ob)) { # 4083|-> return _PyLong_Sign(ob) != 0; # 4084| } # 4085| else if (PyFloat_Check(ob)) { Error: COMPILER_WARNING (CWE-477): [#def3] cffi-2.0.0/src/c/_cffi_backend.c: scope_hint: In function ‘b_do_dlopen’ cffi-2.0.0/src/c/_cffi_backend.c:4658:22: warning[-Wdeprecated-declarations]: ‘Py_FileSystemDefaultEncoding’ is deprecated # 4658 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.14/Python.h:109: included_from: Included from here. /usr/include/python3.14/fileobject.h:22:46: note: declared here # 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding; # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 4656| #endif # 4657| if (!PyArg_ParseTuple(args, "et|i:load_library", # 4658|-> Py_FileSystemDefaultEncoding, &filename_or_null, &flags)) # 4659| return NULL; # 4660| #if PY_MAJOR_VERSION < 3 Error: COMPILER_WARNING (CWE-563): [#def4] cffi-2.0.0/src/c/cffi1_module.c:3: included_from: Included from here. cffi-2.0.0/src/c/_cffi_backend.c:8173: included_from: Included from here. cffi-2.0.0/src/c/realize_c_type.c: scope_hint: In function ‘init_global_types_dict’ cffi-2.0.0/src/c/realize_c_type.c:32:16: warning[-Wunused-variable]: unused variable ‘i’ # 32 | Py_ssize_t i; # | ^ # 30| { # 31| int err; # 32|-> Py_ssize_t i; # 33| PyObject *ct_void, *ct_char, *ct2, *pnull; # 34| /* XXX some leaks in case these functions fail, but well,
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-163.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | python-cffi-2.0.0-2.fc44 |
| store-results-to | /tmp/tmpe59d7mio/python-cffi-2.0.0-2.fc44.tar.xz |
| time-created | 2025-10-28 19:51:03 |
| time-finished | 2025-10-28 19:52:57 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpe59d7mio/python-cffi-2.0.0-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpe59d7mio/python-cffi-2.0.0-2.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |