rdma-core-51.0-3.fc41

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:185:23: warning[-Wanalyzer-malloc-leak]: leak of ‘create_range(astart + length,  rend - astart - length)’
rdma-core-51.0-build/rdma-core-51.0/util/interval_set.c: scope_hint: In function ‘iset_alloc_range’
rdma-core-51.0-build/rdma-core-51.0/util/interval_set.c: scope_hint: In function ‘iset_alloc_range’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:738:9: note: in expansion of macro ‘list_for_each_off_dir_’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:524:9: note: in expansion of macro ‘list_for_each_off’
rdma-core-51.0-build/rdma-core-51.0/util/interval_set.c:169:9: note: in expansion of macro ‘list_for_each’
rdma-core-51.0-build/rdma-core-51.0/util/interval_set.c:200:25: note: in expansion of macro ‘list_add_after’
rdma-core-51.0-build/rdma-core-51.0/util/interval_set.c:200:25: note: in expansion of macro ‘list_add_after’
#  183|   	n->next = p->next;
#  184|   	n->prev = p;
#  185|-> 	p->next->prev = n;
#  186|   	p->next = n;
#  187|   	(void)list_debug(h, abortstr);

Error: CLANG_WARNING: [#def2]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_matcher.c:34: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5dv_dr.h:36: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:234:16: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from field 'prev')
#  232|   	n->next = p;
#  233|   	n->prev = p->prev;
#  234|-> 	p->prev->next = n;
#  235|   	p->prev = n;
#  236|   	(void)list_debug(h, abortstr);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:234:23: warning[-Wanalyzer-malloc-leak]: leak of ‘create_range(start,  length)’
rdma-core-51.0-build/rdma-core-51.0/util/interval_set.c: scope_hint: In function ‘iset_insert_range’
rdma-core-51.0-build/rdma-core-51.0/util/interval_set.c:140:25: note: in expansion of macro ‘list_add_tail’
rdma-core-51.0-build/rdma-core-51.0/util/interval_set.c:140:25: note: in expansion of macro ‘list_add_tail’
#  232|   	n->next = p;
#  233|   	n->prev = p->prev;
#  234|-> 	p->prev->next = n;
#  235|   	p->prev = n;
#  236|   	(void)list_debug(h, abortstr);

Error: GCC_ANALYZER_WARNING (CWE-416): [#def4]
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:327:10: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘mapped_ports.n.next’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c: scope_hint: In function ‘free_iwpm_mapped_ports’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:518:29: note: in expansion of macro ‘list_pop’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h: scope_hint: In function ‘free_iwpm_mapped_ports’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:482:9: note: in expansion of macro ‘list_del’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c: scope_hint: In function ‘free_iwpm_mapped_ports’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:518:29: note: in expansion of macro ‘list_pop’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h: scope_hint: In function ‘free_iwpm_mapped_ports’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:482:9: note: in expansion of macro ‘list_del’
#  325|   {
#  326|   	(void)list_debug_node(n, abortstr);
#  327|-> 	n->next->prev = n->prev;
#  328|   	n->prev->next = n->next;
#  329|   #ifdef CCAN_LIST_DEBUG

Error: CLANG_WARNING: [#def5]
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:327:16: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from field 'next')
#  325|   {
#  326|   	(void)list_debug_node(n, abortstr);
#  327|-> 	n->next->prev = n->prev;
#  328|   	n->prev->next = n->next;
#  329|   #ifdef CCAN_LIST_DEBUG

Error: CLANG_WARNING: [#def6]
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:328:16: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from field 'prev')
#  326|   	(void)list_debug_node(n, abortstr);
#  327|   	n->next->prev = n->prev;
#  328|-> 	n->prev->next = n->next;
#  329|   #ifdef CCAN_LIST_DEBUG
#  330|   	/* Catch use-after-del. */

Error: CLANG_WARNING: [#def7]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:34: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm.h:54: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:482:2: warning[unix.Malloc]: Use of memory after it is freed
#  480|   		return NULL;
#  481|   	n = h->n.next;
#  482|-> 	list_del(n);
#  483|   	return (const char *)n - off;
#  484|   }

Error: GCC_ANALYZER_WARNING (CWE-416): [#def8]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5dv_dr.h:36: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_action.c:36: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_action.c: scope_hint: In function ‘dr_action_remove_action_members’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:705:15: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘tmp’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:768:9: note: in expansion of macro ‘list_for_each_safe_off_dir_’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:582:9: note: in expansion of macro ‘list_for_each_safe_off’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_action.c:2942:9: note: in expansion of macro ‘list_for_each_safe’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5dv_dr.h:39: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:768:9: note: in expansion of macro ‘list_for_each_safe_off_dir_’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:582:9: note: in expansion of macro ‘list_for_each_safe_off’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_action.c:2942:9: note: in expansion of macro ‘list_for_each_safe’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_action.c:2943:17: note: in expansion of macro ‘list_del’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_action.c: scope_hint: In function ‘dr_action_remove_action_members’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:768:9: note: in expansion of macro ‘list_for_each_safe_off_dir_’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:582:9: note: in expansion of macro ‘list_for_each_safe_off’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_action.c:2942:9: note: in expansion of macro ‘list_for_each_safe’
#  703|   	list_node_from_off_(i, (off)) != &(h)->n;			\
#  704|   	i = nxt,							\
#  705|-> 	nxt = list_node_to_off_(list_node_from_off_(i, (off))->dir,	\
#  706|   				(off)))
#  707|   

Error: GCC_ANALYZER_WARNING (CWE-126): [#def9]
rdma-core-51.0-build/rdma-core-51.0/ibacm/prov/acmp/src/acmp.c: scope_hint: In function ‘acmp_parse_hosts_file’
rdma-core-51.0-build/rdma-core-51.0/ibacm/prov/acmp/src/acmp.c:2324:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
rdma-core-51.0-build/rdma-core-51.0/ibacm/prov/acmp/src/acmp.c:61: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/ibacm/prov/acmp/src/acmp.c:2310:17: note: in expansion of macro ‘acm_log’
rdma-core-51.0-build/rdma-core-51.0/ibacm/prov/acmp/src/acmp.c:2324:25: note: read of 18 bytes from after the end of ‘addr’
rdma-core-51.0-build/rdma-core-51.0/ibacm/prov/acmp/src/acmp.c:2324:25: note: valid subscripts for ‘addr’ are ‘[0]’ to ‘[45]’
#  └──────────────────────────────────────────────────────────────────────┘
#      ^                    ^                     ^              ^
# 2322|   		} else {
# 2323|   			addr_type = ACM_ADDRESS_NAME;
# 2324|-> 			strncpy((char *)name, addr, ACM_MAX_ADDRESS);
# 2325|   		}
# 2326|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def10]
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/acme.c: scope_hint: In function ‘parse_perf_arg’
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/acme.c:1026:14: warning[-Wanalyzer-null-argument]: use of NULL ‘arg’ where non-null expected
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/acme.c: scope_hint: In function ‘parse_perf_arg’
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/acme.c: scope_hint: In function ‘parse_perf_arg’
/usr/include/string.h:462: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/acme.c:35: included_from: Included from here.
/usr/include/strings.h:120:12: note: argument 2 of ‘strncasecmp’ must be non-null
# 1024|   static void parse_perf_arg(char *arg)
# 1025|   {
# 1026|-> 	if (!strncasecmp("col", arg, 3)) {
# 1027|   		perf_query = PERF_QUERY_COL;
# 1028|   	} else if (!strncasecmp("all", arg, 3)) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def11]
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/parse.c: scope_hint: In function ‘expand’
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/parse.c:58:25: warning[-Wanalyzer-null-argument]: use of NULL ‘str_buf’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
#   56|   			snprintf(buf, sizeof buf, "%s%0*d", basename, width, from);
#   57|   			str_buf = realloc(str_buf, size + strlen(buf)+1);
#   58|-> 			strcpy(&str_buf[size], buf);
#   59|   
#   60|   			from++;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/parse.c:62:30: warning[-Wanalyzer-malloc-leak]: leak of ‘str_buf’
#   60|   			from++;
#   61|   			cnt++;
#   62|-> 			size += strlen(buf)+1;
#   63|   		}
#   64|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def13]
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/parse.c: scope_hint: In function ‘parse’
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/parse.c:95:28: warning[-Wanalyzer-null-argument]: use of NULL ‘token’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#   93|   
#   94|   	if (!next) {
#   95|-> 		str_size = strlen(token) + 1;
#   96|   		str_buf = malloc(str_size);
#   97|   		if (!str_buf)

Error: GCC_ANALYZER_WARNING (CWE-131): [#def14]
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/parse.c:106:16: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  104|   	}
#  105|   
#  106|-> 	ptrs = malloc((sizeof str_buf * (cnt + 1)) + str_size);
#  107|   	if (!ptrs)
#  108|   		goto out_str_buf;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def15]
rdma-core-51.0-build/rdma-core-51.0/ibacm/src/parse.c:110:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str_buf’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  108|   		goto out_str_buf;
#  109|   
#  110|-> 	memcpy(&ptrs[cnt + 1], str_buf, str_size);
#  111|   
#  112|   	ptrs[0] = (char*) &ptrs[cnt + 1];

Error: CPPCHECK_WARNING: [#def16]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/dump_fts.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def17]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/dump_fts.c:165: error[uninitvar]: Uninitialized variable: str
#  163|   			}
#  164|   			*s = 0;
#  165|-> 			printf("            %s\n", str);
#  166|   		}
#  167|   		for (i = 0, s = str; i <= nports; i++)

Error: CPPCHECK_WARNING: [#def18]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibaddr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def19]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibcacheedit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def20]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibcacheedit.c:271:2: warning[deadcode.DeadStores]: Value stored to 'argc' is never read
#  269|   			    NULL);
#  270|   
#  271|-> 	argc -= optind;
#  272|   	argv += optind;
#  273|   

Error: CPPCHECK_WARNING: [#def21]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibccconfig.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def22]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibccconfig.c:615:13: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  613|   			       ibd_dest_type, ibd_sm_id, srcport) < 0)
#  614|   		IBEXIT("can't resolve destination %s", argv[1]);
#  615|-> 	if ((err = fn(&portid, argv + 2, argc - 2)))
#  616|   		IBEXIT("operation %s: %s", argv[0], err);
#  617|   

Error: CPPCHECK_WARNING: [#def23]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibccquery.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def24]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibccquery.c:403:13: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  401|   			       ibd_dest_type, ibd_sm_id, srcport) < 0)
#  402|   		IBEXIT("can't resolve destination %s", argv[1]);
#  403|-> 	if ((err = fn(&portid, argv + 2, argc - 2)))
#  404|   		IBEXIT("operation %s: %s", argv[0], err);
#  405|   

Error: CPPCHECK_WARNING: [#def25]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def26]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.c:179:17: warning[deadcode.DeadStores]: Value stored to 'o' during its initialization is never read
#  177|   void ibdiag_show_usage(void)
#  178|   {
#  179|-> 	struct option *o = long_opts;
#  180|   	int n;
#  181|   

Error: GCC_ANALYZER_WARNING (CWE-121): [#def27]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.c: scope_hint: In function ‘vsnprint_field’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.c:894:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.c:894:24: note: write of 1 byte to beyond the end of ‘buf’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.c:894:24: note: valid subscripts for ‘buf’ are ‘[0]’ to ‘[1023]’
#  892|   	ret = vsnprintf(&buf[spacing+1], n - spacing, format, va_args);
#  893|   	if (ret >= n - spacing)
#  894|-> 		buf[n] = '\0';
#  895|   
#  896|   	return ret + spacing;

Error: CPPCHECK_WARNING (CWE-401): [#def28]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_sa.c:139: error[memleakOnRealloc]: Common realloc mistake: 'umad' nulled but not freed upon failure
#  137|   	if (ret < 0) {
#  138|   		if (errno == ENOSPC) {
#  139|-> 			umad = realloc(umad, umad_size() + len);
#  140|   			goto recv_mad;
#  141|   		}

Error: CPPCHECK_WARNING: [#def29]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/iblinkinfo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/iblinkinfo.c: scope_hint: In function ‘print_node_header.part.0’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/iblinkinfo.c:293:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_header_flag’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/iblinkinfo.c: scope_hint: In function ‘print_node_header.part.0’
#  291|   				out_prefix ? out_prefix : "",
#  292|   				nodetype_str(node), remap);
#  293|-> 		(*out_header_flag)++;
#  294|   		free(remap);
#  295|   	}

Error: CLANG_WARNING: [#def31]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/iblinkinfo.c:640:2: warning[deadcode.DeadStores]: Value stored to 'argc' is never read
#  638|   			    process_opt, usage_args, NULL);
#  639|   
#  640|-> 	argc -= optind;
#  641|   	argv += optind;
#  642|   

Error: CLANG_WARNING: [#def32]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/iblinkinfo.c:641:2: warning[deadcode.DeadStores]: Value stored to 'argv' is never read
#  639|   
#  640|   	argc -= optind;
#  641|-> 	argv += optind;
#  642|   
#  643|   	ibmad_port = mad_rpc_open_port(ibd_ca, ibd_ca_port, mgmt_classes, 3);

Error: CPPCHECK_WARNING: [#def33]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-787): [#def34]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c: scope_hint: In function ‘node_name’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c:179:9: warning[-Wanalyzer-out-of-bounds]: buffer overflow
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c:179:9: note: write of 2 bytes to beyond the end of ‘buf’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c:179:9: note: valid subscripts for ‘buf’ are ‘[0]’ to ‘[255]’
#  177|   		break;
#  178|   	}
#  179|-> 	sprintf(buf + 2, "-%016" PRIx64 "\"", node->guid);
#  180|   
#  181|   	return buf;

Error: CLANG_WARNING: [#def35]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c:554:3: warning[core.NullDereference]: Access to field 'from_node' results in a dereference of a null pointer (loaded from variable 'fabric')
#  552|   			fabric->maxhops_discovered, fabric->total_mads_used);
#  553|   	fprintf(f, "# Initiated from node %016" PRIx64 " port %016" PRIx64 "\n",
#  554|-> 		fabric->from_node->guid,
#  555|   		mad_get_field64(fabric->from_node->info, 0,
#  556|   				IB_NODE_PORT_GUID_F));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c: scope_hint: In function ‘dump_topology’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c:555:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fabric’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c:50: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibnetdiscover.c:1123:25: note: in expansion of macro ‘IBEXIT’
#  553|   	fprintf(f, "# Initiated from node %016" PRIx64 " port %016" PRIx64 "\n",
#  554|   		fabric->from_node->guid,
#  555|-> 		mad_get_field64(fabric->from_node->info, 0,
#  556|   				IB_NODE_PORT_GUID_F));
#  557|   

Error: CPPCHECK_WARNING: [#def37]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-479): [#def38]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:154:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
#  152|   	DEBUG("out due signal %d", sig);
#  153|   
#  154|-> 	printf("\n--- %s (%s) ibping statistics ---\n", last_host,
#  155|   	       portid2str(&portid));
#  156|   	printf("%" PRIu64 " packets transmitted, %" PRIu64 " received, %" PRIu64

Error: GCC_ANALYZER_WARNING (CWE-479): [#def39]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:156:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
#  154|   	printf("\n--- %s (%s) ibping statistics ---\n", last_host,
#  155|   	       portid2str(&portid));
#  156|-> 	printf("%" PRIu64 " packets transmitted, %" PRIu64 " received, %" PRIu64
#  157|   	       "%% packet loss, time %" PRIu64 " ms\n", ntrans, replied,
#  158|   	       (lost != 0) ? lost * 100 / ntrans : 0, total_time / 1000);

Error: GCC_ANALYZER_WARNING (CWE-479): [#def40]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:159:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
#  157|   	       "%% packet loss, time %" PRIu64 " ms\n", ntrans, replied,
#  158|   	       (lost != 0) ? lost * 100 / ntrans : 0, total_time / 1000);
#  159|-> 	printf("rtt min/avg/max = %" PRIu64 ".%03" PRIu64 "/%" PRIu64 ".%03"
#  160|   	       PRIu64 "/%" PRIu64 ".%03" PRIu64 " ms\n",
#  161|   	       minrtt == ~0ull ? 0 : minrtt / 1000,

Error: GCC_ANALYZER_WARNING (CWE-479): [#def41]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:167:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:167:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#  165|   	       maxrtt % 1000);
#  166|   
#  167|-> 	exit(0);
#  168|   }
#  169|   

Error: CPPCHECK_WARNING: [#def42]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibportstate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def43]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-465): [#def44]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c: scope_hint: In function ‘set_thres’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c:116:28: warning[-Wanalyzer-deref-before-check]: check of ‘threshold_str’ for NULL after already dereferencing it
#  114|   			threshold_str = realloc(threshold_str,
#  115|   					strlen(threshold_str)+strlen(tmp)+1);
#  116|-> 			if (!threshold_str) {
#  117|   				fprintf(stderr, "Failed to allocate memory: "
#  118|   					"%s\n", strerror(errno));

Error: GCC_ANALYZER_WARNING (CWE-775): [#def45]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c: scope_hint: In function ‘set_thresholds’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c:142:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(threshold_file, "r")’
#  140|   	snprintf(str, 63, "Thresholds: ");
#  141|   	threshold_str = malloc(strlen(str)+1);
#  142|-> 	if (!threshold_str) {
#  143|   		fprintf(stderr, "Failed to allocate memory: %s\n",
#  144|   			strerror(errno));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c:142:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(threshold_file, "r")’
#  140|   	snprintf(str, 63, "Thresholds: ");
#  141|   	threshold_str = malloc(strlen(str)+1);
#  142|-> 	if (!threshold_str) {
#  143|   		fprintf(stderr, "Failed to allocate memory: %s\n",
#  144|   			strerror(errno));

Error: CLANG_WARNING: [#def47]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c:397:14: warning[deadcode.DeadStores]: Value stored to 'unit' during its initialization is never read
#  395|   	int is_exceeds = 0;
#  396|   	float val = 0;
#  397|-> 	const char *unit = "";
#  398|   
#  399|   	if (htonl(cap_mask2) & IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP) {

Error: CLANG_WARNING: [#def48]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c:487:17: warning[deadcode.DeadStores]: Value stored to 'unit' during its initialization is never read
#  485|   				uint64_t val64 = 0;
#  486|   				float val = 0;
#  487|-> 				const char *unit = "";
#  488|   				mad_decode_field(pkt, i, (void *)&val64);
#  489|   				if (val64) {

Error: CLANG_WARNING: [#def49]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c:612:15: warning[deadcode.DeadStores]: Value stored to 'unit' during its initialization is never read
#  610|   		uint64_t val64 = 0;
#  611|   		float val = 0;
#  612|-> 		const char *unit = "";
#  613|   		int data = 0;
#  614|   		mad_decode_field(pc, i, (void *)&val64);

Error: CLANG_WARNING: [#def50]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibqueryerrors.c:1023:2: warning[deadcode.DeadStores]: Value stored to 'argc' is never read
# 1021|   			    usage_args, NULL);
# 1022|   
# 1023|-> 	argc -= optind;
# 1024|   	argv += optind;
# 1025|   

Error: CPPCHECK_WARNING: [#def51]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibroute.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def52]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibroute.c:191: error[uninitvar]: Uninitialized variable: str
#  189|   			}
#  190|   			*s = 0;
#  191|-> 			printf("            %s\n", str);
#  192|   		}
#  193|   		for (i = 0, s = str; i <= nports; i++)

Error: CPPCHECK_WARNING: [#def53]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibstat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def54]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibsysstat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def55]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def56]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:138:2: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  136|   	char *s, *e;
#  137|   
#  138|-> 	memset(ni, 0, sizeof(node->nodeinfo));
#  139|   	if (!smp_query_via(ni, portid, IB_ATTR_NODE_INFO, 0, timeout, srcport))
#  140|   		return -1;

Error: CLANG_WARNING: [#def57]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:435:16: warning[core.NullDereference]: Access to field 'portnum' results in a dereference of a null pointer (loaded from variable 'port')
#  433|   	void *pi = portinfo;
#  434|   
#  435|-> 	port->portnum = portnum;
#  436|   
#  437|   	if (!smp_query_via(pi, portid, IB_ATTR_PORT_INFO, portnum, timeout,

Error: CLANG_WARNING: [#def58]
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: [#def59]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:562:15: warning[core.NullDereference]: Access to field 'upnode' results in a dereference of a null pointer (loaded from variable 'node')
#  560|   	}
#  561|   
#  562|-> 	node->upnode = NULL;	/* root */
#  563|   	if ((r = new_node(node, port, from, 0)) > 0) {
#  564|   		if (node->type != IB_NODE_SWITCH) {

Error: CLANG_WARNING: [#def60]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:563:7: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
#  561|   
#  562|   	node->upnode = NULL;	/* root */
#  563|-> 	if ((r = new_node(node, port, from, 0)) > 0) {
#  564|   		if (node->type != IB_NODE_SWITCH) {
#  565|   			IBWARN("ibtracert from CA to CA is unsupported");

Error: CLANG_WARNING: [#def61]
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: [#def62]
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: [#def63]
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: [#def64]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibtracert.c:671:24: warning[core.NullDereference]: Access to field 'upnode' results in a dereference of a null pointer (loaded from variable 'remotenode')
#  669|   				}
#  670|   
#  671|-> 				remotenode->upnode = node;
#  672|   				remotenode->upport = remoteport->portnum;
#  673|   				remoteport->remoteport = port;

Error: CPPCHECK_WARNING: [#def65]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/mcm_rereg_test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def66]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/perfquery.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def67]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/saquery.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758): [#def68]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/saquery.c:975: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  973|   	attr.port_info.capability_mask = capability_mask;
#  974|   
#  975|-> 	return get_any_records(h, IB_SA_ATTR_PORTINFORECORD, 1 << 31,
#  976|   			       IB_PIR_COMPMASK_CAPMASK, &attr, sizeof(attr), result);
#  977|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def69]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/saquery.c: scope_hint: In function ‘process_opt’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/saquery.c:1530:35: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘src_lid’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 1528|   		{
# 1529|   			src_lid = strdup(optarg);
# 1530|-> 			dst_lid = strchr(src_lid, ':');
# 1531|   			if (!dst_lid)
# 1532|   				ibdiag_show_usage();

Error: GCC_ANALYZER_WARNING (CWE-688): [#def70]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/saquery.c:1541:42: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘src_addr’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 1539|   		{
# 1540|   			char *src_addr = strdup(optarg);
# 1541|-> 			char *dst_addr = strchr(src_addr, '-');
# 1542|   			if (!dst_addr)
# 1543|   				ibdiag_show_usage();

Error: CLANG_WARNING: [#def71]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/saquery.c:1544:16: warning[core.NullDereference]: Dereference of null pointer
# 1542|   			if (!dst_addr)
# 1543|   				ibdiag_show_usage();
# 1544|-> 			*dst_addr++ = '\0';
# 1545|   			if (inet_pton(AF_INET6, src_addr, &p->sgid) <= 0)
# 1546|   				ibdiag_show_usage();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/saquery.c:1544:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dst_addr’
# 1542|   			if (!dst_addr)
# 1543|   				ibdiag_show_usage();
# 1544|-> 			*dst_addr++ = '\0';
# 1545|   			if (inet_pton(AF_INET6, src_addr, &p->sgid) <= 0)
# 1546|   				ibdiag_show_usage();

Error: CLANG_WARNING: [#def73]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/sminfo.c:136:9: warning[deadcode.DeadStores]: Although the value stored to 'p' is used in the enclosing expression, the value is never actually read from 'p'
#  134|   
#  135|   	if (mod) {
#  136|-> 		if (!(p = smp_set_via(sminfo, &portid, IB_ATTR_SMINFO, mod,
#  137|   				      ibd_timeout, srcport)))
#  138|   			IBEXIT("query");

Error: CLANG_WARNING: [#def74]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/sminfo.c:139:15: warning[deadcode.DeadStores]: Although the value stored to 'p' is used in the enclosing expression, the value is never actually read from 'p'
#  137|   				      ibd_timeout, srcport)))
#  138|   			IBEXIT("query");
#  139|-> 	} else if (!(p = smp_query_via(sminfo, &portid, IB_ATTR_SMINFO, 0,
#  140|   				       ibd_timeout, srcport)))
#  141|   		IBEXIT("query");

Error: CPPCHECK_WARNING: [#def75]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/smpdump.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def76]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/smpdump.c:99:55: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#   97|   
#   98|   	if (path)
#   99|-> 		memcpy(smp->initial_path, path->path, path->hop_cnt + 1);
#  100|   
#  101|   	smp->hop_cnt = (uint8_t) path->hop_cnt;

Error: CPPCHECK_WARNING: [#def77]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/smpquery.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def78]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/smpquery.c:490:14: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  488|   				       ibd_dest_type, ibd_sm_id, srcport) < 0)
#  489|   			IBEXIT("can't resolve destination port %s", argv[1]);
#  490|-> 		if ((err = fn(&portid, argv + 2, argc - 2)))
#  491|   			IBEXIT("operation %s: %s", argv[0], err);
#  492|   	} else {

Error: CLANG_WARNING: [#def79]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/smpquery.c:500:14: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  498|   				       ibd_dest_type, ibd_sm_id, srcport) < 0)
#  499|   			IBEXIT("can't resolve destination port %s", concat);
#  500|-> 		if ((err = fn(&portid, argv + 3, argc - 3)))
#  501|   			IBEXIT("operation %s: %s", argv[0], err);
#  502|   	}

Error: CPPCHECK_WARNING: [#def80]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/vendstat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def81]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_common.c:269:2: warning[deadcode.DeadStores]: Value stored to 'pm_sock' is never read
#  267|   	if (pm_sock >= 0)
#  268|   		close(pm_sock);
#  269|-> 	pm_sock = -1;
#  270|   }
#  271|   

Error: CLANG_WARNING: [#def82]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:190:14: warning[deadcode.DeadStores]: Value stored to 'str_err' during its initialization is never read
#  188|   	socklen_t sockname_len;
#  189|   	__be16 *new_port = NULL, *mapped_port = NULL;
#  190|-> 	const char *str_err = "";
#  191|   
#  192|   	/* create a socket */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c: scope_hint: In function ‘get_iwpm_tcp_port’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:226:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket((int)addr_family, 1, 0)’
#  224|   	}
#  225|   
#  226|-> 	if (bind(*new_sock, &bind_addr.sock_addr, sizeof(bind_addr))) {
#  227|   		str_err = "Unable to bind the socket";
#  228|   		goto get_tcp_port_error;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def84]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c: scope_hint: In function ‘create_iwpm_mapped_port’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:293:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘new_sd’
#  291|   	}
#  292|   	iwpm_port = get_iwpm_port(client_idx, local_addr, &mapped_addr, new_sd);
#  293|-> 	return iwpm_port;
#  294|   
#  295|   create_mapped_port_error:

Error: CLANG_WARNING: [#def85]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:312:14: warning[deadcode.DeadStores]: Value stored to 'str_err' during its initialization is never read
#  310|   	iwpm_mapped_port *iwpm_port;
#  311|   	int new_sd = -1;
#  312|-> 	const char *str_err = "";
#  313|   
#  314|   	if (local_addr->ss_family != mapped_addr->ss_family) {

Error: CLANG_WARNING: [#def86]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:315:3: warning[deadcode.DeadStores]: Value stored to 'str_err' is never read
#  313|   
#  314|   	if (local_addr->ss_family != mapped_addr->ss_family) {
#  315|-> 		str_err = "Different local and mapped sockaddr families";
#  316|   		goto reopen_mapped_port_error;
#  317|   	}

Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c: scope_hint: In function ‘reopen_iwpm_mapped_port’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:323:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘new_sd’
#  321|   	}
#  322|   	iwpm_port = get_iwpm_port(client_idx, local_addr, mapped_addr, new_sd);
#  323|-> 	return iwpm_port;
#  324|   
#  325|   reopen_mapped_port_error:

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def88]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c: scope_hint: In function ‘free_iwpm_port’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:447:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘*iwpm_port.sd’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:518:29: note: in expansion of macro ‘list_pop’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h: scope_hint: In function ‘free_iwpm_port’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:482:9: note: in expansion of macro ‘list_del’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c: scope_hint: In function ‘free_iwpm_port’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:518:29: note: in expansion of macro ‘list_pop’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h: scope_hint: In function ‘free_iwpm_port’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:482:9: note: in expansion of macro ‘list_del’
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c: scope_hint: In function ‘free_iwpm_port’
#  445|   {
#  446|   	if (iwpm_port->sd != -1)
#  447|-> 		close(iwpm_port->sd);
#  448|   	free(iwpm_port);
#  449|   }

Error: CPPCHECK_WARNING (CWE-401): [#def89]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_helper.c:508: error[memleak]: Memory leak: pending_msg
#  506|   	/* signal the thread that a new message has been posted */
#  507|   	pthread_cond_signal(&cond_pending_msg);
#  508|-> 	return 0;
#  509|   }
#  510|   

Error: CPPCHECK_WARNING: [#def90]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def91]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:323:14: warning[deadcode.DeadStores]: Value stored to 'str_err' during its initialization is never read
#  321|   	__u16 err_code = 0;
#  322|   	const char *msg_type = "Add Mapping Request";
#  323|-> 	const char *str_err = "";
#  324|   	int ret = -EINVAL;
#  325|   	__u32 flags;

Error: CLANG_WARNING: [#def92]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:431:14: warning[deadcode.DeadStores]: Value stored to 'str_err' during its initialization is never read
#  429|   	__u16 err_code = 0;
#  430|   	const char *msg_type = "Add & Query Mapping Request";
#  431|-> 	const char *str_err = "";
#  432|   	int ret = -EINVAL;
#  433|   	__u32 flags;

Error: CLANG_WARNING: [#def93]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:750:2: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  748|   	copy_iwpm_sockaddr(msg_parms->address_family, NULL, &remote_mapped_addr,
#  749|   				&msg_parms->apipaddr[0], NULL, &msg_parms->apport);
#  750|-> 	ret = -EINVAL;
#  751|   	iwpm_port = find_iwpm_same_mapping(&local_addr, not_mapped);
#  752|   	if (!iwpm_port) {

Error: CLANG_WARNING: [#def94]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:825:2: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  823|   	print_iwpm_sockaddr(&remote_addr, "process_wire_reject: Remote address",
#  824|   					IWARP_PM_ALL_DBG);
#  825|-> 	ret = -EINVAL;
#  826|   	iwpm_port = find_iwpm_same_mapping(&local_addr, not_mapped);
#  827|   	if (!iwpm_port) {

Error: CLANG_WARNING: [#def95]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:909:14: warning[deadcode.DeadStores]: Value stored to 'str_err' during its initialization is never read
#  907|   	__u16 err_code = 0;
#  908|   	const char *msg_type = "Mapping Info Msg";
#  909|-> 	const char *str_err = "";
#  910|   	int ret = -EINVAL;
#  911|   	__u32 flags;

Error: CLANG_WARNING: [#def96]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:981:14: warning[deadcode.DeadStores]: Value stored to 'str_err' during its initialization is never read
#  979|   	__u32 map_count;
#  980|   	__u16 err_code = 0;
#  981|-> 	const char *str_err = "";
#  982|   	int ret = -EINVAL;
#  983|   

Error: CLANG_WARNING: [#def97]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:1040:14: warning[deadcode.DeadStores]: Value stored to 'str_err' during its initialization is never read
# 1038|   	struct nl_msg *resp_nlmsg;
# 1039|   	__u16 nlmsg_type;
# 1040|-> 	const char *str_err = "";
# 1041|   	int ret;
# 1042|   

Error: CLANG_WARNING: [#def98]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:1089:14: warning[deadcode.DeadStores]: Value stored to 'str_err' during its initialization is never read
# 1087|   	__u16 abi_version;
# 1088|   	__u16 err_code = 0;
# 1089|-> 	const char *str_err = "";
# 1090|   	int ret = -EINVAL;
# 1091|   

Error: CLANG_WARNING: [#def99]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:1447:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1445|   		if (pmv4_sock >= 0) {
# 1446|   			if (FD_ISSET(pmv4_sock, &select_fdset))
# 1447|-> 				ret = process_iwpm_msg(pmv4_sock);
# 1448|   
# 1449|   			if (FD_ISSET(pmv4_client_sock, &select_fdset))

Error: CLANG_WARNING: [#def100]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:1450:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1448|   
# 1449|   			if (FD_ISSET(pmv4_client_sock, &select_fdset))
# 1450|-> 				ret = process_iwpm_msg(pmv4_client_sock);
# 1451|   		}
# 1452|   

Error: CLANG_WARNING: [#def101]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:1455:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1453|   		if (pmv6_sock >= 0) {
# 1454|   			if (FD_ISSET(pmv6_sock, &select_fdset))
# 1455|-> 				ret = process_iwpm_msg(pmv6_sock);
# 1456|   
# 1457|   			if (FD_ISSET(pmv6_client_sock, &select_fdset))

Error: CLANG_WARNING: [#def102]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:1458:5: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1456|   
# 1457|   			if (FD_ISSET(pmv6_client_sock, &select_fdset))
# 1458|-> 				ret = process_iwpm_msg(pmv6_client_sock);
# 1459|   		}
# 1460|   

Error: CLANG_WARNING: [#def103]
rdma-core-51.0-build/rdma-core-51.0/iwpmd/iwarp_pm_server.c:1462:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1460|   
# 1461|   		if (FD_ISSET(netlink_sock, &select_fdset))
# 1462|-> 			ret = process_iwpm_netlink_msg(netlink_sock);
# 1463|   
# 1464|   	} while (1);

Error: CPPCHECK_WARNING: [#def104]
rdma-core-51.0-build/rdma-core-51.0/kernel-boot/rdma_rename.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def105]
rdma-core-51.0-build/rdma-core-51.0/libibmad/dump.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def106]
rdma-core-51.0-build/rdma-core-51.0/libibmad/dump.c:372:3: warning[deadcode.DeadStores]: Value stored to 'n' is never read
#  370|   
#  371|   	if (speed >> 4) {
#  372|-> 		n += snprintf(buf + n, bufsz - n, "undefined (%d)", speed);
#  373|   		return;
#  374|   	} else if (bufsz > 3)

Error: CPPCHECK_WARNING: [#def107]
rdma-core-51.0-build/rdma-core-51.0/libibmad/gs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def108]
rdma-core-51.0-build/rdma-core-51.0/libibmad/mad.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
rdma-core-51.0-build/rdma-core-51.0/libibmad/mad.c: scope_hint: In function ‘mad_encode’
rdma-core-51.0-build/rdma-core-51.0/libibmad/mad.c:132:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘drpath’
#  130|   		/* word 9 */
#  131|   		mad_set_field(buf, 0, IB_DRSMP_DRDLID_F,
#  132|-> 			      drpath->drdlid ? drpath->drdlid : 0xffff);
#  133|   		mad_set_field(buf, 0, IB_DRSMP_DRSLID_F,
#  134|   			      drpath->drslid ? drpath->drslid : 0xffff);

Error: GCC_ANALYZER_WARNING (CWE-479): [#def110]
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:42: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c: scope_hint: In function ‘report’
rdma-core-51.0-build/rdma-core-51.0/libibmad/mad.h:1711:27: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘fprintf’ from within signal handler
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.h:68:22: note: in expansion of macro ‘IBDEBUG’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:152:9: note: in expansion of macro ‘DEBUG’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:44: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:152:9: note: in expansion of macro ‘DEBUG’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.h:68:22: note: in expansion of macro ‘IBDEBUG’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:152:9: note: in expansion of macro ‘DEBUG’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibdiag_common.h:68:22: note: in expansion of macro ‘IBDEBUG’
rdma-core-51.0-build/rdma-core-51.0/infiniband-diags/ibping.c:152:9: note: in expansion of macro ‘DEBUG’
# 1709|   (int)getpid(), __func__, ## __VA_ARGS__)
# 1710|   
# 1711|-> #define IBDEBUG(fmt, ...) fprintf(stdout, "ibdebug: [%d] %s: " fmt "\n", \
# 1712|   (int)getpid(), __func__, ## __VA_ARGS__)
# 1713|   

Error: CPPCHECK_WARNING: [#def111]
rdma-core-51.0-build/rdma-core-51.0/libibmad/register.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def112]
rdma-core-51.0-build/rdma-core-51.0/libibmad/resolve.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def113]
rdma-core-51.0-build/rdma-core-51.0/libibmad/rpc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def114]
rdma-core-51.0-build/rdma-core-51.0/libibmad/rpc.c:223:3: warning[deadcode.DeadStores]: Value stored to 'len' is never read
#  221|   		rpcv1->error = 0;
#  222|   	do {
#  223|-> 		len = 0;
#  224|   		memset(sndbuf, 0, umad_size() + IB_MAD_SIZE);
#  225|   

Error: CLANG_WARNING: [#def115]
rdma-core-51.0-build/rdma-core-51.0/libibmad/rpc.c:229:8: warning[deadcode.DeadStores]: Although the value stored to 'len' is used in the enclosing expression, the value is never actually read from 'len'
#  227|   			return NULL;
#  228|   
#  229|-> 		if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf,
#  230|   				      port->class_agents[rpc->mgtclass & 0xff],
#  231|   				      len, mad_get_timeout(port, rpc->timeout),

Error: CLANG_WARNING: [#def116]
rdma-core-51.0-build/rdma-core-51.0/libibmad/rpc.c:289:7: warning[deadcode.DeadStores]: Although the value stored to 'len' is used in the enclosing expression, the value is never actually read from 'len'
#  287|   		return NULL;
#  288|   
#  289|-> 	if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf,
#  290|   			      port->class_agents[rpc->mgtclass & 0xff],
#  291|   			      len, mad_get_timeout(port, rpc->timeout),

Error: CPPCHECK_WARNING: [#def117]
rdma-core-51.0-build/rdma-core-51.0/libibmad/serv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def118]
rdma-core-51.0-build/rdma-core-51.0/libibmad/serv.c:177:7: warning[deadcode.DeadStores]: Although the value stored to 'agent' is used in the enclosing expression, the value is never actually read from 'agent'
#  175|   	int length = IB_MAD_SIZE;
#  176|   
#  177|-> 	if ((agent = umad_recv(srcport->port_id, mad, &length,
#  178|   			       mad_get_timeout(srcport, timeout))) < 0) {
#  179|   		if (!umad)

Error: CPPCHECK_WARNING: [#def119]
rdma-core-51.0-build/rdma-core-51.0/libibmad/vendor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def120]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/chassis.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def121]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc.c: scope_hint: In function ‘ibnd_find_node_dr’
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc.c:630:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc.c:52: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc.c:970:17: note: in expansion of macro ‘IBND_DEBUG’
#  628|   {
#  629|   	ibnd_port_t *rc = ibnd_find_port_dr(fabric, dr_str);
#  630|-> 	return rc->node;
#  631|   }
#  632|   

Error: CLANG_WARNING: [#def123]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc.c:639:17: warning[core.NullDereference]: Array access (from variable 'hash') results in a null pointer dereference
#  637|   	int hash_idx = HASHGUID(node->guid) % HTSZ;
#  638|   
#  639|-> 	for (tblnode = hash[hash_idx]; tblnode; tblnode = tblnode->htnext) {
#  640|   		if (tblnode == node) {
#  641|   			IBND_ERROR("Duplicate Node: Node with guid 0x%016"

Error: CLANG_WARNING: [#def124]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc.c:835:2: warning[unix.Malloc]: Attempt to free released memory
#  833|   	ibnd_destroy_fabric(&f_int->fabric);
#  834|   error_int:
#  835|-> 	free(f_int);
#  836|   	return NULL;
#  837|   }

Error: CLANG_WARNING: [#def125]
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: CPPCHECK_WARNING: [#def126]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc_cache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def127]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc_cache.c:248:2: warning[deadcode.DeadStores]: Value stored to 'offset' is never read
#  246|   
#  247|   	offset += _unmarshall64(buf + offset, &fabric_cache->from_node_guid);
#  248|-> 	offset += _unmarshall32(buf + offset, &tmp32);
#  249|   	fabric_cache->f_int->fabric.maxhops_discovered = tmp32;
#  250|   

Error: CLANG_WARNING: [#def128]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc_cache.c:350:2: warning[deadcode.DeadStores]: Value stored to 'offset' is never read
#  348|   				  IB_SMP_DATA_SIZE);
#  349|   
#  350|-> 	offset += _unmarshall8(buf + offset, &node_cache->ports_stored_count);
#  351|   
#  352|   	if (node_cache->ports_stored_count) {

Error: CLANG_WARNING: [#def129]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc_cache.c:448:2: warning[deadcode.DeadStores]: Value stored to 'offset' is never read
#  446|   	offset +=
#  447|   	    _unmarshall64(buf + offset, &port_cache->remoteport_cache_key.guid);
#  448|-> 	offset +=
#  449|   	    _unmarshall8(buf + offset,
#  450|   			 &port_cache->remoteport_cache_key.portnum);

Error: COMPILER_WARNING: [#def130]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc_cache.c: scope_hint: In function ‘_rebuild_nodes’
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc_cache.c:560:36: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#  560 |                       calloc(sizeof(*node->ports), node->numports + 1))) {
#      |                                    ^
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/ibnetdisc_cache.c:560:36: note: earlier argument should specify number of elements, later size of each element
#  558|   
#  559|   		if (!(node->ports =
#  560|-> 		      calloc(sizeof(*node->ports), node->numports + 1))) {
#  561|   			IBND_DEBUG("OOM: node->ports\n");
#  562|   			return -1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/tests/testleaks.c: scope_hint: In function ‘main’
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/tests/testleaks.c:110:32: warning[-Wanalyzer-malloc-leak]: leak of ‘from’
#  108|   			break;
#  109|   		case 'f':
#  110|-> 			from = strdup(optarg);
#  111|   			break;
#  112|   		case 'C':

Error: CLANG_WARNING: [#def132]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/tests/testleaks.c:132:2: warning[deadcode.DeadStores]: Value stored to 'argc' is never read
#  130|   		}
#  131|   	}
#  132|-> 	argc -= optind;
#  133|   	argv += optind;
#  134|   

Error: CLANG_WARNING: [#def133]
rdma-core-51.0-build/rdma-core-51.0/libibnetdisc/tests/testleaks.c:133:2: warning[deadcode.DeadStores]: Value stored to 'argv' is never read
#  131|   	}
#  132|   	argc -= optind;
#  133|-> 	argv += optind;
#  134|   
#  135|   	while (iters == -1 || iters-- > 0) {

Error: CPPCHECK_WARNING: [#def134]
rdma-core-51.0-build/rdma-core-51.0/libibumad/tests/umad_sa_mcm_rereg_test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def135]
rdma-core-51.0-build/rdma-core-51.0/libibumad/umad.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def136]
rdma-core-51.0-build/rdma-core-51.0/libibumad/umad.c:450:7: warning[deadcode.DeadStores]: Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'
#  448|   			    sizeof ca->hw_ver) < 0)
#  449|   		ca->hw_ver[0] = '\0';
#  450|-> 	if ((r = sys_read_string(dir_name, SYS_CA_TYPE, ca->ca_type,
#  451|   				 sizeof ca->ca_type)) < 0)
#  452|   		ca->ca_type[0] = '\0';

Error: CLANG_WARNING: [#def137]
rdma-core-51.0-build/rdma-core-51.0/libibumad/umad.c:470:2: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  468|   	}
#  469|   
#  470|-> 	ret = 0;
#  471|   	for (i = 0; i < r; i++) {
#  472|   		portnum = 0;

Error: CLANG_WARNING: [#def138]
rdma-core-51.0-build/rdma-core-51.0/libibumad/umad.c:1113:7: warning[deadcode.DeadStores]: Although the value stored to 'rc' is used in the enclosing expression, the value is never actually read from 'rc'
# 1111|   	VALGRIND_MAKE_MEM_DEFINED(&req, sizeof req);
# 1112|   
# 1113|-> 	if ((rc = ioctl(port_fd, IB_USER_MAD_REGISTER_AGENT2, (void *)&req)) == 0) {
# 1114|   		DEBUG("fd %d registered to use agent %d qp %d class 0x%x oui 0x%06x",
# 1115|   		      port_fd, req.id, req.qpn, req.mgmt_class, attr->oui);

Error: CLANG_WARNING: [#def139]
rdma-core-51.0-build/rdma-core-51.0/libibumad/umad.c:1141:9: warning[deadcode.DeadStores]: Although the value stored to 'rc' is used in the enclosing expression, the value is never actually read from 'rc'
# 1139|   			memcpy(req_v1.method_mask, req.method_mask, sizeof req_v1.method_mask);
# 1140|   
# 1141|-> 			if ((rc = ioctl(port_fd, IB_USER_MAD_REGISTER_AGENT,
# 1142|   					(void *)&req_v1)) == 0) {
# 1143|   				DEBUG("fd %d registered to use agent %d qp %d class 0x%x oui 0x%06x",

Error: CLANG_WARNING: [#def140]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd.c:683:8: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'i')
#  681|   		i = wr;
#  682|   		while (--wr_count)
#  683|-> 			i = i->next;
#  684|   		*bad_wr = i;
#  685|   	} else if (ret)

Error: CLANG_WARNING: [#def141]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd.c:742:8: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'i')
#  740|   		i = wr;
#  741|   		while (--wr_count)
#  742|-> 			i = i->next;
#  743|   		*bad_wr = i;
#  744|   	} else if (ret)

Error: CLANG_WARNING: [#def142]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd.c:801:8: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'i')
#  799|   		i = wr;
#  800|   		while (--wr_count)
#  801|-> 			i = i->next;
#  802|   		*bad_wr = i;
#  803|   	} else if (ret)

Error: COMPILER_WARNING (CWE-126): [#def143]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_fallback.c:296:13: warning[-Wstringop-overread]: ‘write’ reading 32 bytes from a region of size 24
#  296 |         if (write(ctx->cmd_fd, req, req_size) != req_size)
#      |             ^
rdma-core-51.0-build/rdma-core-51.0/libibverbs/kern-abi.h: scope_hint: In function ‘ibv_cmd_destroy_flow’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/kern-abi.h:216:1: note: source object ‘hdr’ of size 24
#  216 | DECLARE_CMD_EXX(IB_USER_VERBS_EX_CMD_DESTROY_FLOW, ibv_destroy_flow, ib_uverbs_destroy_flow, empty);
#      | ^
/usr/include/unistd.h:378:16: note: in a call to function ‘write’ declared with attribute ‘access (read_only, 2, 3)’
#  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
#      |                ^
#  294|   		memset(resp, 0, resp_size);
#  295|   
#  296|-> 	if (write(ctx->cmd_fd, req, req_size) != req_size)
#  297|   		return errno;
#  298|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_ioctl.c: scope_hint: In function ‘execute_ioctl’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_ioctl.c:145:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_ioctl.h:43: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_ioctl.c: scope_hint: In function ‘execute_ioctl’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_ioctl.c:135:13: note: in expansion of macro ‘unlikely’
#  143|   	cmd->hdr.reserved1 = 0;
#  144|   	cmd->hdr.reserved2 = 0;
#  145|-> 	cmd->hdr.driver_id = vctx->priv->driver_id;
#  146|   
#  147|   	if (ioctl(context->cmd_fd, RDMA_VERBS_IOCTL, &cmd->hdr))

Error: CLANG_WARNING: [#def145]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_qp.c:90:14: warning[core.NullDereference]: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'qp')
#   88|   	uint32_t create_flags = 0;
#   89|   
#   90|-> 	qp->context = context;
#   91|   
#   92|   	switch (attr_ex->qp_type) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_qp.c: scope_hint: In function ‘ibv_icmd_create_qp’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_qp.c:90:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#   88|   	uint32_t create_flags = 0;
#   89|   
#   90|-> 	qp->context = context;
#   91|   
#   92|   	switch (attr_ex->qp_type) {

Error: CLANG_WARNING: [#def147]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c:40:17: warning[core.NullDereference]: Access to field 'srq_type' results in a dereference of a null pointer (loaded from variable 'vsrq')
#   38|   		     uint32_t srq_num)
#   39|   {
#   40|-> 	vsrq->srq_type = (attr_ex->comp_mask & IBV_SRQ_INIT_ATTR_TYPE) ?
#   41|   		attr_ex->srq_type : IBV_SRQT_BASIC;
#   42|   	if (vsrq->srq_type == IBV_SRQT_XRC) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c: scope_hint: In function ‘set_vsrq’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c:40:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vsrq’
#   38|   		     uint32_t srq_num)
#   39|   {
#   40|-> 	vsrq->srq_type = (attr_ex->comp_mask & IBV_SRQ_INIT_ATTR_TYPE) ?
#   41|   		attr_ex->srq_type : IBV_SRQT_BASIC;
#   42|   	if (vsrq->srq_type == IBV_SRQT_XRC) {

Error: CLANG_WARNING: [#def149]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c:66:15: warning[core.NullDereference]: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'srq')
#   64|   	enum ibv_srq_type srq_type;
#   65|   
#   66|-> 	srq->context = pd->context;
#   67|   	pthread_mutex_init(&srq->mutex, NULL);
#   68|   	pthread_cond_init(&srq->cond, NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c: scope_hint: In function ‘ibv_icmd_create_srq’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c:66:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#   64|   	enum ibv_srq_type srq_type;
#   65|   
#   66|-> 	srq->context = pd->context;
#   67|   	pthread_mutex_init(&srq->mutex, NULL);
#   68|   	pthread_cond_init(&srq->cond, NULL);

Error: CLANG_WARNING: [#def151]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c:168:24: warning[core.NullDereference]: Access to field 'handle' results in a dereference of a null pointer (loaded from variable 'vxrcd')
#  166|   				req->max_num_tags = attr_ex->tm_cap.max_num_tags;
#  167|   			else
#  168|-> 				req->xrcd_handle = vxrcd->handle;
#  169|   
#  170|   			ret = execute_write_bufs(

Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c:168:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vxrcd’
#  166|   				req->max_num_tags = attr_ex->tm_cap.max_num_tags;
#  167|   			else
#  168|-> 				req->xrcd_handle = vxrcd->handle;
#  169|   
#  170|   			ret = execute_write_bufs(

Error: CLANG_WARNING: [#def153]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/cmd_srq.c:195:3: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  193|   	attr_ex->attr.max_sge = max_sge;
#  194|   	if (vsrq)
#  195|-> 		set_vsrq(vsrq, attr_ex, srq_num);
#  196|   
#  197|   	return 0;

Error: CLANG_WARNING: [#def154]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/compat-1_0.c:339:37: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'w')
#  337|   		for (real_wr = head_wr, w = wr;
#  338|   		     real_wr;
#  339|-> 		     real_wr = real_wr->next, w = w->next)
#  340|   			if (real_wr == real_bad_wr) {
#  341|   				*bad_wr = w;

Error: CLANG_WARNING: [#def155]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/compat-1_0.c:420:37: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'w')
#  418|   		for (real_wr = head_wr, w = wr;
#  419|   		     real_wr;
#  420|-> 		     real_wr = real_wr->next, w = w->next)
#  421|   			if (real_wr == real_bad_wr) {
#  422|   				*bad_wr = w;

Error: CLANG_WARNING: [#def156]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/compat-1_0.c:457:37: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'w')
#  455|   		for (real_wr = head_wr, w = wr;
#  456|   		     real_wr;
#  457|-> 		     real_wr = real_wr->next, w = w->next)
#  458|   			if (real_wr == real_bad_wr) {
#  459|   				*bad_wr = w;

Error: CLANG_WARNING: [#def157]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/dynamic_driver.c:71:10: warning[deadcode.DeadStores]: Although the value stored to 'len' is used in the enclosing expression, the value is never actually read from 'len'
#   69|   	}
#   70|   
#   71|-> 	while ((len = getline(&line, &buflen, conf)) != -1) {
#   72|   		config = line + strspn(line, "\t ");
#   73|   		if (config[0] == '\n' || config[0] == '#')

Error: GCC_ANALYZER_WARNING (CWE-465): [#def158]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/dynamic_driver.c: scope_hint: In function ‘read_config_file’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/dynamic_driver.c:78:50: warning[-Wanalyzer-deref-before-check]: check of ‘config’ for NULL after already dereferencing it
rdma-core-51.0-build/rdma-core-51.0/buildlib/fixup-include/sys-stat.h:4: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/dynamic_driver.c:41: included_from: Included from here.
#   76|   		field = strsep(&config, "\n\t ");
#   77|   
#   78|-> 		if (strcmp(field, "driver") == 0 && config != NULL) {
#   79|   			struct ibv_driver_name *driver_name;
#   80|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/devinfo.c: scope_hint: In function ‘main’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/devinfo.c:713:38: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_devname’
#  711|   		switch (c) {
#  712|   		case 'd':
#  713|-> 			ib_devname = strdup(optarg);
#  714|   			break;
#  715|   

Error: CLANG_WARNING: [#def160]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/devinfo.c:750:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'ib_devname'
#  748|   
#  749|   		default:
#  750|-> 			usage(argv[0]);
#  751|   			return -1;
#  752|   		}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/rc_pingpong.c: scope_hint: In function ‘main’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/rc_pingpong.c:372:19: warning[-Wanalyzer-malloc-leak]: leak of ‘pp_init_ctx(ib_dev, (int)size, (int)rx_depth,  ib_port,  use_event)’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/rc_pingpong.c:38: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/pingpong.h:36: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/rc_pingpong.c:49: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h:2594:26: note: in definition of macro ‘ibv_reg_mr’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/rc_pingpong.c: scope_hint: In function ‘main’
#  370|   		ctx->channel = NULL;
#  371|   
#  372|-> 	ctx->pd = ibv_alloc_pd(ctx->context);
#  373|   	if (!ctx->pd) {
#  374|   		fprintf(stderr, "Couldn't allocate PD\n");

Error: CLANG_WARNING: [#def162]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/rc_pingpong.c:723:8: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
#  721|   		++(*rcnt);
#  722|   		if (use_ts) {
#  723|-> 			if (ts->last_comp_with_ts) {
#  724|   				uint64_t delta;
#  725|   

Error: CLANG_WARNING: [#def163]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/rc_pingpong.c:733:36: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  731|   						completion_timestamp + 1;
#  732|   
#  733|-> 				ts->comp_recv_max_time_delta = max(ts->comp_recv_max_time_delta, delta);
#  734|   				ts->comp_recv_min_time_delta = min(ts->comp_recv_min_time_delta, delta);
#  735|   				ts->comp_recv_total_time_delta += delta;

Error: CLANG_WARNING: [#def164]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/rc_pingpong.c:991:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'ctx'
#  989|   	routs = pp_post_recv(ctx, ctx->rx_depth);
#  990|   	if (routs < ctx->rx_depth) {
#  991|-> 		fprintf(stderr, "Couldn't post receive (%d)\n", routs);
#  992|   		return 1;
#  993|   	}

Error: CLANG_WARNING: [#def165]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/srq_pingpong.c:909:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'rem_dest'
#  907|   
#  908|   	if (gettimeofday(&start, NULL)) {
#  909|-> 		perror("gettimeofday");
#  910|   		return 1;
#  911|   	}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/uc_pingpong.c: scope_hint: In function ‘main’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/uc_pingpong.c:338:19: warning[-Wanalyzer-malloc-leak]: leak of ‘pp_init_ctx(ib_dev, (int)size, (int)rx_depth,  ib_port,  use_event)’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/pingpong.h:36: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/uc_pingpong.c:48: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h:2594:26: note: in definition of macro ‘ibv_reg_mr’
#  336|   		ctx->channel = NULL;
#  337|   
#  338|-> 	ctx->pd = ibv_alloc_pd(ctx->context);
#  339|   	if (!ctx->pd) {
#  340|   		fprintf(stderr, "Couldn't allocate PD\n");

Error: CLANG_WARNING: [#def167]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/uc_pingpong.c:682:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'ctx'
#  680|   	routs = pp_post_recv(ctx, ctx->rx_depth);
#  681|   	if (routs < ctx->rx_depth) {
#  682|-> 		fprintf(stderr, "Couldn't post receive (%d)\n", routs);
#  683|   		return 1;
#  684|   	}

Error: CLANG_WARNING: [#def168]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/ud_pingpong.c:695:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'ctx'
#  693|   	routs = pp_post_recv(ctx, ctx->rx_depth);
#  694|   	if (routs < ctx->rx_depth) {
#  695|-> 		fprintf(stderr, "Couldn't post receive (%d)\n", routs);
#  696|   		return 1;
#  697|   	}

Error: CLANG_WARNING: [#def169]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/init.c:540:2: warning[unix.Malloc]: Use of memory after it is freed
#  538|   	struct verbs_device *vdev;
#  539|   
#  540|-> 	list_for_each_safe(sysfs_list, sysfs_dev, tmp, entry) {
#  541|   		vdev = try_drivers(sysfs_dev);
#  542|   		if (vdev) {

Error: CLANG_WARNING: [#def170]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/init.c:580:3: warning[unix.Malloc]: Use of memory after it is freed
#  578|   		struct verbs_sysfs_dev *old_sysfs = NULL;
#  579|   
#  580|-> 		list_for_each(&sysfs_list, sysfs_dev, entry) {
#  581|   			if (same_sysfs_dev(vdev->sysfs, sysfs_dev)) {
#  582|   				old_sysfs = sysfs_dev;

Error: CLANG_WARNING: [#def171]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/memory.c:366:6: warning[core.NullDereference]: Access to field 'start' results in a dereference of a null pointer (loaded from variable 'parent')
#  364|   	}
#  365|   
#  366|-> 	if (parent->start < new->start)
#  367|   		parent->right = new;
#  368|   	else

Error: CLANG_WARNING: [#def172]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/memory.c:441:8: warning[core.NullDereference]: Access to field 'color' results in a dereference of a null pointer (loaded from variable 'sib')
#  439|   			sib = parent->right;
#  440|   
#  441|-> 			if (sib->color == IBV_RED) {
#  442|   				parent->color = IBV_RED;
#  443|   				sib->color    = IBV_BLACK;

Error: CLANG_WARNING: [#def173]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/memory.c:506:16: warning[unix.Malloc]: Use of memory after it is freed
#  504|   
#  505|   	if (child)
#  506|-> 		child->color = IBV_BLACK;
#  507|   }
#  508|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/memory.c: scope_hint: In function ‘get_start_node’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/memory.c:559:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  557|   
#  558|   	node = __mm_find_start(start, end);
#  559|-> 	if (node->start < start)
#  560|   		node = split_range(node, start);
#  561|   	else {

Error: CLANG_WARNING: [#def175]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/memory.c:706:4: warning[deadcode.DeadStores]: Value stored to 'node' is never read
#  704|   		tmp = __mm_prev(node);
#  705|   		if (tmp && node->refcnt == tmp->refcnt)
#  706|-> 			node = merge_ranges(node, tmp);
#  707|   	}
#  708|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def176]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/sysfs.c: scope_hint: In function ‘ibv_get_sysfs_path’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/sysfs.c:67:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dup’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#   65|   
#   66|   		sysfs_path = dup = strndup(env, IBV_SYSFS_PATH_MAX);
#   67|-> 		len = strlen(dup);
#   68|   		while (len > 0 && dup[len - 1] == '/') {
#   69|   			--len;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h:2212:16: warning[-Wanalyzer-malloc-leak]: leak of ‘pp_init_ctx(ib_dev, (int)size, (int)rx_depth,  ib_port,  use_event)’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/examples/ud_pingpong.c: scope_hint: In function ‘main’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h:2594:26: note: in definition of macro ‘ibv_reg_mr’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h:2404:38: note: in expansion of macro ‘verbs_get_ctx_op’
# 2210|   static inline struct verbs_context *verbs_get_ctx(struct ibv_context *ctx)
# 2211|   {
# 2212|-> 	if (ctx->abi_compat != __VERBS_ABI_IS_EXTENDED)
# 2213|   		return NULL;
# 2214|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rdma_cma.h:39: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/librdmacm/cma.h:45: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/librdmacm/cma.c:52: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h: scope_hint: In function ‘ibv_close_xrcd’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h:2562:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h: scope_hint: In function ‘ibv_close_xrcd’
# 2560|   {
# 2561|   	struct verbs_context *vctx = verbs_get_ctx(xrcd->context);
# 2562|-> 	return vctx->close_xrcd(xrcd);
# 2563|   }
# 2564|   

Error: CLANG_WARNING: [#def179]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/acm.c:295:3: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  293|   	rai->ai_route = calloc(path_cnt, sizeof(*path_data));
#  294|   	if (rai->ai_route) {
#  295|-> 		memcpy(rai->ai_route, path_data, path_cnt * sizeof(*path_data));
#  296|   		rai->ai_route_len = path_cnt * sizeof(*path_data);
#  297|   	}

Error: GCC_ANALYZER_WARNING (CWE-688): [#def180]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/acm.c: scope_hint: In function ‘ucma_ib_save_resp’
rdma-core-51.0-build/rdma-core-51.0/librdmacm/acm.c:295:17: warning[-Wanalyzer-null-argument]: use of NULL ‘path_data’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  293|   	rai->ai_route = calloc(path_cnt, sizeof(*path_data));
#  294|   	if (rai->ai_route) {
#  295|-> 		memcpy(rai->ai_route, path_data, path_cnt * sizeof(*path_data));
#  296|   		rai->ai_route_len = path_cnt * sizeof(*path_data);
#  297|   	}

Error: CLANG_WARNING: [#def181]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/cma.c:368:4: warning[unix.Malloc]: Use of memory after it is freed
#  366|   			struct cma_device *c, *t;
#  367|   
#  368|-> 			list_for_each_safe(&cma_dev_list, c, t, entry) {
#  369|   				if (c->dev == dev_list[i])
#  370|   					remove_cma_dev(c);

Error: CLANG_WARNING: [#def182]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/cma.c:551:19: warning[unix.Malloc]: Use of memory after it is freed
#  549|   	list_for_each_safe(&cma_dev_list, c, tmp, entry) {
#  550|   		for (i = 0; list[i]; i++) {
#  551|-> 			if (list[i] != c->verbs)
#  552|   				/*
#  553|   				 * Skip devices that were added after

Error: COMPILER_WARNING: [#def183]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/cmtime.c: scope_hint: In function ‘alloc_nodes’
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/cmtime.c:358:31: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
#  358 |         nodes = calloc(sizeof *nodes, connections);
#      |                               ^
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/cmtime.c:358:31: note: earlier argument should specify number of elements, later size of each element
#  356|   	int ret, i;
#  357|   
#  358|-> 	nodes = calloc(sizeof *nodes, connections);
#  359|   	if (!nodes)
#  360|   		return -ENOMEM;

Error: CLANG_WARNING: [#def184]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/rdma_xserver.c:67:10: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#   65|   	if (id->srq) {
#   66|   		ibv_get_srq_num(id->srq, &tmp_srqn);
#   67|-> 		srqn = htobe32(tmp_srqn);
#   68|   	}
#   69|   	return ret;

Error: CLANG_WARNING: [#def185]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/riostream.c:371:17: warning[core.NullDereference]: Access to field 'ai_family' results in a dereference of an undefined pointer value (loaded from variable 'ai')
#  369|   
#  370|   	lrs = rai ? rs_socket(rai->ai_family, SOCK_STREAM, 0) :
#  371|-> 		    rs_socket(ai->ai_family, SOCK_STREAM, 0);
#  372|   	if (lrs < 0) {
#  373|   		ret = lrs;

Error: CLANG_WARNING: [#def186]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/riostream.c:451:16: warning[core.NullDereference]: Access to field 'ai_family' results in a dereference of an undefined pointer value (loaded from variable 'ai')
#  449|   
#  450|   	rs = rai ? rs_socket(rai->ai_family, SOCK_STREAM, 0) :
#  451|-> 		   rs_socket(ai->ai_family, SOCK_STREAM, 0);
#  452|   	if (rs < 0) {
#  453|   		ret = rs;

Error: CLANG_WARNING: [#def187]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/rping.c:290:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  288|   
#  289|   	while ((ret = ibv_poll_cq(cb->cq, 1, &wc)) == 1) {
#  290|-> 		ret = 0;
#  291|   
#  292|   		if (wc.status) {

Error: CLANG_WARNING: [#def188]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/rping.c:807:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  805|   
#  806|   		/* Wait for completion */
#  807|-> 		ret = sem_wait(&cb->sem);
#  808|   		if (cb->state != RDMA_WRITE_COMPLETE) {
#  809|   			fprintf(stderr, "wait for RDMA_WRITE_COMPLETE state %d\n",

Error: CLANG_WARNING: [#def189]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/rstream.c:335:17: warning[core.NullDereference]: Access to field 'ai_family' results in a dereference of an undefined pointer value (loaded from variable 'ai')
#  333|   
#  334|   	lrs = rai ? rs_socket(rai->ai_family, SOCK_STREAM, 0) :
#  335|-> 		    rs_socket(ai->ai_family, SOCK_STREAM, 0);
#  336|   	if (lrs < 0) {
#  337|   		ret = lrs;

Error: CLANG_WARNING: [#def190]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/rstream.c:433:16: warning[core.NullDereference]: Access to field 'ai_family' results in a dereference of a null pointer (loaded from variable 'ai')
#  431|   
#  432|   	rs = rai ? rs_socket(rai->ai_family, SOCK_STREAM, 0) :
#  433|-> 		   rs_socket(ai->ai_family, SOCK_STREAM, 0);
#  434|   	if (rs < 0) {
#  435|   		ret = rs;

Error: CLANG_WARNING: [#def191]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/rstream.c:442:27: warning[core.NullDereference]: Access to field 'ai_src_addr' results in a dereference of a null pointer (loaded from variable 'rai_src')
#  440|   
#  441|   	if (src_addr) {
#  442|-> 		ret = rai ? rs_bind(rs, rai_src->ai_src_addr, rai_src->ai_src_len) :
#  443|   			    rs_bind(rs, ai_src->ai_addr, ai_src->ai_addrlen);
#  444|   		if (ret) {

Error: CLANG_WARNING: [#def192]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/examples/rstream.c:443:20: warning[core.NullDereference]: Access to field 'ai_addr' results in a dereference of a null pointer (loaded from variable 'ai_src')
#  441|   	if (src_addr) {
#  442|   		ret = rai ? rs_bind(rs, rai_src->ai_src_addr, rai_src->ai_src_len) :
#  443|-> 			    rs_bind(rs, ai_src->ai_addr, ai_src->ai_addrlen);
#  444|   		if (ret) {
#  445|   			perror("rbind");

Error: GCC_ANALYZER_WARNING (CWE-131): [#def193]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rsocket.c: scope_hint: In function ‘rs_svc_grow_sets’
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rsocket.c:4232:18: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 4230|   
# 4231|   	free(svc->rss);
# 4232|-> 	svc->rss = rss;
# 4233|   	svc->contexts = contexts;
# 4234|   	return 0;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def194]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rsocket.c: scope_hint: In function ‘udp_svc_forward’
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rsocket.c:4417:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&hdr’
# 4415|   
# 4416|   	ds_format_hdr(&hdr, src);
# 4417|-> 	memcpy((void *) msg, &hdr, hdr.length);
# 4418|   	memcpy((void *) msg + hdr.length, buf, len);
# 4419|   	sge.addr = (uintptr_t) msg;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def195]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rsocket.c: scope_hint: In function ‘udp_svc_process_rs’
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rsocket.c:4458:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dest’
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rsocket.c:60: included_from: Included from here.
# 4456|   		fastlock_acquire(&rs->slock);
# 4457|   		cur_dest = rs->conn_dest;
# 4458|-> 		rs->conn_dest = dest;
# 4459|   		ds_send_udp(rs, NULL, 0, 0, RS_OP_CTRL);
# 4460|   		rs->conn_dest = cur_dest;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def196]
rdma-core-51.0-build/rdma-core-51.0/librdmacm/rsocket.c:4464:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dest’
# 4462|   	}
# 4463|   
# 4464|-> 	if (!dest->ah || (dest->qpn != qpn))
# 4465|   		udp_svc_create_ah(rs, dest, qpn);
# 4466|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
rdma-core-51.0-build/rdma-core-51.0/providers/bnxt_re/main.c: scope_hint: In function ‘bnxt_re_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/bnxt_re/main.c:306:16: warning[-Wanalyzer-malloc-leak]: leak of ‘rdev’
#  304|   		return NULL;
#  305|   
#  306|-> 	return &rdev->vdev;
#  307|   }
#  308|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def198]
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/cq.c: scope_hint: In function ‘insert_recv_cqe’
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/cq.c:59:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&cqe’
/usr/include/sys/types.h:176: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/verbs.h:46: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/libibverbs/driver.h:40: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/libcxgb4.h:42: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/cq.c:40: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/cq.c: scope_hint: In function ‘insert_recv_cqe’
#   57|   		cqe.b64.u.srcqe.abs_rqe_idx = htobe32(srqidx);
#   58|   
#   59|-> 	memcpy(Q_ENTRY(cq->sw_queue, cq->sw_pidx), &cqe, CQE_SIZE(&cqe));
#   60|   	t4_swcq_produce(cq);
#   61|   }

Error: CLANG_WARNING: [#def199]
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/cq.c:216:6: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  214|   	PDBG("%s  cqid 0x%x\n", __func__, chp->cq.cqid);
#  215|   	ret = t4_next_hw_cqe(&chp->cq, &hw_cqe);
#  216|-> 	com = &hw_cqe->com;
#  217|   
#  218|   	/*

Error: CLANG_WARNING: [#def200]
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/cq.c:745:15: warning[core.NullDereference]: Dereference of null pointer
#  743|   	INC_STAT(cqe);
#  744|   	wc->wr_id = cookie;
#  745|-> 	wc->qp_num = qhp->wq.sq.qid;
#  746|   	wc->vendor_err = CQE_STATUS(com);
#  747|   	wc->wc_flags = 0;

Error: CLANG_WARNING: [#def201]
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c:129:3: warning[deadcode.DeadStores]: Value stored to 'srcp' is never read
#  127|   		memcpy(dstp, srcp, len);
#  128|   		dstp += len;
#  129|-> 		srcp += len;
#  130|   	}
#  131|   	len = ROUND_UP(plen + 8, 16) - (plen + 8);

Error: CLANG_WARNING: [#def202]
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c:604:3: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
#  602|   	}
#  603|   	if (t4_wq_db_enabled(&qhp->wq)) {
#  604|-> 		t4_ring_sq_db(&qhp->wq, idx, dev_is_t4(qhp->rhp),
#  605|   			      len16, wqe);
#  606|   	} else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def203]
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c: scope_hint: In function ‘c4iw_post_send’
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c:604:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘len16’
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c:39: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/util/compiler.h:18:30: note: in definition of macro ‘uninitialized_var’
rdma-core-51.0-build/rdma-core-51.0/util/compiler.h:18:30: note: in definition of macro ‘uninitialized_var’
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c: scope_hint: In function ‘c4iw_post_send’
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c: scope_hint: In function ‘c4iw_post_send’
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c: scope_hint: In function ‘c4iw_post_send’
#  602|   	}
#  603|   	if (t4_wq_db_enabled(&qhp->wq)) {
#  604|-> 		t4_ring_sq_db(&qhp->wq, idx, dev_is_t4(qhp->rhp),
#  605|   			      len16, wqe);
#  606|   	} else

Error: CLANG_WARNING: [#def204]
rdma-core-51.0-build/rdma-core-51.0/providers/cxgb4/qp.c:759:3: warning[core.CallAndMessage]: 5th function call argument is an uninitialized value
#  757|   	}
#  758|   	if (t4_wq_db_enabled(&qhp->wq))
#  759|-> 		t4_ring_rq_db(&qhp->wq, idx, dev_is_t4(qhp->rhp),
#  760|   			      len16, wqe);
#  761|   	else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
rdma-core-51.0-build/rdma-core-51.0/providers/efa/efa.c: scope_hint: In function ‘efa_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/efa/efa.c:127:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  125|   	dev->pg_sz = sysconf(_SC_PAGESIZE);
#  126|   
#  127|-> 	return &dev->vdev;
#  128|   }
#  129|   

Error: CLANG_WARNING: [#def206]
rdma-core-51.0-build/rdma-core-51.0/providers/efa/verbs.c:1340:6: warning[core.NullDereference]: Access to field 'driver_qp_type' results in a dereference of a null pointer (loaded from variable 'efa_attr')
# 1338|   
# 1339|   	if (attr->qp_type == IBV_QPT_DRIVER &&
# 1340|-> 	    efa_attr->driver_qp_type != EFADV_QP_DRIVER_TYPE_SRD) {
# 1341|   		verbs_err(&ctx->ibvctx, "Driver QP type must be SRD\n");
# 1342|   		return EOPNOTSUPP;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
rdma-core-51.0-build/rdma-core-51.0/providers/efa/verbs.c: scope_hint: In function ‘efa_check_qp_attr’
rdma-core-51.0-build/rdma-core-51.0/providers/efa/verbs.c:1340:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘efa_attr’
# 1338|   
# 1339|   	if (attr->qp_type == IBV_QPT_DRIVER &&
# 1340|-> 	    efa_attr->driver_qp_type != EFADV_QP_DRIVER_TYPE_SRD) {
# 1341|   		verbs_err(&ctx->ibvctx, "Driver QP type must be SRD\n");
# 1342|   		return EOPNOTSUPP;

Error: CLANG_WARNING: [#def208]
rdma-core-51.0-build/rdma-core-51.0/providers/efa/verbs.c:1465:24: warning[core.NullDereference]: Access to field 'driver_qp_type' results in a dereference of a null pointer (loaded from variable 'efa_attr')
# 1463|   		sizeof(struct efa_io_tx_wqe);
# 1464|   	if (attr->qp_type == IBV_QPT_DRIVER)
# 1465|-> 		req.driver_qp_type = efa_attr->driver_qp_type;
# 1466|   
# 1467|   	err = ibv_cmd_create_qp_ex(ibvctx, &qp->verbs_qp,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
rdma-core-51.0-build/rdma-core-51.0/providers/erdma/erdma.c: scope_hint: In function ‘erdma_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/erdma/erdma.c:109:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  107|   		return NULL;
#  108|   
#  109|-> 	return &dev->ibv_dev;
#  110|   }
#  111|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
rdma-core-51.0-build/rdma-core-51.0/providers/hfi1verbs/hfiverbs.c: scope_hint: In function ‘hfi1_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/hfi1verbs/hfiverbs.c:200:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  198|   	dev->abi_version = sysfs_dev->abi_ver;
#  199|   
#  200|-> 	return &dev->ibv_dev;
#  201|   }
#  202|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
rdma-core-51.0-build/rdma-core-51.0/providers/hns/hns_roce_u.c: scope_hint: In function ‘hns_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/hns/hns_roce_u.c:219:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  217|   	dev->hw_version = dev->u_hw->hw_version;
#  218|   	dev->page_size = sysconf(_SC_PAGESIZE);
#  219|-> 	return &dev->ibv_dev;
#  220|   }
#  221|   

Error: CLANG_WARNING: [#def212]
rdma-core-51.0-build/rdma-core-51.0/providers/hns/hns_roce_u_hw_v2.c:1724:2: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
# 1722|   			  struct hns_roce_srq *srq)
# 1723|   {
# 1724|-> 	hr_reg_write(db, DB_TAG, srq->srqn);
# 1725|   	hr_reg_write(db, DB_CMD, HNS_ROCE_V2_SRQ_DB);
# 1726|   	hr_reg_write(db, DB_PI, srq->idx_que.head);

Error: CLANG_WARNING: [#def213]
rdma-core-51.0-build/rdma-core-51.0/providers/hns/hns_roce_u_verbs.c:935:7: warning[unix.Malloc]: Use of memory after it is freed
#  933|   {
#  934|   	if (rinl_buf->wqe_list) {
#  935|-> 		if (rinl_buf->wqe_list[0].sg_list) {
#  936|   			free(rinl_buf->wqe_list[0].sg_list);
#  937|   			rinl_buf->wqe_list[0].sg_list = NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
rdma-core-51.0-build/rdma-core-51.0/providers/ipathverbs/ipathverbs.c: scope_hint: In function ‘ipath_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/ipathverbs/ipathverbs.c:198:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  196|   	dev->abi_version = sysfs_dev->abi_ver;
#  197|   
#  198|-> 	return &dev->ibv_dev;
#  199|   }
#  200|   

Error: CLANG_WARNING: [#def215]
rdma-core-51.0-build/rdma-core-51.0/providers/irdma/uk.c:6: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/irdma/defs.h:309:29: warning[core.NullDereference]: Array access (from variable 'wqe_words') results in a null pointer dereference
#  307|   static inline void set_32bit_val(__le32 *wqe_words, __u32 byte_index, __u32 val)
#  308|   {
#  309|-> 	wqe_words[byte_index >> 2] = htole32(val);
#  310|   }
#  311|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
rdma-core-51.0-build/rdma-core-51.0/providers/irdma/umain.c: scope_hint: In function ‘irdma_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/irdma/umain.c:235:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  233|   		return NULL;
#  234|   
#  235|-> 	return &dev->ibv_dev;
#  236|   }
#  237|   

Error: CLANG_WARNING: [#def217]
rdma-core-51.0-build/rdma-core-51.0/providers/irdma/uverbs.c:479:2: warning[unix.Malloc]: Use of memory after it is freed
#  477|   	}
#  478|   err_dereg_mr:
#  479|-> 	irdma_free_hw_buf(info.cq_base, total_size);
#  480|   err_cq_base:
#  481|   	pthread_spin_destroy(&iwucq->lock);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
rdma-core-51.0-build/rdma-core-51.0/providers/mana/mana.c: scope_hint: In function ‘mana_alloc_parent_domain’
rdma-core-51.0-build/rdma-core-51.0/providers/mana/mana.c:124:16: warning[-Wanalyzer-malloc-leak]: leak of ‘mparent_domain’
rdma-core-51.0-build/rdma-core-51.0/providers/mana/mana.c: scope_hint: In function ‘mana_alloc_parent_domain’
#  122|   		mparent_domain->pd_context = attr->pd_context;
#  123|   
#  124|-> 	return &mparent_domain->mpd.ibv_pd;
#  125|   }
#  126|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
rdma-core-51.0-build/rdma-core-51.0/providers/mana/mana.c: scope_hint: In function ‘mana_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/mana/mana.c:347:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  345|   		return NULL;
#  346|   
#  347|-> 	return &dev->verbs_dev;
#  348|   }
#  349|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx4/mlx4.c: scope_hint: In function ‘mlx4_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx4/mlx4.c:265:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  263|   	dev->abi_version = sysfs_dev->abi_ver;
#  264|   
#  265|-> 	return &dev->verbs_dev;
#  266|   }
#  267|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dbrec.c: scope_hint: In function ‘mlx5_alloc_dbrec’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dbrec.c:97:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#   95|   		struct mlx5_parent_domain *mparent_domain = to_mparent_domain(pd);
#   96|   
#   97|-> 		db = mparent_domain->alloc(&mparent_domain->mpd.ibv_pd,
#   98|   				   mparent_domain->pd_context, 8, 8,
#   99|   				   MLX5DV_RES_TYPE_DBR);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dbrec.c: scope_hint: In function ‘mlx5_free_db’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dbrec.c:153:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  151|   		struct mlx5_parent_domain *mparent_domain = to_mparent_domain(pd);
#  152|   
#  153|-> 		mparent_domain->free(&mparent_domain->mpd.ibv_pd,
#  154|   				     mparent_domain->pd_context,
#  155|   				     db,

Error: CLANG_WARNING: [#def223]
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: [#def224]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_arg.c:40:2: warning[deadcode.DeadStores]: Value stored to 'object_range' is never read
#   38|   	int i;
#   39|   
#   40|-> 	object_range =
#   41|   		pool->dmn->info.caps.log_header_modify_argument_granularity;
#   42|   

Error: CLANG_WARNING: [#def225]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_arg.c:71:13: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'struct dr_arg_obj', which is incompatible with sizeof operand type 'struct dr_arg_pool'
#   69|   
#   70|   	for (i = 0; i < num_of_objects; i++) {
#   71|-> 		arg_obj = calloc(1, sizeof(struct dr_arg_pool));
#   72|   		if (!arg_obj) {
#   73|   			errno = ENOMEM;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_arg.c: scope_hint: In function ‘dr_arg_pool_alloc_objs’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_arg.c:71:27: warning[-Wanalyzer-malloc-leak]: leak of ‘arg_obj’
#   69|   
#   70|   	for (i = 0; i < num_of_objects; i++) {
#   71|-> 		arg_obj = calloc(1, sizeof(struct dr_arg_pool));
#   72|   		if (!arg_obj) {
#   73|   			errno = ENOMEM;

Error: CLANG_WARNING: [#def227]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_buddy.c:66:16: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'unsigned long *', which is incompatible with sizeof operand type 'long *'
#   64|   	list_head_init(&buddy->hot_list);
#   65|   
#   66|-> 	buddy->bits = calloc(buddy->max_order + 1, sizeof(long *));
#   67|   	if (!buddy->bits) {
#   68|   		errno = ENOMEM;

Error: CLANG_WARNING: [#def228]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_buddy.c:76:19: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'unsigned long *', which is incompatible with sizeof operand type 'long *'
#   74|   		goto err_out_free_bits;
#   75|   
#   76|-> 	buddy->set_bit = calloc(buddy->max_order + 1, sizeof(long *));
#   77|   	if (!buddy->set_bit)
#   78|   		goto err_out_free_num_free;

Error: CLANG_WARNING: [#def229]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_dbg.c:414:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  412|   	if (criteria & DR_MATCHER_CRITERIA_MISC3) {
#  413|   		dump_hex_print(dump, (char *)&mask->misc3, sizeof(mask->misc3));
#  414|-> 		ret = fprintf(f, "%s,", dump);
#  415|   	} else {
#  416|   		ret = fprintf(f, ",");

Error: CLANG_WARNING: [#def230]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_dbg.c:416:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  414|   		ret = fprintf(f, "%s,", dump);
#  415|   	} else {
#  416|-> 		ret = fprintf(f, ",");
#  417|   	}
#  418|   

Error: CLANG_WARNING: [#def231]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_dbg.c:421:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  419|   	if (criteria & DR_MATCHER_CRITERIA_MISC4) {
#  420|   		dump_hex_print(dump, (char *)&mask->misc4, sizeof(mask->misc4));
#  421|-> 		ret = fprintf(f, "%s,", dump);
#  422|   	} else {
#  423|   		ret = fprintf(f, ",");

Error: CLANG_WARNING: [#def232]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_dbg.c:423:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  421|   		ret = fprintf(f, "%s,", dump);
#  422|   	} else {
#  423|-> 		ret = fprintf(f, ",");
#  424|   	}
#  425|   

Error: CLANG_WARNING: [#def233]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_matcher.c:704:3: warning[deadcode.DeadStores]: Value stored to 'idx' is never read
#  702|   
#  703|   		memset(sb, 0, sizeof(*sb));
#  704|-> 		idx = 0;
#  705|   	}
#  706|   

Error: CLANG_WARNING: [#def234]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_matcher.c:1003:4: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1001|   	if (matcher->match_criteria & DR_MATCHER_CRITERIA_MISC) {
# 1002|   		if (dr_mask_is_ib_l4_set(&mask.misc))
# 1003|-> 			dr_ste_build_ib_l4(ste_ctx, &sb[idx++], &mask,
# 1004|   					   inner, rx);
# 1005|   	}

Error: CLANG_WARNING: [#def235]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_matcher.c:1322:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1320|   			dr_dbg(dmn, "Match param mask contains unsupported parameters\n");
# 1321|   			errno = EOPNOTSUPP;
# 1322|-> 			ret = errno;
# 1323|   		}
# 1324|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def236]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_append_to_miss_list’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:58:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_append_to_miss_list’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_append_to_miss_list’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:5: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5dv_dr.h:36: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_append_to_miss_list’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:768:9: note: in expansion of macro ‘list_for_each_safe_off_dir_’
rdma-core-51.0-build/rdma-core-51.0/ccan/list.h:582:9: note: in expansion of macro ‘list_for_each_safe_off’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:341:9: note: in expansion of macro ‘list_for_each_safe’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:49:20: note: in expansion of macro ‘list_tail’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_append_to_miss_list’
#   56|   	}
#   57|   
#   58|-> 	dr_ste_set_miss_addr(ste_ctx,
#   59|   			     last_ste->hw_ste,
#   60|   			     dr_ste_get_icm_addr(new_last_ste));

Error: CLANG_WARNING: [#def237]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:791:24: warning[core.NullDereference]: Access to field 'next_htbl' results in a dereference of a null pointer (loaded from variable 'last_ste')
#  789|   
#  790|   			action_ste->htbl->pointing_ste = last_ste;
#  791|-> 			last_ste->next_htbl = action_ste->htbl;
#  792|   			last_ste = action_ste;
#  793|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_handle_cross_action_stes’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:791:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_handle_cross_action_stes’
#  789|   
#  790|   			action_ste->htbl->pointing_ste = last_ste;
#  791|-> 			last_ste->next_htbl = action_ste->htbl;
#  792|   			last_ste = action_ste;
#  793|   

Error: CLANG_WARNING: [#def239]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:811:24: warning[core.NullDereference]: Access to field 'next_htbl' results in a dereference of a null pointer (loaded from variable 'last_ste')
#  809|   			/* Connect last ste to cross_dmn_action_ste */
#  810|   			cross_dmn_action_ste->htbl->pointing_ste = last_ste;
#  811|-> 			last_ste->next_htbl = cross_dmn_action_ste->htbl;
#  812|   			dr_ste_set_hit_addr_by_next_htbl(dmn->ste_ctx,
#  813|   							 prev_hw_ste,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:811:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
#  809|   			/* Connect last ste to cross_dmn_action_ste */
#  810|   			cross_dmn_action_ste->htbl->pointing_ste = last_ste;
#  811|-> 			last_ste->next_htbl = cross_dmn_action_ste->htbl;
#  812|   			dr_ste_set_hit_addr_by_next_htbl(dmn->ste_ctx,
#  813|   							 prev_hw_ste,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def241]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:837:50: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cross_dmn_rule_ste’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_handle_cross_action_stes’
#  835|   							      send_ste_list, false);
#  836|   		} else {
#  837|-> 			memcpy(cross_dmn_rule_ste->hw_ste,
#  838|   			       curr_hw_ste,
#  839|   			       DR_STE_SIZE_REDUCED);

Error: CLANG_WARNING: [#def242]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:848:22: warning[core.NullDereference]: Access to field 'next_htbl' results in a dereference of a null pointer (loaded from variable 'last_ste')
#  846|   	}
#  847|   
#  848|-> 	last_ste->next_htbl = NULL;
#  849|   
#  850|   	return 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def243]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:848:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
#  846|   	}
#  847|   
#  848|-> 	last_ste->next_htbl = NULL;
#  849|   
#  850|   	return 0;

Error: CLANG_WARNING: [#def244]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:900:23: warning[core.NullDereference]: Access to field 'next_htbl' results in a dereference of a null pointer (loaded from variable 'last_ste')
#  898|   	 */
#  899|   	if (num_of_builders == new_hw_ste_arr_sz) {
#  900|-> 		last_ste->next_htbl = NULL;
#  901|   		return 0;
#  902|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_handle_regular_action_stes’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:900:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
#  898|   	 */
#  899|   	if (num_of_builders == new_hw_ste_arr_sz) {
#  900|-> 		last_ste->next_htbl = NULL;
#  901|   		return 0;
#  902|   	}

Error: CLANG_WARNING: [#def246]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:916:23: warning[core.NullDereference]: Access to field 'next_htbl' results in a dereference of a null pointer (loaded from variable 'last_ste')
#  914|   
#  915|   		action_ste->htbl->pointing_ste = last_ste;
#  916|-> 		last_ste->next_htbl = action_ste->htbl;
#  917|   		last_ste = action_ste;
#  918|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def247]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c:916:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_rule.c: scope_hint: In function ‘dr_rule_handle_regular_action_stes’
#  914|   
#  915|   		action_ste->htbl->pointing_ste = last_ste;
#  916|-> 		last_ste->next_htbl = action_ste->htbl;
#  917|   		last_ste = action_ste;
#  918|   

Error: CLANG_WARNING: [#def248]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_send.c:463:2: warning[deadcode.DeadStores]: Value stored to 'wqe' is never read
#  461|   	}
#  462|   	memcpy(wqe, addr, len);
#  463|-> 	wqe += len;
#  464|   
#  465|   	if (likely(inl)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def249]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c: scope_hint: In function ‘dr_ste_remove_middle_ste’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c:345:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5dv_dr.h:36: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c:33: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c:341:20: note: in expansion of macro ‘list_prev’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c: scope_hint: In function ‘dr_ste_remove_middle_ste’
#  343|   
#  344|   	miss_addr = ste_ctx->get_miss_addr(ste->hw_ste);
#  345|-> 	ste_ctx->set_miss_addr(prev_ste->hw_ste, miss_addr);
#  346|   
#  347|   	dr_send_fill_and_append_ste_send_info(prev_ste, DR_STE_SIZE_CTRL, 0,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c: scope_hint: In function ‘dr_ste_free’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c:373:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c:185:24: note: in expansion of macro ‘list_top’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c: scope_hint: In function ‘dr_ste_free’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste.c:185:24: note: in expansion of macro ‘list_top’
#  371|   
#  372|   	first_ste = dr_ste_get_miss_list_top(ste);
#  373|-> 	stats_tbl = first_ste->htbl;
#  374|   	/*
#  375|   	 * Two options:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste_v1.c: scope_hint: In function ‘dr_ste_v1_aso_other_domain_link’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_ste_v1.c:3454:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cross_dmn_arrays’
# 3452|   	cross_dmn_arrays = (struct dr_aso_cross_dmn_arrays *) malloc(sizeof(struct dr_aso_cross_dmn_arrays));
# 3453|   
# 3454|-> 	cross_dmn_arrays->action_htbl = action_htbl;
# 3455|   	cross_dmn_arrays->rule_htbl = rule_htbl;
# 3456|   	devx_obj->priv = cross_dmn_arrays;

Error: CLANG_WARNING: [#def252]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_vports.c:247:15: warning[core.NullDereference]: Access to field 'next' results in a dereference of an undefined pointer value (loaded from variable 'prev')
#  245|   	while (vport) {
#  246|   		if (vport == wire) {
#  247|-> 			prev->next = vport->next;
#  248|   			break;
#  249|   		}

Error: COMPILER_WARNING (CWE-457): [#def253]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_vports.c: scope_hint: In function ‘dr_vports_table_del_wire’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_vports.c:247:36: warning[-Wmaybe-uninitialized]: ‘prev’ may be used uninitialized
#  247 |                         prev->next = vport->next;
#      |                         ~~~~~~~~~~~^~~~~~~~~~~~~
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/dr_vports.c:231:43: note: ‘prev’ was declared here
#  231 |         struct dr_devx_vport_cap *vport, *prev;
#      |                                           ^~~~
#  245|   	while (vport) {
#  246|   		if (vport == wire) {
#  247|-> 			prev->next = vport->next;
#  248|   			break;
#  249|   		}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5.c: scope_hint: In function ‘mlx5_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5.c:2725:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
# 2723|   
# 2724|   	mlx5_set_dv_ctx_ops(&mlx5_dv_ctx_ops);
# 2725|-> 	return &dev->verbs_dev;
# 2726|   }
# 2727|   

Error: CLANG_WARNING: [#def255]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5_vfio.c:1095:2: warning[unix.Malloc]: Potential leak of memory pointed to by 'info'
# 1093|   
# 1094|   end:
# 1095|-> 	free(info);
# 1096|   	return ret;
# 1097|   }

Error: CLANG_WARNING: [#def256]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/mlx5_vfio.c:2416:12: warning[core.BitwiseShift]: Right shift by '64' overflows the capacity of 'unsigned long'
# 2414|   	 */
# 2415|   	mr->iova_aligned_offset =
# 2416|-> 		hca_va & GENMASK(page_shift - 1, iova_min_page_shift);
# 2417|   	mr->iova_reg_size = align(length + hca_va, ctx->iova_min_page_size) -
# 2418|   		align_down(hca_va, ctx->iova_min_page_size);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/verbs.c: scope_hint: In function ‘_mlx5dv_create_mkey’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/verbs.c:6895:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-51.0-build/rdma-core-51.0/providers/mlx5/verbs.c:41: included_from: Included from here.
# 6893|   		mlx5_destroy_sig_ctx(mkey->sig);
# 6894|   err_free_mkey:
# 6895|-> 	free(mkey);
# 6896|   	return NULL;
# 6897|   }

Error: CLANG_WARNING: [#def258]
rdma-core-51.0-build/rdma-core-51.0/providers/mthca/ah.c:119:15: warning[deadcode.DeadStores]: Although the value stored to 'j' is used in the enclosing expression, the value is never actually read from 'j'
#  117|   		++page->use_cnt;
#  118|   
#  119|-> 		for (i = 0, j = -1; i < pp; ++i)
#  120|   			if (page->free[i]) {
#  121|   				j = ffs(page->free[i]);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
rdma-core-51.0-build/rdma-core-51.0/providers/mthca/memfree.c: scope_hint: In function ‘mthca_alloc_db_tab’
rdma-core-51.0-build/rdma-core-51.0/providers/mthca/memfree.c:181:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘db_tab’
#  179|   	pthread_mutex_init(&db_tab->mutex, NULL);
#  180|   
#  181|-> 	db_tab->npages     = npages;
#  182|   	db_tab->max_group1 = 0;
#  183|   	db_tab->min_group2 = npages - 1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
rdma-core-51.0-build/rdma-core-51.0/providers/mthca/mthca.c: scope_hint: In function ‘mthca_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/mthca/mthca.c:232:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  230|   	dev->page_size   = sysconf(_SC_PAGESIZE);
#  231|   
#  232|-> 	return &dev->ibv_dev;
#  233|   }
#  234|   

Error: CLANG_WARNING: [#def261]
rdma-core-51.0-build/rdma-core-51.0/providers/ocrdma/ocrdma_verbs.c:858:25: warning[core.BitwiseShift]: Right operand is negative in left shift
#  856|   {
#  857|   	int i = idx / 32;
#  858|-> 	unsigned int mask = (1 << (idx % 32));
#  859|   
#  860|   	if (srq->idx_bit_fields[i] & mask) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_main.c: scope_hint: In function ‘qelr_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_main.c:242:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  240|   		return NULL;
#  241|   
#  242|-> 	return &dev->ibv_dev;
#  243|   }
#  244|   

Error: CLANG_WARNING: [#def263]
rdma-core-51.0-build/rdma-core-51.0/providers/qedr/qelr_verbs.c:726:2: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  724|   	}
#  725|   
#  726|-> 	return rc;
#  727|   }
#  728|   

Error: CLANG_WARNING: [#def264]
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): [#def265]
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: CLANG_WARNING: [#def266]
rdma-core-51.0-build/rdma-core-51.0/providers/rxe/rxe.c:1576:3: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 1574|   		}
# 1575|   	} else
# 1576|-> 		memcpy(wqe->dma.sge, ibwr->sg_list,
# 1577|   		       num_sge*sizeof(struct ibv_sge));
# 1578|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
rdma-core-51.0-build/rdma-core-51.0/providers/rxe/rxe.c: scope_hint: In function ‘rxe_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/rxe/rxe.c:1914:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
# 1912|   	dev->abi_version = sysfs_dev->abi_ver;
# 1913|   
# 1914|-> 	return &dev->ibv_dev;
# 1915|   }
# 1916|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
rdma-core-51.0-build/rdma-core-51.0/providers/siw/siw.c: scope_hint: In function ‘siw_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/siw/siw.c:887:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  885|   		return NULL;
#  886|   
#  887|-> 	return &dev->base_dev;
#  888|   }
#  889|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
rdma-core-51.0-build/rdma-core-51.0/providers/vmw_pvrdma/pvrdma_main.c: scope_hint: In function ‘pvrdma_device_alloc’
rdma-core-51.0-build/rdma-core-51.0/providers/vmw_pvrdma/pvrdma_main.c:196:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
#  194|   	dev->page_size   = sysconf(_SC_PAGESIZE);
#  195|   
#  196|-> 	return &dev->ibv_dev;
#  197|   }
#  198|   

Error: CPPCHECK_WARNING: [#def270]
rdma-core-51.0-build/rdma-core-51.0/rdma-ndd/rdma-ndd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-KIVBEG/src.c: scope_hint: In function ‘main’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-KIVBEG/src.c:7:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor

Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-KIVBEG/src.c:8:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor

Error: GCC_ANALYZER_WARNING (CWE-688): [#def273]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-j75qJo/src.c: scope_hint: In function ‘main’
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-j75qJo/src.c:4:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-j75qJo/src.c:2: included_from: Included from here.
/usr/include/time.h:288:12: note: argument 2 of ‘clock_gettime’ must be non-null

Error: CLANG_WARNING: [#def274]
rdma-core-51.0-build/rdma-core-51.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-j75qJo/src.c:4:4: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'

Error: COMPILER_WARNING (CWE-909): [#def275]
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): [#def276]
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): [#def277]
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): [#def278]
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): [#def279]
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): [#def280]
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): [#def281]
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): [#def282]
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): [#def283]
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): [#def284]
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): [#def285]
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): [#def286]
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): [#def287]
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): [#def288]
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): [#def289]
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): [#def290]
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): [#def291]
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): [#def292]
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): [#def293]
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): [#def294]
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): [#def295]
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): [#def296]
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): [#def297]
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): [#def298]
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): [#def299]
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): [#def300]
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): [#def301]
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): [#def302]
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): [#def303]
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): [#def304]
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): [#def305]
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): [#def306]
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): [#def307]
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): [#def308]
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): [#def309]
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): [#def310]
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): [#def311]
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): [#def312]
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): [#def313]
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): [#def314]
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): [#def315]
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): [#def316]
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): [#def317]
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): [#def318]
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): [#def319]
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: [#def320]
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): [#def321]
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): [#def322]
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): [#def323]
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): [#def324]
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): [#def325]
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): [#def326]
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): [#def327]
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): [#def328]
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): [#def329]
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): [#def330]
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): [#def331]
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): [#def332]
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): [#def333]
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): [#def334]
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): [#def335]
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): [#def336]
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): [#def337]
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): [#def338]
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): [#def339]
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): [#def340]
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): [#def341]
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): [#def342]
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): [#def343]
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): [#def344]
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): [#def345]
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): [#def346]
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): [#def347]
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): [#def348]
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): [#def349]
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): [#def350]
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): [#def351]
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): [#def352]
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): [#def353]
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): [#def354]
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): [#def355]
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): [#def356]
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): [#def357]
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): [#def358]
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): [#def359]
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): [#def360]
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): [#def361]
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): [#def362]
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): [#def363]
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): [#def364]
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): [#def365]
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): [#def366]
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): [#def367]
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): [#def368]
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): [#def369]
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): [#def370]
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): [#def371]
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): [#def372]
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): [#def373]
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): [#def374]
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): [#def375]
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): [#def376]
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): [#def377]
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): [#def378]
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): [#def379]
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): [#def380]
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): [#def381]
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): [#def382]
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): [#def383]
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): [#def384]
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): [#def385]
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): [#def386]
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): [#def387]
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): [#def388]
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): [#def389]
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): [#def390]
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): [#def391]
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): [#def392]
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): [#def393]
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): [#def394]
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): [#def395]
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): [#def396]
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): [#def397]
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): [#def398]
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): [#def399]
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): [#def400]
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): [#def401]
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: [#def402]
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: [#def403]
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): [#def404]
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): [#def405]
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): [#def406]
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): [#def407]
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): [#def408]
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): [#def409]
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): [#def410]
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): [#def411]
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): [#def412]
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): [#def413]
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): [#def414]
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): [#def415]
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): [#def416]
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): [#def417]
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): [#def418]
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): [#def419]
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): [#def420]
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): [#def421]
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): [#def422]
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): [#def423]
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): [#def424]
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): [#def425]
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): [#def426]
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): [#def427]
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): [#def428]
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): [#def429]
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): [#def430]
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): [#def431]
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): [#def432]
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): [#def433]
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): [#def434]
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): [#def435]
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): [#def436]
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): [#def437]
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): [#def438]
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): [#def439]
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): [#def440]
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): [#def441]
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): [#def442]
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): [#def443]
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): [#def444]
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): [#def445]
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): [#def446]
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): [#def447]
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): [#def448]
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): [#def449]
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): [#def450]
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): [#def451]
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): [#def452]
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): [#def453]
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): [#def454]
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): [#def455]
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): [#def456]
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): [#def457]
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): [#def458]
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): [#def459]
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): [#def460]
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): [#def461]
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): [#def462]
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): [#def463]
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): [#def464]
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): [#def465]
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): [#def466]
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): [#def467]
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): [#def468]
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): [#def469]
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): [#def470]
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): [#def471]
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): [#def472]
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): [#def473]
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): [#def474]
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): [#def475]
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): [#def476]
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): [#def477]
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): [#def478]
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): [#def479]
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): [#def480]
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): [#def481]
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): [#def482]
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): [#def483]
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): [#def484]
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): [#def485]
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): [#def486]
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): [#def487]
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): [#def488]
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): [#def489]
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): [#def490]
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): [#def491]
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): [#def492]
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): [#def493]
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): [#def494]
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): [#def495]
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): [#def496]
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): [#def497]
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): [#def498]
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): [#def499]
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): [#def500]
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): [#def501]
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) {

Error: CLANG_WARNING: [#def502]
rdma-core-51.0-build/rdma-core-51.0/srp_daemon/srp_daemon.c:1533:3: warning[deadcode.DeadStores]: Value stored to 'optr' is never read
# 1531|   			return -1;
# 1532|   		len = snprintf(optr, left, ",%s%s", opt[i], option);
# 1533|-> 		optr += len;
# 1534|   		left -= len;
# 1535|   		if (left <= 0)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def503]
rdma-core-51.0-build/rdma-core-51.0/srp_daemon/srp_sync.c: scope_hint: In function ‘push_to_retry_list’
rdma-core-51.0-build/rdma-core-51.0/srp_daemon/srp_sync.c:270:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘target’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  268|   
#  269|   	target = malloc(sizeof(struct target_details));
#  270|-> 	memcpy(target, orig_target, sizeof(struct target_details));
#  271|   
#  272|   	pthread_mutex_lock(&res->retry_mutex);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def504]
rdma-core-51.0-build/rdma-core-51.0/util/tests/bitmap_test.c:6: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/util/bitmap.h: scope_hint: In function ‘bitmap_zero’
rdma-core-51.0-build/rdma-core-51.0/util/bitmap.h:41:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘bmp’ where non-null expected
rdma-core-51.0-build/rdma-core-51.0/util/tests/bitmap_test.c: scope_hint: In function ‘bitmap_zero’
rdma-core-51.0-build/rdma-core-51.0/util/tests/bitmap_test.c:125:17: note: in expansion of macro ‘TEST’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   39|   	unsigned long size = BITS_TO_LONGS(nbits) * sizeof(unsigned long);
#   40|   
#   41|-> 	memset(bmp, 0, size);
#   42|   }
#   43|   

Error: CLANG_WARNING: [#def505]
rdma-core-51.0-build/rdma-core-51.0/util/bitmap.c:4: included_from: Included from here.
rdma-core-51.0-build/rdma-core-51.0/util/bitmap.h:100:8: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'unsigned long', which is incompatible with sizeof operand type 'long'
#   98|   	unsigned long *bmp;
#   99|   
#  100|-> 	bmp = calloc(BITS_TO_LONGS(size), sizeof(long));
#  101|   	if (!bmp)
#  102|   		return NULL;

Error: CPPCHECK_WARNING: [#def506]
rdma-core-51.0-build/rdma-core-51.0/util/cl_map.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def507]
rdma-core-51.0-build/rdma-core-51.0/util/cl_map.c:631:4: warning[deadcode.DeadStores]: Value stored to 'p_item2' is never read
#  629|   		if (p_item2 != p_item) {
#  630|   			/* Put the item in back in the source map. */
#  631|-> 			p_item2 =
#  632|   			    cl_qmap_insert(p_src_map, cl_qmap_key(p_item),
#  633|   					   p_item);

Error: CPPCHECK_WARNING: [#def508]
rdma-core-51.0-build/rdma-core-51.0/util/node_name_map.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def509]
rdma-core-51.0-build/rdma-core-51.0/util/tests/bitmap_test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-112.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namerdma-core-51.0-3.fc41
store-results-to/tmp/tmp_m7muhtx/rdma-core-51.0-3.fc41.tar.xz
time-created2024-07-03 17:52:46
time-finished2024-07-03 17:59:49
toolcsmock
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-versioncsmock-3.5.3-1.el9