Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:2113:17: warning[-Wanalyzer-null-argument]: use of NULL 'map_files_segments.vector.<U8c80>._idata' where non-null expected
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:40: included_from: Included from here.
drgn-0.3.0+7.g3af11900/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5503:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments'
drgn-0.3.0+7.g3af11900/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:4813:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.3.0+7.g3af11900/libdrgn/dwarf_info.h:26: included_from: Included from here.
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.h:26: included_from: Included from here.
drgn-0.3.0+7.g3af11900/libdrgn/vector.h:458:13: note: in definition of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+7.g3af11900/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+7.g3af11900/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+7.g3af11900/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+7.g3af11900/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+7.g3af11900/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:19: included_from: Included from here.
/usr/include/stdlib.h:998:13: note: argument 1 of 'qsort' must be non-null
# 2111|   					    &dbinfo->num_map_files_segments);
# 2112|   	if (!segments->sorted) {
# 2113|-> 		qsort(dbinfo->map_files_segments,
# 2114|   		      dbinfo->num_map_files_segments,
# 2115|   		      sizeof(dbinfo->map_files_segments[0]),

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2]
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1290:17: warning[-Wanalyzer-null-argument]: use of NULL 'it.<U3780>.entry' where non-null expected
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5503:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1326:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/cityhash.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1309:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1207:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:562:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1263:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1274:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
drgn-0.3.0+7.g3af11900/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:771:23: note: in expansion of macro 'ctz'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:20: included_from: Included from here.
/usr/include/string.h:47:14: note: argument 1 of 'memcpy' must be non-null
# 1288|   		*table##_vector_item(&chunk->items[first_empty]) =		\
# 1289|   			table##_size(table);					\
# 1290|-> 		memcpy(&table->vector[table##_size(table)], entry,		\
# 1291|   		       sizeof(*entry));						\
# 1292|   	} else {								\

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3]
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1290:17: warning[-Wanalyzer-null-argument]: use of NULL 'it.<U3b40>.lowest' where non-null expected
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5503:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1326:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/cityhash.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1309:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1207:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:562:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:577:45: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:718:37: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1213:28: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1263:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1274:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
drgn-0.3.0+7.g3af11900/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:771:23: note: in expansion of macro 'ctz'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+7.g3af11900/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+7.g3af11900/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
/usr/include/string.h:47:14: note: argument 1 of 'memcpy' must be non-null
# 1288|   		*table##_vector_item(&chunk->items[first_empty]) =		\
# 1289|   			table##_size(table);					\
# 1290|-> 		memcpy(&table->vector[table##_size(table)], entry,		\
# 1291|   		       sizeof(*entry));						\
# 1292|   	} else {								\

Scan Properties

analyzer-version-clippy1.99.1
analyzer-version-cppcheck2.22.0
analyzer-version-gcc16.2.1
analyzer-version-gcc-analyzer16.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.99.1
diffbase-analyzer-version-cppcheck2.22.0
diffbase-analyzer-version-gcc16.2.1
diffbase-analyzer-version-gcc-analyzer16.2.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-151.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepython-drgn-0.3.0+6.g5e21fd3a-1.20261021174834300445.main.6.g5e21fd3a
diffbase-store-results-to/tmp/tmpx9zgvtyb/python-drgn-0.3.0+6.g5e21fd3a-1.20261021174834300445.main.6.g5e21fd3a.tar.xz
diffbase-time-created2026-10-22 12:54:19
diffbase-time-finished2026-10-22 12:57:24
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-cadecae3-30f3-4969-be7c-4e5a2f881fbf' '-t' 'unicontrol,cppcheck,shellcheck,clippy,gcc' '-o' '/tmp/tmpx9zgvtyb/python-drgn-0.3.0+6.g5e21fd3a-1.20261021174834300445.main.6.g5e21fd3a.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpx9zgvtyb/python-drgn-0.3.0+6.g5e21fd3a-1.20261021174834300445.main.6.g5e21fd3a.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20261019.142327.ge371d49-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-151.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-drgn-0.3.0+7.g3af11900-1.20261022124631706185.pr656.7.g3af11900
store-results-to/tmp/tmpsabg3har/python-drgn-0.3.0+7.g3af11900-1.20261022124631706185.pr656.7.g3af11900.tar.xz
time-created2026-10-22 12:57:46
time-finished2026-10-22 13:00:44
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-696995af-2050-4fd0-a50f-c19b82070ba9' '-t' 'unicontrol,cppcheck,shellcheck,clippy,gcc' '-o' '/tmp/tmpsabg3har/python-drgn-0.3.0+7.g3af11900-1.20261022124631706185.pr656.7.g3af11900.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpsabg3har/python-drgn-0.3.0+7.g3af11900-1.20261022124631706185.pr656.7.g3af11900.src.rpm'
tool-versioncsmock-3.8.7.20261019.142327.ge371d49-1.el9