{
    "scan": {
        "analyzer-version-clippy": "1.95.0",
        "analyzer-version-cppcheck": "2.20.0",
        "analyzer-version-gcc": "16.1.1",
        "analyzer-version-gcc-analyzer": "16.1.1",
        "analyzer-version-shellcheck": "0.11.0",
        "analyzer-version-unicontrol": "0.0.2",
        "diffbase-analyzer-version-clippy": "1.95.0",
        "diffbase-analyzer-version-cppcheck": "2.20.0",
        "diffbase-analyzer-version-gcc": "16.1.1",
        "diffbase-analyzer-version-gcc-analyzer": "16.1.1",
        "diffbase-analyzer-version-shellcheck": "0.11.0",
        "diffbase-analyzer-version-unicontrol": "0.0.2",
        "diffbase-enabled-plugins": "clippy, cppcheck, gcc, shellcheck, unicontrol",
        "diffbase-exit-code": 0,
        "diffbase-host": "ip-172-16-1-198.us-west-2.compute.internal",
        "diffbase-known-false-positives": "/usr/share/csmock/known-false-positives.js",
        "diffbase-known-false-positives-rpm": "known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch",
        "diffbase-mock-config": "fedora-rawhide-x86_64",
        "diffbase-project-name": "python-cffi-2.0.0-4.fc45",
        "diffbase-store-results-to": "/tmp/tmp_ma2dze6/python-cffi-2.0.0-4.fc45.tar.xz",
        "diffbase-time-created": "2026-06-01 16:00:53",
        "diffbase-time-finished": "2026-06-01 16:02:40",
        "diffbase-tool": "csmock",
        "diffbase-tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp_ma2dze6/python-cffi-2.0.0-4.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_ma2dze6/python-cffi-2.0.0-4.fc45.src.rpm'",
        "diffbase-tool-version": "csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9",
        "enabled-plugins": "clippy, cppcheck, gcc, shellcheck, unicontrol",
        "exit-code": 0,
        "host": "ip-172-16-1-198.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.20260524.213755.g3c6d0be.main-1.el9.noarch",
        "mock-config": "fedora-rawhide-x86_64",
        "project-name": "python-cffi-2.0.0-4.fc45",
        "store-results-to": "/tmp/tmp_ma2dze6/python-cffi-2.0.0-4.fc45.tar.xz",
        "time-created": "2026-06-01 16:00:53",
        "time-finished": "2026-06-01 16:02:40",
        "tool": "csmock",
        "tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp_ma2dze6/python-cffi-2.0.0-4.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_ma2dze6/python-cffi-2.0.0-4.fc45.src.rpm'",
        "tool-version": "csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9"
    },
    "defects": [
        {
            "checker": "COMPILER_WARNING",
            "language": "c/c++",
            "tool": "gcc",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 0,
                    "event": "internal warning",
                    "message": "child 131 timed out after 30s",
                    "verbosity_level": 0
                }
            ]
        },
        {
            "checker": "COMPILER_WARNING",
            "cwe": 477,
            "language": "c/c++",
            "tool": "gcc",
            "hash_v1": "28b80d9a1b5ab10332c55ba3d99445814116eb12",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘_my_PyLong_AsUnsignedLongLong’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 955,
                    "column": 13,
                    "event": "warning[-Wdeprecated-declarations]",
                    "message": "‘_PyLong_Sign’ is deprecated",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  955 |             if (_PyLong_Sign(ob) < 0)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "      |             ^~",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/python3.14/longobject.h",
                    "line": 171,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/python3.14/Python.h",
                    "line": 92,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 2,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/python3.14/cpython/longobject.h",
                    "line": 38,
                    "column": 37,
                    "event": "note",
                    "message": "declared here",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   38 | Py_DEPRECATED(3.14) PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "      |                                     ^~~~~~~~~~~~",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  953|       if (PyLong_Check(ob)) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  954|           if (strict) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  955|->             if (_PyLong_Sign(ob) < 0)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  956|                   goto negative;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  957|               return PyLong_AsUnsignedLongLong(ob);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "COMPILER_WARNING",
            "cwe": 477,
            "language": "c/c++",
            "tool": "gcc",
            "hash_v1": "dbc7f3ad0ffdd83a5b4258844940cc5edd53ad13",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘_my_PyObject_AsBool’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 4083,
                    "column": 9,
                    "event": "warning[-Wdeprecated-declarations]",
                    "message": "‘_PyLong_Sign’ is deprecated",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4083 |         return _PyLong_Sign(ob) != 0;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "      |         ^~~~~~",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/python3.14/cpython/longobject.h",
                    "line": 38,
                    "column": 37,
                    "event": "note",
                    "message": "declared here",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   38 | Py_DEPRECATED(3.14) PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "      |                                     ^~~~~~~~~~~~",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4081|   #endif",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4082|       if (PyLong_Check(ob)) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4083|->         return _PyLong_Sign(ob) != 0;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4084|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4085|       else if (PyFloat_Check(ob)) {",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "COMPILER_WARNING",
            "cwe": 477,
            "language": "c/c++",
            "tool": "gcc",
            "hash_v1": "0c4dfcf1f2b5bf8bad74d74b03b5ec1bfbf37ed9",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘b_do_dlopen’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 4658,
                    "column": 22,
                    "event": "warning[-Wdeprecated-declarations]",
                    "message": "‘Py_FileSystemDefaultEncoding’ is deprecated",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4658 |                      Py_FileSystemDefaultEncoding, &filename_or_null, &flags))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/python3.14/Python.h",
                    "line": 110,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/python3.14/fileobject.h",
                    "line": 22,
                    "column": 46,
                    "event": "note",
                    "message": "declared here",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4656|   #endif",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4657|           if (!PyArg_ParseTuple(args, \"et|i:load_library\",",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4658|->                      Py_FileSystemDefaultEncoding, &filename_or_null, &flags))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4659|               return NULL;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 4660|   #if PY_MAJOR_VERSION < 3",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "COMPILER_WARNING",
            "cwe": 563,
            "language": "c/c++",
            "tool": "gcc",
            "hash_v1": "a262fb5a26001e5e5d8e6ad5b2cf35ebb8c6d7e9",
            "key_event_idx": 3,
            "events": [
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/cffi1_module.c",
                    "line": 3,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/_cffi_backend.c",
                    "line": 8173,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/realize_c_type.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘init_global_types_dict’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "python-cffi-2.0.0-build/cffi-2.0.0/src/c/realize_c_type.c",
                    "line": 32,
                    "column": 16,
                    "event": "warning[-Wunused-variable]",
                    "message": "unused variable ‘i’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   32 |     Py_ssize_t i;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "      |                ^",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   30|   {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   31|       int err;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   32|->     Py_ssize_t i;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   33|       PyObject *ct_void, *ct_char, *ct2, *pnull;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   34|       /* XXX some leaks in case these functions fail, but well,",
                    "verbosity_level": 1
                }
            ]
        }
    ]
}
