Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:2113:17: warning[-Wanalyzer-null-argument]: use of NULL 'map_files_segments.vector.<Ube60>._data' where non-null expected
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:40: included_from: Included from here.
drgn-0.3.0+64.g4dbdb16e/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5503:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments'
drgn-0.3.0+64.g4dbdb16e/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:4813:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.3.0+64.g4dbdb16e/libdrgn/dwarf_info.h:26: included_from: Included from here.
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.h:26: included_from: Included from here.
drgn-0.3.0+64.g4dbdb16e/libdrgn/vector.h:458:13: note: in definition of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+64.g4dbdb16e/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+64.g4dbdb16e/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+64.g4dbdb16e/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+64.g4dbdb16e/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+64.g4dbdb16e/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments'
drgn-0.3.0+64.g4dbdb16e/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+64.g4dbdb16e/libdrgn/hash_table.h:1290:17: warning[-Wanalyzer-null-argument]: use of NULL 'it.<U3960>.entry' where non-null expected
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5503:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1326:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/cityhash.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1309:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1207:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:562:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1263:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1274:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
drgn-0.3.0+64.g4dbdb16e/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:771:23: note: in expansion of macro 'ctz'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/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+64.g4dbdb16e/libdrgn/hash_table.h:1290:17: warning[-Wanalyzer-null-argument]: use of NULL 'it.<U3d20>.lowest' where non-null expected
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5503:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1326:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/cityhash.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1309:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1207:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:562:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:577:45: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:718:37: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1213:28: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1263:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1274:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
drgn-0.3.0+64.g4dbdb16e/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:771:23: note: in expansion of macro 'ctz'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/libdrgn/debug_info.c:5153:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.3.0+64.g4dbdb16e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.3.0+64.g4dbdb16e/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.100.0
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.100.0
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-4.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.20261119.122405.g0aee554.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepython-drgn-0.3.0+67.gff6f887b-1.20261121154200401292.pr676.67.gff6f887b
diffbase-store-results-to/tmp/tmp8z6p2js4/python-drgn-0.3.0+67.gff6f887b-1.20261121154200401292.pr676.67.gff6f887b.tar.xz
diffbase-time-created2026-11-21 15:52:52
diffbase-time-finished2026-11-21 15:56:17
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-a9c6e651-ce88-4638-9e6e-e0365b0c2538' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp8z6p2js4/python-drgn-0.3.0+67.gff6f887b-1.20261121154200401292.pr676.67.gff6f887b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp8z6p2js4/python-drgn-0.3.0+67.gff6f887b-1.20261121154200401292.pr676.67.gff6f887b.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20261112.190040.g4fde093-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-4.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20261119.122405.g0aee554.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-drgn-0.3.0+64.g4dbdb16e-1.20261119002153643103.main.64.g4dbdb16e
store-results-to/tmp/tmpkw_a4yhf/python-drgn-0.3.0+64.g4dbdb16e-1.20261119002153643103.main.64.g4dbdb16e.tar.xz
time-created2026-11-21 15:48:41
time-finished2026-11-21 15:52:16
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-e7bc15aa-08fb-42da-aa76-e95e8b4fb8de' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpkw_a4yhf/python-drgn-0.3.0+64.g4dbdb16e-1.20261119002153643103.main.64.g4dbdb16e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpkw_a4yhf/python-drgn-0.3.0+64.g4dbdb16e-1.20261119002153643103.main.64.g4dbdb16e.src.rpm'
tool-versioncsmock-3.8.7.20261112.190040.g4fde093-1.el9