Newly introduced defects
List of Defects
Error: CLANG_WARNING: [#def1]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:555:6: warning[unix.Malloc]: Use of memory after it is freed
# 553| }
# 554|
# 555|-> if (get_node(node, port, from) < 0) {
# 556| IBWARN("can't reach node %s", portid2str(from));
# 557| free(node);
Error: CLANG_WARNING: [#def2]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:595:9: warning[unix.Malloc]: Use of memory after it is freed
# 593| continue;
# 594| leafport = path->drpath.p[path->drpath.cnt];
# 595|-> map[port->portnum] = 1;
# 596| node->upport = 0; /* starting here */
# 597| DEBUG("Starting from CA 0x%" PRIx64
Error: CLANG_WARNING: [#def3]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:656:6: warning[unix.Malloc]: Attempt to free released memory
# 654| remoteport = calloc(1, sizeof(Port));
# 655| if (!remoteport) {
# 656|-> free(port);
# 657| free(remotenode);
# 658| IBEXIT("out of memory");
Error: CLANG_WARNING: [#def4]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:661:9: warning[unix.Malloc]: Use of memory after it is freed
# 659| }
# 660|
# 661|-> if (get_node(remotenode, remoteport, path) < 0) {
# 662| IBWARN
# 663| ("NodeInfo on %s port %d failed, skipping port",
Error: CLANG_WARNING: [#def5]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc.c:1127:3: warning[deadcode.DeadStores]: Value stored to 'n' is never read
# 1125|
# 1126| if (speed >> 6) {
# 1127|-> n += snprintf(buf + n, bufsz - n, "undefined (%d)", speed);
# 1128| return buf;
# 1129| } else if (bufsz > 3)
Error: CLANG_WARNING: [#def6]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_action.c:2547:29: warning[core.NullDereference]: Access to field 'object_id' results in a dereference of a null pointer (loaded from field 'dvo')
# 2545| fte_attr->extended_dest = true;
# 2546| dest_info->has_reformat = true;
# 2547|-> dest_info->reformat_id = dest_reformat->reformat.dvo->object_id;
# 2548| break;
# 2549| default:
Error: CLANG_WARNING: [#def7]
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:2481:28: warning[core.NullDereference]: Access to field 'ibv_qp' results in a dereference of a null pointer (loaded from variable 'qp')
# 2479| if (!qp &&
# 2480| cqe_get_type(cqe) != RDMA_CQE_TYPE_RESPONDER_XRC_SRQ) {
# 2481|-> verbs_err(verbs_get_ctx(qp->ibv_qp->context),
# 2482| "Error: CQE QP pointer is NULL. CQE=%p\n", cqe);
# 2483| break;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr.h:43: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:48: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c: scope_hint: In function ‘qelr_poll_cq’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:2481:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/driver.h:67:22: note: in definition of macro ‘verbs_log’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:2481:25: note: in expansion of macro ‘verbs_err’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c: scope_hint: In function ‘qelr_poll_cq’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr.h:44: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:2476:17: note: in expansion of macro ‘udma_from_device_barrier’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr.h:309:12: note: in definition of macro ‘GET_FIELD’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c: scope_hint: In function ‘qelr_poll_cq’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:42: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/driver.h:81:9: note: in expansion of macro ‘verbs_log’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:2481:25: note: in expansion of macro ‘verbs_err’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/driver.h:67:22: note: in definition of macro ‘verbs_log’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:2481:25: note: in expansion of macro ‘verbs_err’
# 2479| if (!qp &&
# 2480| cqe_get_type(cqe) != RDMA_CQE_TYPE_RESPONDER_XRC_SRQ) {
# 2481|-> verbs_err(verbs_get_ctx(qp->ibv_qp->context),
# 2482| "Error: CQE QP pointer is NULL. CQE=%p\n", cqe);
# 2483| break;
Error: COMPILER_WARNING (CWE-909): [#def9]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/addr.c:12067:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12067 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/addr.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12065| 0, /*tp_pypy_flags*/
#12066| #endif
#12067|-> };
#12068| #endif
#12069|
Error: COMPILER_WARNING (CWE-909): [#def10]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/addr.c:12279:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12279 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12277| 0, /*tp_pypy_flags*/
#12278| #endif
#12279|-> };
#12280| #endif
#12281|
Error: COMPILER_WARNING (CWE-909): [#def11]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/addr.c:12476:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12476 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12474| 0, /*tp_pypy_flags*/
#12475| #endif
#12476|-> };
#12477| #endif
#12478| static struct __pyx_vtabstruct_7pyverbs_4addr_AHAttr __pyx_vtable_7pyverbs_4addr_AHAttr;
Error: COMPILER_WARNING (CWE-909): [#def12]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/addr.c:12774:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12774 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12772| 0, /*tp_pypy_flags*/
#12773| #endif
#12774|-> };
#12775| #endif
#12776| static struct __pyx_vtabstruct_7pyverbs_4addr_AH __pyx_vtable_7pyverbs_4addr_AH;
Error: COMPILER_WARNING (CWE-909): [#def13]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/addr.c:12938:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12938 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12936| 0, /*tp_pypy_flags*/
#12937| #endif
#12938|-> };
#12939| #endif
#12940|
Error: COMPILER_WARNING (CWE-909): [#def14]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/addr.c:17539:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#17539 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#17537| 0,
#17538| #endif
#17539|-> };
#17540| #endif
#17541| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def15]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/base.c:6206:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 6206 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/base.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 6204| 0, /*tp_pypy_flags*/
# 6205| #endif
# 6206|-> };
# 6207| #endif
# 6208| static struct __pyx_vtabstruct_7pyverbs_4base_PyverbsCM __pyx_vtable_7pyverbs_4base_PyverbsCM;
Error: COMPILER_WARNING (CWE-909): [#def16]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/base.c:6327:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 6327 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 6325| 0, /*tp_pypy_flags*/
# 6326| #endif
# 6327|-> };
# 6328| #endif
# 6329|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/base.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/base.c:9620:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 9618| }
# 9619| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
# 9620|-> base_vtables[0] = unknown;
# 9621| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
# 9622| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def18]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/base.c:10907:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10907 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#10905| 0,
#10906| #endif
#10907|-> };
#10908| #endif
#10909| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def19]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cm_enums.c:5814:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 5814 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cm_enums.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 5812| 0, /*tp_pypy_flags*/
# 5813| #endif
# 5814|-> };
# 5815| #endif
# 5816|
Error: COMPILER_WARNING (CWE-909): [#def20]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cm_enums.c:12383:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12383 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#12381| 0,
#12382| #endif
#12383|-> };
#12384| #endif
#12385| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def21]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:26411:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#26411 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#26409| 0, /*tp_pypy_flags*/
#26410| #endif
#26411|-> };
#26412| #endif
#26413| static struct __pyx_vtabstruct_7pyverbs_4cmid_CMEventChannel __pyx_vtable_7pyverbs_4cmid_CMEventChannel;
Error: COMPILER_WARNING (CWE-909): [#def22]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:26563:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#26563 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#26561| 0, /*tp_pypy_flags*/
#26562| #endif
#26563|-> };
#26564| #endif
#26565| static struct __pyx_vtabstruct_7pyverbs_4cmid_CMEvent __pyx_vtable_7pyverbs_4cmid_CMEvent;
Error: COMPILER_WARNING (CWE-909): [#def23]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:26732:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#26732 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#26730| 0, /*tp_pypy_flags*/
#26731| #endif
#26732|-> };
#26733| #endif
#26734| static struct __pyx_vtabstruct_7pyverbs_4cmid_AddrInfo __pyx_vtable_7pyverbs_4cmid_AddrInfo;
Error: COMPILER_WARNING (CWE-909): [#def24]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:26884:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#26884 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#26882| 0, /*tp_pypy_flags*/
#26883| #endif
#26884|-> };
#26885| #endif
#26886|
Error: COMPILER_WARNING (CWE-909): [#def25]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:27065:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#27065 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#27063| 0, /*tp_pypy_flags*/
#27064| #endif
#27065|-> };
#27066| #endif
#27067|
Error: COMPILER_WARNING (CWE-909): [#def26]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:27200:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#27200 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#27198| 0, /*tp_pypy_flags*/
#27199| #endif
#27200|-> };
#27201| #endif
#27202|
Error: COMPILER_WARNING (CWE-909): [#def27]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:27350:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#27350 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#27348| 0, /*tp_pypy_flags*/
#27349| #endif
#27350|-> };
#27351| #endif
#27352|
Error: COMPILER_WARNING (CWE-909): [#def28]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cmid.c:33819:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#33819 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#33817| 0,
#33818| #endif
#33819|-> };
#33820| #endif
#33821| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def29]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:23211:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23211 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23209| 0, /*tp_pypy_flags*/
#23210| #endif
#23211|-> };
#23212| #endif
#23213| static struct __pyx_vtabstruct_7pyverbs_2cq_CQ __pyx_vtable_7pyverbs_2cq_CQ;
Error: COMPILER_WARNING (CWE-909): [#def30]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:23436:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23436 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23434| 0, /*tp_pypy_flags*/
#23435| #endif
#23436|-> };
#23437| #endif
#23438|
Error: COMPILER_WARNING (CWE-909): [#def31]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:23720:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23720 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23718| 0, /*tp_pypy_flags*/
#23719| #endif
#23720|-> };
#23721| #endif
#23722| static struct __pyx_vtabstruct_7pyverbs_2cq_CQEX __pyx_vtable_7pyverbs_2cq_CQEX;
Error: COMPILER_WARNING (CWE-909): [#def32]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:23954:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23954 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23952| 0, /*tp_pypy_flags*/
#23953| #endif
#23954|-> };
#23955| #endif
#23956|
Error: COMPILER_WARNING (CWE-909): [#def33]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:24270:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24270 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24268| 0, /*tp_pypy_flags*/
#24269| #endif
#24270|-> };
#24271| #endif
#24272|
Error: COMPILER_WARNING (CWE-909): [#def34]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:24404:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24404 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24402| 0, /*tp_pypy_flags*/
#24403| #endif
#24404|-> };
#24405| #endif
#24406|
Error: COMPILER_WARNING (CWE-909): [#def35]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:24553:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24553 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24551| 0, /*tp_pypy_flags*/
#24552| #endif
#24553|-> };
#24554| #endif
#24555|
Error: COMPILER_WARNING (CWE-909): [#def36]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/cq.c:30803:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#30803 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#30801| 0,
#30802| #endif
#30803|-> };
#30804| #endif
#30805| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def37]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:45156:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#45156 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#45154| 0, /*tp_pypy_flags*/
#45155| #endif
#45156|-> };
#45157| #endif
#45158|
Error: COMPILER_WARNING (CWE-909): [#def38]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:45472:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#45472 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#45470| 0, /*tp_pypy_flags*/
#45471| #endif
#45472|-> };
#45473| #endif
#45474|
Error: COMPILER_WARNING (CWE-909): [#def39]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:45587:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#45587 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#45585| 0, /*tp_pypy_flags*/
#45586| #endif
#45587|-> };
#45588| #endif
#45589|
Error: COMPILER_WARNING (CWE-909): [#def40]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:45781:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#45781 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#45779| 0, /*tp_pypy_flags*/
#45780| #endif
#45781|-> };
#45782| #endif
#45783|
Error: COMPILER_WARNING (CWE-909): [#def41]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:45925:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#45925 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#45923| 0, /*tp_pypy_flags*/
#45924| #endif
#45925|-> };
#45926| #endif
#45927|
Error: COMPILER_WARNING (CWE-909): [#def42]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:46059:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#46059 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#46057| 0, /*tp_pypy_flags*/
#46058| #endif
#46059|-> };
#46060| #endif
#46061|
Error: COMPILER_WARNING (CWE-909): [#def43]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:46193:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#46193 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#46191| 0, /*tp_pypy_flags*/
#46192| #endif
#46193|-> };
#46194| #endif
#46195|
Error: COMPILER_WARNING (CWE-909): [#def44]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:46337:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#46337 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#46335| 0, /*tp_pypy_flags*/
#46336| #endif
#46337|-> };
#46338| #endif
#46339|
Error: COMPILER_WARNING (CWE-909): [#def45]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:46466:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#46466 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#46464| 0, /*tp_pypy_flags*/
#46465| #endif
#46466|-> };
#46467| #endif
#46468|
Error: COMPILER_WARNING (CWE-909): [#def46]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:46595:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#46595 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#46593| 0, /*tp_pypy_flags*/
#46594| #endif
#46595|-> };
#46596| #endif
#46597|
Error: COMPILER_WARNING (CWE-909): [#def47]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:46804:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#46804 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#46802| 0, /*tp_pypy_flags*/
#46803| #endif
#46804|-> };
#46805| #endif
#46806|
Error: COMPILER_WARNING (CWE-909): [#def48]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:46969:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#46969 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#46967| 0, /*tp_pypy_flags*/
#46968| #endif
#46969|-> };
#46970| #endif
#46971| static struct __pyx_vtabstruct_7pyverbs_6device_DM __pyx_vtable_7pyverbs_6device_DM;
Error: COMPILER_WARNING (CWE-909): [#def49]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:47162:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#47162 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#47160| 0, /*tp_pypy_flags*/
#47161| #endif
#47162|-> };
#47163| #endif
#47164|
Error: COMPILER_WARNING (CWE-909): [#def50]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:47397:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#47397 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#47395| 0, /*tp_pypy_flags*/
#47396| #endif
#47397|-> };
#47398| #endif
#47399|
Error: COMPILER_WARNING (CWE-909): [#def51]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:47549:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#47549 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#47547| 0, /*tp_pypy_flags*/
#47548| #endif
#47549|-> };
#47550| #endif
#47551|
Error: COMPILER_WARNING (CWE-909): [#def52]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:47676:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#47676 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#47674| 0, /*tp_pypy_flags*/
#47675| #endif
#47676|-> };
#47677| #endif
#47678|
Error: COMPILER_WARNING (CWE-909): [#def53]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/device.c:55906:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#55906 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#55904| 0,
#55905| #endif
#55906|-> };
#55907| #endif
#55908| static int __pyx_CyFunction_init(PyObject *module) {
Error: CLANG_WARNING: [#def54]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/dma_util.c:4596:9: warning[deadcode.DeadStores]: Value stored to 'args' is never read
# 4594| case 1:
# 4595| self = args[0];
# 4596|-> args += 1;
# 4597| nargs -= 1;
# 4598| break;
Error: COMPILER_WARNING (CWE-909): [#def55]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/dma_util.c:4803:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 4803 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/dma_util.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 4801| 0,
# 4802| #endif
# 4803|-> };
# 4804| #endif
# 4805| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def56]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/dmabuf.c:4370:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 4370 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/dmabuf.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 4368| 0, /*tp_pypy_flags*/
# 4369| #endif
# 4370|-> };
# 4371| #endif
# 4372|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/dmabuf.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/dmabuf.c:6803:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 6801| }
# 6802| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
# 6803|-> base_vtables[0] = unknown;
# 6804| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
# 6805| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def58]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/dmabuf.c:8382:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 8382 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 8380| 0,
# 8381| #endif
# 8382|-> };
# 8383| #endif
# 8384| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def59]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/enums.c:8038:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 8038 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/enums.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 8036| 0, /*tp_pypy_flags*/
# 8037| #endif
# 8038|-> };
# 8039| #endif
# 8040|
Error: COMPILER_WARNING (CWE-909): [#def60]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/enums.c:48194:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#48194 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#48192| 0,
#48193| #endif
#48194|-> };
#48195| #endif
#48196| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def61]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/flow.c:6755:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 6755 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/flow.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 6753| 0, /*tp_pypy_flags*/
# 6754| #endif
# 6755|-> };
# 6756| #endif
# 6757| static struct __pyx_vtabstruct_7pyverbs_4flow_Flow __pyx_vtable_7pyverbs_4flow_Flow;
Error: COMPILER_WARNING (CWE-909): [#def62]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/flow.c:6919:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 6919 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 6917| 0, /*tp_pypy_flags*/
# 6918| #endif
# 6919|-> };
# 6920| #endif
# 6921|
Error: COMPILER_WARNING (CWE-909): [#def63]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/flow.c:7044:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 7044 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 7042| 0, /*tp_pypy_flags*/
# 7043| #endif
# 7044|-> };
# 7045| #endif
# 7046|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/flow.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/flow.c:10527:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#10525| }
#10526| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
#10527|-> base_vtables[0] = unknown;
#10528| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
#10529| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def65]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/flow.c:11686:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11686 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#11684| 0,
#11685| #endif
#11686|-> };
#11687| #endif
#11688| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def66]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/fork.c:6036:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 6036 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/fork.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 6034| 0,
# 6035| #endif
# 6036|-> };
# 6037| #endif
# 6038| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def67]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/libibverbs_enums.c:8004:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 8004 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/libibverbs_enums.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 8002| 0, /*tp_pypy_flags*/
# 8003| #endif
# 8004|-> };
# 8005| #endif
# 8006|
Error: COMPILER_WARNING (CWE-909): [#def68]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/libibverbs_enums.c:48067:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#48067 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#48065| 0,
#48066| #endif
#48067|-> };
#48068| #endif
#48069| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def69]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/librdmacm_enums.c:5815:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 5815 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/librdmacm_enums.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 5813| 0, /*tp_pypy_flags*/
# 5814| #endif
# 5815|-> };
# 5816| #endif
# 5817|
Error: COMPILER_WARNING (CWE-909): [#def70]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/librdmacm_enums.c:12382:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12382 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#12380| 0,
#12381| #endif
#12382|-> };
#12383| #endif
#12384| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def71]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mem_alloc.c:8691:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 8691 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mem_alloc.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 8689| 0,
# 8690| #endif
# 8691|-> };
# 8692| #endif
# 8693| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def72]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mr.c:16826:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#16826 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mr.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#16824| 0, /*tp_pypy_flags*/
#16825| #endif
#16826|-> };
#16827| #endif
#16828| static struct __pyx_vtabstruct_7pyverbs_2mr_MWBindInfo __pyx_vtable_7pyverbs_2mr_MWBindInfo;
Error: COMPILER_WARNING (CWE-909): [#def73]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mr.c:17003:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#17003 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#17001| 0, /*tp_pypy_flags*/
#17002| #endif
#17003|-> };
#17004| #endif
#17005| static struct __pyx_vtabstruct_7pyverbs_2mr_MWBind __pyx_vtable_7pyverbs_2mr_MWBind;
Error: COMPILER_WARNING (CWE-909): [#def74]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mr.c:17160:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#17160 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#17158| 0, /*tp_pypy_flags*/
#17159| #endif
#17160|-> };
#17161| #endif
#17162| static struct __pyx_vtabstruct_7pyverbs_2mr_MW __pyx_vtable_7pyverbs_2mr_MW;
Error: COMPILER_WARNING (CWE-909): [#def75]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mr.c:17345:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#17345 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#17343| 0, /*tp_pypy_flags*/
#17344| #endif
#17345|-> };
#17346| #endif
#17347| static struct __pyx_vtabstruct_7pyverbs_2mr_DMMR __pyx_vtable_7pyverbs_2mr_DMMR;
Error: COMPILER_WARNING (CWE-909): [#def76]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mr.c:17502:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#17502 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#17500| 0, /*tp_pypy_flags*/
#17501| #endif
#17502|-> };
#17503| #endif
#17504| static struct __pyx_vtabstruct_7pyverbs_2mr_DmaBufMR __pyx_vtable_7pyverbs_2mr_DmaBufMR;
Error: COMPILER_WARNING (CWE-909): [#def77]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mr.c:17690:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#17690 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#17688| 0, /*tp_pypy_flags*/
#17689| #endif
#17690|-> };
#17691| #endif
#17692|
Error: COMPILER_WARNING (CWE-909): [#def78]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/mr.c:23135:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23135 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#23133| 0,
#23134| #endif
#23135|-> };
#23136| #endif
#23137| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def79]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/pd.c:11145:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11145 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/pd.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#11143| 0, /*tp_pypy_flags*/
#11144| #endif
#11145|-> };
#11146| #endif
#11147|
Error: COMPILER_WARNING (CWE-909): [#def80]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/pd.c:11325:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11325 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#11323| 0, /*tp_pypy_flags*/
#11324| #endif
#11325|-> };
#11326| #endif
#11327| static struct __pyx_vtabstruct_7pyverbs_2pd_ParentDomain __pyx_vtable_7pyverbs_2pd_ParentDomain;
Error: COMPILER_WARNING (CWE-909): [#def81]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/pd.c:11493:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11493 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#11491| 0, /*tp_pypy_flags*/
#11492| #endif
#11493|-> };
#11494| #endif
#11495|
Error: COMPILER_WARNING (CWE-909): [#def82]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/pd.c:11691:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11691 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#11689| 0, /*tp_pypy_flags*/
#11690| #endif
#11691|-> };
#11692| #endif
#11693|
Error: COMPILER_WARNING (CWE-909): [#def83]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/pd.c:16662:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#16662 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#16660| 0,
#16661| #endif
#16662|-> };
#16663| #endif
#16664| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def84]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:12589:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12589 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12587| 0, /*tp_pypy_flags*/
#12588| #endif
#12589|-> };
#12590| #endif
#12591|
Error: COMPILER_WARNING (CWE-909): [#def85]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:12750:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12750 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12748| 0, /*tp_pypy_flags*/
#12749| #endif
#12750|-> };
#12751| #endif
#12752| static struct __pyx_vtabstruct_7pyverbs_9providers_3efa_5efadv_EfaAH __pyx_vtable_7pyverbs_9providers_3efa_5efadv_EfaAH;
Error: COMPILER_WARNING (CWE-909): [#def86]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:12876:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12876 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12874| 0, /*tp_pypy_flags*/
#12875| #endif
#12876|-> };
#12877| #endif
#12878|
Error: COMPILER_WARNING (CWE-909): [#def87]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:13007:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13007 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13005| 0, /*tp_pypy_flags*/
#13006| #endif
#13007|-> };
#13008| #endif
#13009| static struct __pyx_vtabstruct_7pyverbs_9providers_3efa_5efadv_SRDQP __pyx_vtable_7pyverbs_9providers_3efa_5efadv_SRDQP;
Error: COMPILER_WARNING (CWE-909): [#def88]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:13134:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13134 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13132| 0, /*tp_pypy_flags*/
#13133| #endif
#13134|-> };
#13135| #endif
#13136| static struct __pyx_vtabstruct_7pyverbs_9providers_3efa_5efadv_SRDQPEx __pyx_vtable_7pyverbs_9providers_3efa_5efadv_SRDQPEx;
Error: COMPILER_WARNING (CWE-909): [#def89]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:13262:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13262 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13260| 0, /*tp_pypy_flags*/
#13261| #endif
#13262|-> };
#13263| #endif
#13264|
Error: COMPILER_WARNING (CWE-909): [#def90]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:13402:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13402 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13400| 0, /*tp_pypy_flags*/
#13401| #endif
#13402|-> };
#13403| #endif
#13404| static struct __pyx_vtabstruct_7pyverbs_9providers_3efa_5efadv_EfaCQ __pyx_vtable_7pyverbs_9providers_3efa_5efadv_EfaCQ;
Error: COMPILER_WARNING (CWE-909): [#def91]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:13530:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13530 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13528| 0, /*tp_pypy_flags*/
#13529| #endif
#13530|-> };
#13531| #endif
#13532|
Error: COMPILER_WARNING (CWE-909): [#def92]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:13671:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13671 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13669| 0, /*tp_pypy_flags*/
#13670| #endif
#13671|-> };
#13672| #endif
#13673|
Error: COMPILER_WARNING (CWE-909): [#def93]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:13817:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13817 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13815| 0, /*tp_pypy_flags*/
#13816| #endif
#13817|-> };
#13818| #endif
#13819| static struct __pyx_vtabstruct_7pyverbs_9providers_3efa_5efadv_EfaMR __pyx_vtable_7pyverbs_9providers_3efa_5efadv_EfaMR;
Error: COMPILER_WARNING (CWE-909): [#def94]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:13944:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13944 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13942| 0, /*tp_pypy_flags*/
#13943| #endif
#13944|-> };
#13945| #endif
#13946|
Error: COMPILER_WARNING (CWE-909): [#def95]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:19337:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#19337 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#19335| 0,
#19336| #endif
#19337|-> };
#19338| #endif
#19339| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def96]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:22644:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#22644 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#22642| 0, /*tp_pypy_flags*/
#22643| #endif
#22644|-> };
#22645| #endif
#22646| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionQp __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionQp;
Error: COMPILER_WARNING (CWE-909): [#def97]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:22804:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#22804 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#22802| 0, /*tp_pypy_flags*/
#22803| #endif
#22804|-> };
#22805| #endif
#22806| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionModify __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionModify;
Error: COMPILER_WARNING (CWE-909): [#def98]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:22964:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#22964 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#22962| 0, /*tp_pypy_flags*/
#22963| #endif
#22964|-> };
#22965| #endif
#22966| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionFlowCounter __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionFlowCounter;
Error: COMPILER_WARNING (CWE-909): [#def99]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:23124:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23124 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23122| 0, /*tp_pypy_flags*/
#23123| #endif
#23124|-> };
#23125| #endif
#23126| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionDrop __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionDrop;
Error: COMPILER_WARNING (CWE-909): [#def100]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:23239:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23239 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23237| 0, /*tp_pypy_flags*/
#23238| #endif
#23239|-> };
#23240| #endif
#23241| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionTag __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionTag;
Error: COMPILER_WARNING (CWE-909): [#def101]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:23354:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23354 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23352| 0, /*tp_pypy_flags*/
#23353| #endif
#23354|-> };
#23355| #endif
#23356| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionDestTable __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionDestTable;
Error: COMPILER_WARNING (CWE-909): [#def102]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:23514:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23514 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23512| 0, /*tp_pypy_flags*/
#23513| #endif
#23514|-> };
#23515| #endif
#23516| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionPushVLan __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionPushVLan;
Error: COMPILER_WARNING (CWE-909): [#def103]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:23674:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23674 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23672| 0, /*tp_pypy_flags*/
#23673| #endif
#23674|-> };
#23675| #endif
#23676| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionPopVLan __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionPopVLan;
Error: COMPILER_WARNING (CWE-909): [#def104]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:23789:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23789 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23787| 0, /*tp_pypy_flags*/
#23788| #endif
#23789|-> };
#23790| #endif
#23791| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionDestAttr __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionDestAttr;
Error: COMPILER_WARNING (CWE-909): [#def105]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:23953:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#23953 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#23951| 0, /*tp_pypy_flags*/
#23952| #endif
#23953|-> };
#23954| #endif
#23955| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionDestArray __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionDestArray;
Error: COMPILER_WARNING (CWE-909): [#def106]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:24121:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24121 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24119| 0, /*tp_pypy_flags*/
#24120| #endif
#24121|-> };
#24122| #endif
#24123| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionDefMiss __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionDefMiss;
Error: COMPILER_WARNING (CWE-909): [#def107]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:24236:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24236 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24234| 0, /*tp_pypy_flags*/
#24235| #endif
#24236|-> };
#24237| #endif
#24238| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionVPort __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionVPort;
Error: COMPILER_WARNING (CWE-909): [#def108]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:24396:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24396 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24394| 0, /*tp_pypy_flags*/
#24395| #endif
#24396|-> };
#24397| #endif
#24398| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionIBPort __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionIBPort;
Error: COMPILER_WARNING (CWE-909): [#def109]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:24556:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24556 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24554| 0, /*tp_pypy_flags*/
#24555| #endif
#24556|-> };
#24557| #endif
#24558| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionDestTir __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionDestTir;
Error: COMPILER_WARNING (CWE-909): [#def110]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:24708:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24708 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24706| 0, /*tp_pypy_flags*/
#24707| #endif
#24708|-> };
#24709| #endif
#24710| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionPacketReformat __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionPacketReformat;
Error: COMPILER_WARNING (CWE-909): [#def111]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:24868:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#24868 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#24866| 0, /*tp_pypy_flags*/
#24867| #endif
#24868|-> };
#24869| #endif
#24870| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrFlowSamplerAttr __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrFlowSamplerAttr;
Error: COMPILER_WARNING (CWE-909): [#def112]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:25040:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#25040 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#25038| 0, /*tp_pypy_flags*/
#25039| #endif
#25040|-> };
#25041| #endif
#25042| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionFlowSample __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionFlowSample;
Error: COMPILER_WARNING (CWE-909): [#def113]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:25216:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#25216 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#25214| 0, /*tp_pypy_flags*/
#25215| #endif
#25216|-> };
#25217| #endif
#25218| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrFlowMeterAttr __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrFlowMeterAttr;
Error: COMPILER_WARNING (CWE-909): [#def114]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:25380:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#25380 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#25378| 0, /*tp_pypy_flags*/
#25379| #endif
#25380|-> };
#25381| #endif
#25382| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_9dr_action_DrActionFlowMeter __pyx_vtable_7pyverbs_9providers_4mlx5_9dr_action_DrActionFlowMeter;
Error: COMPILER_WARNING (CWE-909): [#def115]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:25549:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#25549 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#25547| 0, /*tp_pypy_flags*/
#25548| #endif
#25549|-> };
#25550| #endif
#25551|
Error: COMPILER_WARNING (CWE-909): [#def116]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_action.c:32108:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#32108 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#32106| 0,
#32107| #endif
#32108|-> };
#32109| #endif
#32110| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def117]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_domain.c:7034:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 7034 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_domain.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 7032| 0, /*tp_pypy_flags*/
# 7033| #endif
# 7034|-> };
# 7035| #endif
# 7036|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_domain.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_domain.c:9837:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 9835| }
# 9836| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
# 9837|-> base_vtables[0] = unknown;
# 9838| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
# 9839| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def119]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_domain.c:11336:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11336 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#11334| 0,
#11335| #endif
#11336|-> };
#11337| #endif
#11338| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def120]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_matcher.c:5095:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 5095 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_matcher.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 5093| 0, /*tp_pypy_flags*/
# 5094| #endif
# 5095|-> };
# 5096| #endif
# 5097|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_matcher.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_matcher.c:8144:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 8142| }
# 8143| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
# 8144|-> base_vtables[0] = unknown;
# 8145| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
# 8146| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def122]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_matcher.c:9414:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 9414 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 9412| 0,
# 9413| #endif
# 9414|-> };
# 9415| #endif
# 9416| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def123]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_rule.c:6414:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 6414 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_rule.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 6412| 0, /*tp_pypy_flags*/
# 6413| #endif
# 6414|-> };
# 6415| #endif
# 6416|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_rule.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_rule.c:9191:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 9189| }
# 9190| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
# 9191|-> base_vtables[0] = unknown;
# 9192| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
# 9193| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def125]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_rule.c:10562:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10562 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#10560| 0,
#10561| #endif
#10562|-> };
#10563| #endif
#10564| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def126]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_table.c:6230:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 6230 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_table.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 6228| 0, /*tp_pypy_flags*/
# 6229| #endif
# 6230|-> };
# 6231| #endif
# 6232|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_table.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_table.c:8934:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 8932| }
# 8933| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
# 8934|-> base_vtables[0] = unknown;
# 8935| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
# 8936| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def128]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/dr_table.c:10433:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10433 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#10431| 0,
#10432| #endif
#10433|-> };
#10434| #endif
#10435| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def129]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_enums.c:6863:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 6863 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_enums.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 6861| 0, /*tp_pypy_flags*/
# 6862| #endif
# 6863|-> };
# 6864| #endif
# 6865|
Error: COMPILER_WARNING (CWE-909): [#def130]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_enums.c:28859:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#28859 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#28857| 0,
#28858| #endif
#28859|-> };
#28860| #endif
#28861| static int __pyx_CyFunction_init(PyObject *module) {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def131]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c: scope_hint: In function ‘__pyx_pf_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_8pci_name_2__set__’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:5058:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c: scope_hint: In function ‘__pyx_pf_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_8pci_name_2__set__’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:1436:43: note: in definition of macro ‘likely’
/usr/include/python3.13/cpython/classobject.h:22:28: note: in expansion of macro ‘Py_IS_TYPE’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:5018:14: note: in expansion of macro ‘PyMethod_Check’
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:16: included_from: Included from here.
/usr/include/python3.13/object.h:367:12: note: in expansion of macro ‘Py_TYPE’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c: scope_hint: In function ‘__pyx_pf_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_8pci_name_2__set__’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:5031:17: note: in expansion of macro ‘__Pyx_PyObject_FastCall’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:3474:95: note: in definition of macro ‘__Pyx_TypeCheck2’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:3358:65: note: in expansion of macro ‘__pyx_CyFunctionType’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:8939:13: note: in expansion of macro ‘__Pyx_CyOrPyCFunction_Check’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:5031:17: note: in expansion of macro ‘__Pyx_PyObject_FastCall’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:2803:28: note: in expansion of macro ‘Py_XDECREF’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:5032:5: note: in expansion of macro ‘__Pyx_XDECREF’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:2803:28: note: in expansion of macro ‘Py_XDECREF’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:5032:5: note: in expansion of macro ‘__Pyx_XDECREF’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:2799:27: note: in expansion of macro ‘Py_DECREF’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:5035:5: note: in expansion of macro ‘__Pyx_DECREF’
/usr/include/python3.13/object.h:946:9: note: in expansion of macro ‘_Py_IsImmortal’
/usr/include/python3.13/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c: scope_hint: In function ‘__pyx_pf_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_8pci_name_2__set__’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c: scope_hint: In function ‘__pyx_pf_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_8pci_name_2__set__’
/usr/include/bits/types/stack_t.h:23: included_from: Included from here.
/usr/include/signal.h:313: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:1199: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c: scope_hint: In function ‘__pyx_pf_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_8pci_name_2__set__’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:1437:43: note: in definition of macro ‘unlikely’
<built-in>: note: argument 2 of ‘__builtin_strcpy’ must be non-null
# 5056| */
# 5057| __pyx_t_7 = __Pyx_PyObject_AsString(__pyx_v_pci_name_bytes); if (unlikely((!__pyx_t_7) && PyErr_Occurred())) __PYX_ERR(1, 55, __pyx_L1_error)
# 5058|-> (void)(strcpy(((char *)__pyx_v_self->attr.pci_name), __pyx_t_7));
# 5059|
# 5060| /* "pyverbs/providers/mlx5/mlx5_vfio.pyx":49
Error: COMPILER_WARNING (CWE-909): [#def132]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:7005:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 7005 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 7003| 0, /*tp_pypy_flags*/
# 7004| #endif
# 7005|-> };
# 7006| #endif
# 7007|
Error: COMPILER_WARNING (CWE-909): [#def133]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:7197:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 7197 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 7195| 0, /*tp_pypy_flags*/
# 7196| #endif
# 7197|-> };
# 7198| #endif
# 7199|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:10253:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#10251| }
#10252| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
#10253|-> base_vtables[0] = unknown;
#10254| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
#10255| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def135]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:11752:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11752 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#11750| 0,
#11751| #endif
#11752|-> };
#11753| #endif
#11754| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING: [#def136]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c: scope_hint: In function ‘__pyx_pf_7pyverbs_9providers_4mlx5_6mlx5dv_10WqeCtrlSeg___init__’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:48426:53: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#48426 | __pyx_v_self->__pyx_base.segment = calloc((sizeof(struct mlx5_wqe_ctrl_seg)), 1);
# | ^~~~~~
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:48426:53: note: earlier argument should specify number of elements, later size of each element
#48424| *
#48425| */
#48426|-> __pyx_v_self->__pyx_base.segment = calloc((sizeof(struct mlx5_wqe_ctrl_seg)), 1);
#48427|
#48428| /* "pyverbs/providers/mlx5/mlx5dv.pyx":1495
Error: COMPILER_WARNING: [#def137]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c: scope_hint: In function ‘__pyx_pf_7pyverbs_9providers_4mlx5_6mlx5dv_10WqeDataSeg___init__’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:50119:53: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#50119 | __pyx_v_self->__pyx_base.segment = calloc((sizeof(struct mlx5_wqe_data_seg)), 1);
# | ^~~~~~
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:50119:53: note: earlier argument should specify number of elements, later size of each element
#50117| *
#50118| */
#50119|-> __pyx_v_self->__pyx_base.segment = calloc((sizeof(struct mlx5_wqe_data_seg)), 1);
#50120|
#50121| /* "pyverbs/providers/mlx5/mlx5dv.pyx":1566
Error: COMPILER_WARNING (CWE-909): [#def138]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c: scope_hint: At top level
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:58145:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#58145 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#58143| 0, /*tp_pypy_flags*/
#58144| #endif
#58145|-> };
#58146| #endif
#58147|
Error: COMPILER_WARNING (CWE-909): [#def139]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:58297:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#58297 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#58295| 0, /*tp_pypy_flags*/
#58296| #endif
#58297|-> };
#58298| #endif
#58299|
Error: COMPILER_WARNING (CWE-909): [#def140]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:58513:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#58513 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#58511| 0, /*tp_pypy_flags*/
#58512| #endif
#58513|-> };
#58514| #endif
#58515|
Error: COMPILER_WARNING (CWE-909): [#def141]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:58675:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#58675 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#58673| 0, /*tp_pypy_flags*/
#58674| #endif
#58675|-> };
#58676| #endif
#58677|
Error: COMPILER_WARNING (CWE-909): [#def142]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:58827:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#58827 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#58825| 0, /*tp_pypy_flags*/
#58826| #endif
#58827|-> };
#58828| #endif
#58829|
Error: COMPILER_WARNING (CWE-909): [#def143]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:58994:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#58994 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#58992| 0, /*tp_pypy_flags*/
#58993| #endif
#58994|-> };
#58995| #endif
#58996|
Error: COMPILER_WARNING (CWE-909): [#def144]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:59206:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#59206 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#59204| 0, /*tp_pypy_flags*/
#59205| #endif
#59206|-> };
#59207| #endif
#59208| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5QP __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5QP;
Error: COMPILER_WARNING (CWE-909): [#def145]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:59382:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#59382 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#59380| 0, /*tp_pypy_flags*/
#59381| #endif
#59382|-> };
#59383| #endif
#59384|
Error: COMPILER_WARNING (CWE-909): [#def146]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:59564:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#59564 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#59562| 0, /*tp_pypy_flags*/
#59563| #endif
#59564|-> };
#59565| #endif
#59566| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5CQ __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5CQ;
Error: COMPILER_WARNING (CWE-909): [#def147]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:59691:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#59691 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#59689| 0, /*tp_pypy_flags*/
#59690| #endif
#59691|-> };
#59692| #endif
#59693| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5VAR __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5VAR;
Error: COMPILER_WARNING (CWE-909): [#def148]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:59881:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#59881 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#59879| 0, /*tp_pypy_flags*/
#59880| #endif
#59881|-> };
#59882| #endif
#59883| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5PP __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5PP;
Error: COMPILER_WARNING (CWE-909): [#def149]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:60056:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#60056 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#60054| 0, /*tp_pypy_flags*/
#60055| #endif
#60056|-> };
#60057| #endif
#60058| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5UAR __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5UAR;
Error: COMPILER_WARNING (CWE-909): [#def150]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:60256:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#60256 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#60254| 0, /*tp_pypy_flags*/
#60255| #endif
#60256|-> };
#60257| #endif
#60258| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5DmOpAddr __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5DmOpAddr;
Error: COMPILER_WARNING (CWE-909): [#def151]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:60395:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#60395 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#60393| 0, /*tp_pypy_flags*/
#60394| #endif
#60395|-> };
#60396| #endif
#60397| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_WqeSeg __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_WqeSeg;
Error: COMPILER_WARNING (CWE-909): [#def152]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:60548:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#60548 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#60546| 0, /*tp_pypy_flags*/
#60547| #endif
#60548|-> };
#60549| #endif
#60550| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_WqeCtrlSeg __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_WqeCtrlSeg;
Error: COMPILER_WARNING (CWE-909): [#def153]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:60752:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#60752 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#60750| 0, /*tp_pypy_flags*/
#60751| #endif
#60752|-> };
#60753| #endif
#60754| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_WqeDataSeg __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_WqeDataSeg;
Error: COMPILER_WARNING (CWE-909): [#def154]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:60920:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#60920 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#60918| 0, /*tp_pypy_flags*/
#60919| #endif
#60920|-> };
#60921| #endif
#60922| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Wqe __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Wqe;
Error: COMPILER_WARNING (CWE-909): [#def155]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:61096:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#61096 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#61094| 0, /*tp_pypy_flags*/
#61095| #endif
#61096|-> };
#61097| #endif
#61098| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5UMEM __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5UMEM;
Error: COMPILER_WARNING (CWE-909): [#def156]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:61284:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#61284 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#61282| 0, /*tp_pypy_flags*/
#61283| #endif
#61284|-> };
#61285| #endif
#61286| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5DevxObj __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5DevxObj;
Error: COMPILER_WARNING (CWE-909): [#def157]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:61490:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#61490 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#61488| 0, /*tp_pypy_flags*/
#61489| #endif
#61490|-> };
#61491| #endif
#61492|
Error: COMPILER_WARNING (CWE-909): [#def158]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:61678:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#61678 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#61676| 0, /*tp_pypy_flags*/
#61677| #endif
#61678|-> };
#61679| #endif
#61680|
Error: COMPILER_WARNING (CWE-909): [#def159]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:61785:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#61785 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#61783| 0, /*tp_pypy_flags*/
#61784| #endif
#61785|-> };
#61786| #endif
#61787| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5DevxMsiVector __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5DevxMsiVector;
Error: COMPILER_WARNING (CWE-909): [#def160]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:61927:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#61927 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#61925| 0, /*tp_pypy_flags*/
#61926| #endif
#61927|-> };
#61928| #endif
#61929| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5DevxEq __pyx_vtable_7pyverbs_9providers_4mlx5_6mlx5dv_Mlx5DevxEq;
Error: COMPILER_WARNING (CWE-909): [#def161]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:62115:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#62115 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#62113| 0, /*tp_pypy_flags*/
#62114| #endif
#62115|-> };
#62116| #endif
#62117|
Error: COMPILER_WARNING (CWE-909): [#def162]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv.c:71447:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#71447 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#71445| 0,
#71446| #endif
#71447|-> };
#71448| #endif
#71449| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def163]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:13209:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13209 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13207| 0, /*tp_pypy_flags*/
#13208| #endif
#13209|-> };
#13210| #endif
#13211|
Error: COMPILER_WARNING (CWE-909): [#def164]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:13394:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13394 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13392| 0, /*tp_pypy_flags*/
#13393| #endif
#13394|-> };
#13395| #endif
#13396|
Error: COMPILER_WARNING (CWE-909): [#def165]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:13584:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13584 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13582| 0, /*tp_pypy_flags*/
#13583| #endif
#13584|-> };
#13585| #endif
#13586|
Error: COMPILER_WARNING (CWE-909): [#def166]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:13719:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13719 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13717| 0, /*tp_pypy_flags*/
#13718| #endif
#13719|-> };
#13720| #endif
#13721|
Error: COMPILER_WARNING (CWE-909): [#def167]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:13875:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13875 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13873| 0, /*tp_pypy_flags*/
#13874| #endif
#13875|-> };
#13876| #endif
#13877| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_13mlx5dv_crypto_Mlx5DEK __pyx_vtable_7pyverbs_9providers_4mlx5_13mlx5dv_crypto_Mlx5DEK;
Error: COMPILER_WARNING (CWE-909): [#def168]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:14040:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#14040 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#14038| 0, /*tp_pypy_flags*/
#14039| #endif
#14040|-> };
#14041| #endif
#14042| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_13mlx5dv_crypto_Mlx5CryptoLogin __pyx_vtable_7pyverbs_9providers_4mlx5_13mlx5dv_crypto_Mlx5CryptoLogin;
Error: COMPILER_WARNING (CWE-909): [#def169]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:14205:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#14205 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#14203| 0, /*tp_pypy_flags*/
#14204| #endif
#14205|-> };
#14206| #endif
#14207|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:18176:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
#18174| }
#18175| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
#18176|-> base_vtables[0] = unknown;
#18177| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
#18178| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def171]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_crypto.c:19335:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#19335 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#19333| 0,
#19334| #endif
#19335|-> };
#19336| #endif
#19337| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def172]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_flow.c:10810:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10810 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_flow.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#10808| 0, /*tp_pypy_flags*/
#10809| #endif
#10810|-> };
#10811| #endif
#10812|
Error: COMPILER_WARNING (CWE-909): [#def173]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_flow.c:10925:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10925 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#10923| 0, /*tp_pypy_flags*/
#10924| #endif
#10925|-> };
#10926| #endif
#10927| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_11mlx5dv_flow_Mlx5FlowMatcher __pyx_vtable_7pyverbs_9providers_4mlx5_11mlx5dv_flow_Mlx5FlowMatcher;
Error: COMPILER_WARNING (CWE-909): [#def174]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_flow.c:11089:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11089 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#11087| 0, /*tp_pypy_flags*/
#11088| #endif
#11089|-> };
#11090| #endif
#11091|
Error: COMPILER_WARNING (CWE-909): [#def175]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_flow.c:11301:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11301 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#11299| 0, /*tp_pypy_flags*/
#11300| #endif
#11301|-> };
#11302| #endif
#11303| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_11mlx5dv_flow_Mlx5Flow __pyx_vtable_7pyverbs_9providers_4mlx5_11mlx5dv_flow_Mlx5Flow;
Error: COMPILER_WARNING (CWE-909): [#def176]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_flow.c:11427:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11427 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#11425| 0, /*tp_pypy_flags*/
#11426| #endif
#11427|-> };
#11428| #endif
#11429|
Error: COMPILER_WARNING (CWE-909): [#def177]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_flow.c:11542:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11542 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#11540| 0, /*tp_pypy_flags*/
#11541| #endif
#11542|-> };
#11543| #endif
#11544|
Error: COMPILER_WARNING (CWE-909): [#def178]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_flow.c:16627:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#16627 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#16625| 0,
#16626| #endif
#16627|-> };
#16628| #endif
#16629| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def179]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:9412:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 9412 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 9410| 0, /*tp_pypy_flags*/
# 9411| #endif
# 9412|-> };
# 9413| #endif
# 9414|
Error: COMPILER_WARNING (CWE-909): [#def180]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:9527:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 9527 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 9525| 0, /*tp_pypy_flags*/
# 9526| #endif
# 9527|-> };
# 9528| #endif
# 9529| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_11mlx5dv_mkey_Mlx5Mkey __pyx_vtable_7pyverbs_9providers_4mlx5_11mlx5dv_mkey_Mlx5Mkey;
Error: COMPILER_WARNING (CWE-909): [#def181]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:9720:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 9720 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 9718| 0, /*tp_pypy_flags*/
# 9719| #endif
# 9720|-> };
# 9721| #endif
# 9722|
Error: COMPILER_WARNING (CWE-909): [#def182]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:9835:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 9835 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 9833| 0, /*tp_pypy_flags*/
# 9834| #endif
# 9835|-> };
# 9836| #endif
# 9837|
Error: COMPILER_WARNING (CWE-909): [#def183]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:9950:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 9950 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 9948| 0, /*tp_pypy_flags*/
# 9949| #endif
# 9950|-> };
# 9951| #endif
# 9952|
Error: COMPILER_WARNING (CWE-909): [#def184]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:10065:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10065 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#10063| 0, /*tp_pypy_flags*/
#10064| #endif
#10065|-> };
#10066| #endif
#10067|
Error: COMPILER_WARNING (CWE-909): [#def185]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:10180:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10180 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#10178| 0, /*tp_pypy_flags*/
#10179| #endif
#10180|-> };
#10181| #endif
#10182|
Error: COMPILER_WARNING (CWE-909): [#def186]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:10315:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10315 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#10313| 0, /*tp_pypy_flags*/
#10314| #endif
#10315|-> };
#10316| #endif
#10317|
Error: COMPILER_WARNING (CWE-909): [#def187]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:10445:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#10445 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#10443| 0, /*tp_pypy_flags*/
#10444| #endif
#10445|-> };
#10446| #endif
#10447|
Error: COMPILER_WARNING (CWE-909): [#def188]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_mkey.c:15411:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#15411 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#15409| 0,
#15410| #endif
#15411|-> };
#15412| #endif
#15413| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def189]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_objects.c:7879:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 7879 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_objects.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 7877| 0, /*tp_pypy_flags*/
# 7878| #endif
# 7879|-> };
# 7880| #endif
# 7881|
Error: COMPILER_WARNING (CWE-909): [#def190]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_objects.c:8033:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 8033 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 8031| 0, /*tp_pypy_flags*/
# 8032| #endif
# 8033|-> };
# 8034| #endif
# 8035|
Error: COMPILER_WARNING (CWE-909): [#def191]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_objects.c:8192:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 8192 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 8190| 0, /*tp_pypy_flags*/
# 8191| #endif
# 8192|-> };
# 8193| #endif
# 8194|
Error: COMPILER_WARNING (CWE-909): [#def192]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_objects.c:8346:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 8346 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 8344| 0, /*tp_pypy_flags*/
# 8345| #endif
# 8346|-> };
# 8347| #endif
# 8348|
Error: COMPILER_WARNING (CWE-909): [#def193]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_objects.c:8551:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 8551 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 8549| 0, /*tp_pypy_flags*/
# 8550| #endif
# 8551|-> };
# 8552| #endif
# 8553|
Error: COMPILER_WARNING (CWE-909): [#def194]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_objects.c:13127:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13127 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#13125| 0,
#13126| #endif
#13127|-> };
#13128| #endif
#13129| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def195]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_sched.c:7163:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 7163 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_sched.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 7161| 0, /*tp_pypy_flags*/
# 7162| #endif
# 7163|-> };
# 7164| #endif
# 7165| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_12mlx5dv_sched_Mlx5dvSchedNode __pyx_vtable_7pyverbs_9providers_4mlx5_12mlx5dv_sched_Mlx5dvSchedNode;
Error: COMPILER_WARNING (CWE-909): [#def196]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_sched.c:7367:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 7367 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 7365| 0, /*tp_pypy_flags*/
# 7366| #endif
# 7367|-> };
# 7368| #endif
# 7369| static struct __pyx_vtabstruct_7pyverbs_9providers_4mlx5_12mlx5dv_sched_Mlx5dvSchedLeaf __pyx_vtable_7pyverbs_9providers_4mlx5_12mlx5dv_sched_Mlx5dvSchedLeaf;
Error: COMPILER_WARNING (CWE-909): [#def197]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_sched.c:7571:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 7571 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 7569| 0, /*tp_pypy_flags*/
# 7570| #endif
# 7571|-> };
# 7572| #endif
# 7573|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_sched.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_sched.c:10576:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#10574| }
#10575| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
#10576|-> base_vtables[0] = unknown;
#10577| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
#10578| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def199]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5dv_sched.c:11836:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#11836 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#11834| 0,
#11835| #endif
#11836|-> };
#11837| #endif
#11838| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def200]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:39540:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#39540 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#39538| 0, /*tp_pypy_flags*/
#39539| #endif
#39540|-> };
#39541| #endif
#39542|
Error: COMPILER_WARNING (CWE-909): [#def201]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:39881:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#39881 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#39879| 0, /*tp_pypy_flags*/
#39880| #endif
#39881|-> };
#39882| #endif
#39883|
Error: COMPILER_WARNING (CWE-909): [#def202]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:40353:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#40353 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#40351| 0, /*tp_pypy_flags*/
#40352| #endif
#40353|-> };
#40354| #endif
#40355|
Error: COMPILER_WARNING (CWE-909): [#def203]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:40865:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#40865 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#40863| 0, /*tp_pypy_flags*/
#40864| #endif
#40865|-> };
#40866| #endif
#40867| static struct __pyx_vtabstruct_7pyverbs_2qp_QP __pyx_vtable_7pyverbs_2qp_QP;
Error: COMPILER_WARNING (CWE-909): [#def204]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:41128:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#41128 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#41126| 0, /*tp_pypy_flags*/
#41127| #endif
#41128|-> };
#41129| #endif
#41130| static struct __pyx_vtabstruct_7pyverbs_2qp_DataBuffer __pyx_vtable_7pyverbs_2qp_DataBuffer;
Error: COMPILER_WARNING (CWE-909): [#def205]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:41254:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#41254 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#41252| 0, /*tp_pypy_flags*/
#41253| #endif
#41254|-> };
#41255| #endif
#41256| static struct __pyx_vtabstruct_7pyverbs_2qp_QPEx __pyx_vtable_7pyverbs_2qp_QPEx;
Error: COMPILER_WARNING (CWE-909): [#def206]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:41487:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#41487 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#41485| 0, /*tp_pypy_flags*/
#41486| #endif
#41487|-> };
#41488| #endif
#41489| static struct __pyx_vtabstruct_7pyverbs_2qp_ECE __pyx_vtable_7pyverbs_2qp_ECE;
Error: COMPILER_WARNING (CWE-909): [#def207]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:41664:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#41664 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#41662| 0, /*tp_pypy_flags*/
#41663| #endif
#41664|-> };
#41665| #endif
#41666|
Error: COMPILER_WARNING (CWE-909): [#def208]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/qp.c:48666:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#48666 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#48664| 0,
#48665| #endif
#48666|-> };
#48667| #endif
#48668| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def209]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/spec.c:21740:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#21740 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/spec.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#21738| 0, /*tp_pypy_flags*/
#21739| #endif
#21740|-> };
#21741| #endif
#21742| static struct __pyx_vtabstruct_7pyverbs_4spec_EthSpec __pyx_vtable_7pyverbs_4spec_EthSpec;
Error: COMPILER_WARNING (CWE-909): [#def210]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/spec.c:21982:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#21982 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#21980| 0, /*tp_pypy_flags*/
#21981| #endif
#21982|-> };
#21983| #endif
#21984| static struct __pyx_vtabstruct_7pyverbs_4spec_Ipv4ExtSpec __pyx_vtable_7pyverbs_4spec_Ipv4ExtSpec;
Error: COMPILER_WARNING (CWE-909): [#def211]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/spec.c:22285:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#22285 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#22283| 0, /*tp_pypy_flags*/
#22284| #endif
#22285|-> };
#22286| #endif
#22287| static struct __pyx_vtabstruct_7pyverbs_4spec_TcpUdpSpec __pyx_vtable_7pyverbs_4spec_TcpUdpSpec;
Error: COMPILER_WARNING (CWE-909): [#def212]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/spec.c:22466:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#22466 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#22464| 0, /*tp_pypy_flags*/
#22465| #endif
#22466|-> };
#22467| #endif
#22468| static struct __pyx_vtabstruct_7pyverbs_4spec_Ipv6Spec __pyx_vtable_7pyverbs_4spec_Ipv6Spec;
Error: COMPILER_WARNING (CWE-909): [#def213]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/spec.c:22767:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#22767 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#22765| 0, /*tp_pypy_flags*/
#22766| #endif
#22767|-> };
#22768| #endif
#22769|
Error: COMPILER_WARNING (CWE-909): [#def214]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/spec.c:28529:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#28529 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#28527| 0,
#28528| #endif
#28529|-> };
#28530| #endif
#28531| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def215]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/srq.c:13976:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13976 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/srq.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13974| 0, /*tp_pypy_flags*/
#13975| #endif
#13976|-> };
#13977| #endif
#13978|
Error: COMPILER_WARNING (CWE-909): [#def216]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/srq.c:14111:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#14111 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#14109| 0, /*tp_pypy_flags*/
#14110| #endif
#14111|-> };
#14112| #endif
#14113|
Error: COMPILER_WARNING (CWE-909): [#def217]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/srq.c:14406:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#14406 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#14404| 0, /*tp_pypy_flags*/
#14405| #endif
#14406|-> };
#14407| #endif
#14408| static struct __pyx_vtabstruct_7pyverbs_3srq_OpsWr __pyx_vtable_7pyverbs_3srq_OpsWr;
Error: COMPILER_WARNING (CWE-909): [#def218]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/srq.c:14698:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#14698 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#14696| 0, /*tp_pypy_flags*/
#14697| #endif
#14698|-> };
#14699| #endif
#14700| static struct __pyx_vtabstruct_7pyverbs_3srq_SRQ __pyx_vtable_7pyverbs_3srq_SRQ;
Error: COMPILER_WARNING (CWE-909): [#def219]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/srq.c:14877:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#14877 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#14875| 0, /*tp_pypy_flags*/
#14876| #endif
#14877|-> };
#14878| #endif
#14879|
Error: COMPILER_WARNING (CWE-909): [#def220]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/srq.c:19780:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#19780 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#19778| 0,
#19779| #endif
#19780|-> };
#19781| #endif
#19782| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def221]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wq.c:13037:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13037 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wq.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13035| 0, /*tp_pypy_flags*/
#13036| #endif
#13037|-> };
#13038| #endif
#13039|
Error: COMPILER_WARNING (CWE-909): [#def222]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wq.c:13232:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13232 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13230| 0, /*tp_pypy_flags*/
#13231| #endif
#13232|-> };
#13233| #endif
#13234| static struct __pyx_vtabstruct_7pyverbs_2wq_WQ __pyx_vtable_7pyverbs_2wq_WQ;
Error: COMPILER_WARNING (CWE-909): [#def223]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wq.c:13432:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13432 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13430| 0, /*tp_pypy_flags*/
#13431| #endif
#13432|-> };
#13433| #endif
#13434|
Error: COMPILER_WARNING (CWE-909): [#def224]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wq.c:13594:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13594 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13592| 0, /*tp_pypy_flags*/
#13593| #endif
#13594|-> };
#13595| #endif
#13596| static struct __pyx_vtabstruct_7pyverbs_2wq_RwqIndTable __pyx_vtable_7pyverbs_2wq_RwqIndTable;
Error: COMPILER_WARNING (CWE-909): [#def225]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wq.c:13784:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13784 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13782| 0, /*tp_pypy_flags*/
#13783| #endif
#13784|-> };
#13785| #endif
#13786|
Error: COMPILER_WARNING (CWE-909): [#def226]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wq.c:13990:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#13990 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#13988| 0, /*tp_pypy_flags*/
#13989| #endif
#13990|-> };
#13991| #endif
#13992|
Error: COMPILER_WARNING (CWE-909): [#def227]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wq.c:19288:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#19288 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#19286| 0,
#19287| #endif
#19288|-> };
#19289| #endif
#19290| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def228]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wr.c:12191:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12191 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wr.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12189| 0, /*tp_pypy_flags*/
#12190| #endif
#12191|-> };
#12192| #endif
#12193| static struct __pyx_vtabstruct_7pyverbs_2wr_RecvWR __pyx_vtable_7pyverbs_2wr_RecvWR;
Error: COMPILER_WARNING (CWE-909): [#def229]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wr.c:12369:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12369 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12367| 0, /*tp_pypy_flags*/
#12368| #endif
#12369|-> };
#12370| #endif
#12371| static struct __pyx_vtabstruct_7pyverbs_2wr_SendWR __pyx_vtable_7pyverbs_2wr_SendWR;
Error: COMPILER_WARNING (CWE-909): [#def230]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wr.c:12643:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#12643 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#12641| 0, /*tp_pypy_flags*/
#12642| #endif
#12643|-> };
#12644| #endif
#12645|
Error: COMPILER_WARNING (CWE-909): [#def231]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/wr.c:17959:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#17959 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#17957| 0,
#17958| #endif
#17959|-> };
#17960| #endif
#17961| static int __pyx_CyFunction_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def232]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/xrcd.c:5658:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 5658 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/xrcd.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 5656| 0, /*tp_pypy_flags*/
# 5657| #endif
# 5658|-> };
# 5659| #endif
# 5660| static struct __pyx_vtabstruct_7pyverbs_4xrcd_XRCD __pyx_vtable_7pyverbs_4xrcd_XRCD;
Error: COMPILER_WARNING (CWE-909): [#def233]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/xrcd.c:5838:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 5838 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
# 5836| 0, /*tp_pypy_flags*/
# 5837| #endif
# 5838|-> };
# 5839| #endif
# 5840|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def234]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/xrcd.c: scope_hint: In function ‘__Pyx_MergeVtables’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/xrcd.c:8609:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 8607| }
# 8608| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
# 8609|-> base_vtables[0] = unknown;
# 8610| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
# 8611| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
Error: COMPILER_WARNING (CWE-909): [#def235]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/pyverbs/xrcd.c:9997:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘tp_versions_used’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
# 9997 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: ‘tp_versions_used’ declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
# 9995| 0,
# 9996| #endif
# 9997|-> };
# 9998| #endif
# 9999| static int __pyx_CyFunction_init(PyObject *module) {
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-112.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | rdma-core-48.0-4.fc40 |
diffbase-store-results-to | /tmp/tmpuqcql5xc/rdma-core-48.0-4.fc40.tar.xz |
diffbase-time-created | 2024-07-03 17:48:40 |
diffbase-time-finished | 2024-07-03 17:52:29 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpuqcql5xc/rdma-core-48.0-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpuqcql5xc/rdma-core-48.0-4.fc40.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-112.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | rdma-core-51.0-3.fc41 |
store-results-to | /tmp/tmp_m7muhtx/rdma-core-51.0-3.fc41.tar.xz |
time-created | 2024-07-03 17:52:46 |
time-finished | 2024-07-03 17:59:49 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp_m7muhtx/rdma-core-51.0-3.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp_m7muhtx/rdma-core-51.0-3.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |