Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1290:17: warning[-Wanalyzer-null-argument]: use of NULL 'it.<U a00>.entry' where non-null expected
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5358:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1326:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/cityhash.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1309:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1207:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:562:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1263:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1274:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
drgn-0.2.0+34.g82d9ba6e/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:771:23: note: in expansion of macro 'ctz'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/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): [#def2]
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1290:17: warning[-Wanalyzer-null-argument]: use of NULL 'it.<U dc0>.lowest' where non-null expected
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5358:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1326:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/cityhash.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1309:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1207:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:562:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:577:45: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:718:37: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1213:28: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1263:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1274:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
drgn-0.2.0+34.g82d9ba6e/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:771:23: note: in expansion of macro 'ctz'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+34.g82d9ba6e/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+34.g82d9ba6e/libdrgn/debug_info.c:5008: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 {								\

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3]
drgn-0.2.0+34.g82d9ba6e/libdrgn/linux_kernel_helpers.c: scope_hint: In function 'linux_helper_direct_mapping_offset'
drgn-0.2.0+34.g82d9ba6e/libdrgn/linux_kernel_helpers.c:141:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'it'
#  139|   		return err;
#  140|   	uint64_t start_virt_addr, start_phys_addr;
#  141|-> 	err = prog->platform.arch->linux_kernel_pgtable_iterator_next(prog,
#  142|   								      it,
#  143|   								      &start_virt_addr,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4]
drgn-0.2.0+34.g82d9ba6e/libdrgn/linux_kernel_helpers.c: scope_hint: In function 'linux_helper_read_vm'
drgn-0.2.0+34.g82d9ba6e/libdrgn/linux_kernel_helpers.c:181:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'it'
#  179|   	do {
#  180|   		uint64_t start_virt_addr, start_phys_addr;
#  181|-> 		err = next(prog, it, &start_virt_addr, &start_phys_addr);
#  182|   		if (err)
#  183|   			break;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def5]
drgn-0.2.0+34.g82d9ba6e/libdrgn/linux_kernel_helpers.c: scope_hint: In function 'linux_helper_follow_phys'
drgn-0.2.0+34.g82d9ba6e/libdrgn/linux_kernel_helpers.c:233:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'it'
#  231|   		prog->platform.arch->linux_kernel_pgtable_iterator_next;
#  232|   	uint64_t start_virt_addr, start_phys_addr;
#  233|-> 	err = next(prog, it, &start_virt_addr, &start_phys_addr);
#  234|   	if (err)
#  235|   		goto out;

Scan Properties

analyzer-version-clippy1.96.0
analyzer-version-cppcheck2.21.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.96.0
diffbase-analyzer-version-cppcheck2.21.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.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-100.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepython-drgn-0.2.0+33.gbeca2ab0-1.20260616192217765406.main.33.gbeca2ab0
diffbase-store-results-to/tmp/tmps5bvh31q/python-drgn-0.2.0+33.gbeca2ab0-1.20260616192217765406.main.33.gbeca2ab0.tar.xz
diffbase-time-created2026-06-22 20:27:13
diffbase-time-finished2026-06-22 20:32:05
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmps5bvh31q/python-drgn-0.2.0+33.gbeca2ab0-1.20260616192217765406.main.33.gbeca2ab0.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmps5bvh31q/python-drgn-0.2.0+33.gbeca2ab0-1.20260616192217765406.main.33.gbeca2ab0.src.rpm'
diffbase-tool-versioncsmock-3.8.6.20260622.142223.gdf61adf-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-100.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-drgn-0.2.0+34.g82d9ba6e-1.20260622201737359185.pr623.34.g82d9ba6e
store-results-to/tmp/tmpivb2svg3/python-drgn-0.2.0+34.g82d9ba6e-1.20260622201737359185.pr623.34.g82d9ba6e.tar.xz
time-created2026-06-22 20:33:01
time-finished2026-06-22 20:36:00
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmpivb2svg3/python-drgn-0.2.0+34.g82d9ba6e-1.20260622201737359185.pr623.34.g82d9ba6e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpivb2svg3/python-drgn-0.2.0+34.g82d9ba6e-1.20260622201737359185.pr623.34.g82d9ba6e.src.rpm'
tool-versioncsmock-3.8.6.20260622.142223.gdf61adf-1.el9