Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1290:17: warning[-Wanalyzer-null-argument]: use of NULL 'it.<Ue8c0>.entry' where non-null expected
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5358:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1326:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/cityhash.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1309:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1207:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:562:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1263:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1274:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
drgn-0.2.0+20.g5f847caa/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:771:23: note: in expansion of macro 'ctz'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/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+20.g5f847caa/libdrgn/hash_table.h:1290:17: warning[-Wanalyzer-null-argument]: use of NULL 'it.<Uec80>.lowest' where non-null expected
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5358:9: note: in expansion of macro 'drgn_log_debug'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1326:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/cityhash.h: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:703:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1331:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1309:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1207:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:562:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1200:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:577:45: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:718:37: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1210:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1213:28: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1315:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1321:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1263:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1274:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
drgn-0.2.0+20.g5f847caa/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:771:23: note: in expansion of macro 'ctz'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c: scope_hint: In function 'load_debug_info_provided_table_insert_searched'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/libdrgn/debug_info.c:5008:1: note: in expansion of macro 'DEFINE_HASH_TABLE'
drgn-0.2.0+20.g5f847caa/libdrgn/hash_table.h:1591:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
drgn-0.2.0+20.g5f847caa/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-476): [#def3]
drgn-0.2.0+20.g5f847caa/libdrgn/linux_kernel_helpers.c:17:35: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
drgn-0.2.0+20.g5f847caa/libdrgn/linux_kernel_helpers.c: scope_hint: In function 'begin_virtual_address_translation'
#   15|   static void end_virtual_address_translation(struct drgn_program *prog)
#   16|   {
#   17|-> 	prog->pgtable_it->pgtable = UINT64_MAX;
#   18|   }
#   19|   

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-197.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+17.gee9f62ee-1.20260610160919789178.main.17.gee9f62ee
diffbase-store-results-to/tmp/tmprr8phjrh/python-drgn-0.2.0+17.gee9f62ee-1.20260610160919789178.main.17.gee9f62ee.tar.xz
diffbase-time-created2026-06-10 18:40:28
diffbase-time-finished2026-06-10 18:44:00
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmprr8phjrh/python-drgn-0.2.0+17.gee9f62ee-1.20260610160919789178.main.17.gee9f62ee.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmprr8phjrh/python-drgn-0.2.0+17.gee9f62ee-1.20260610160919789178.main.17.gee9f62ee.src.rpm'
diffbase-tool-versioncsmock-3.8.6.20260603.095741.gbb48252-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-197.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+20.g5f847caa-1.20260610183545259170.pr623.20.g5f847caa
store-results-to/tmp/tmpug71elix/python-drgn-0.2.0+20.g5f847caa-1.20260610183545259170.pr623.20.g5f847caa.tar.xz
time-created2026-06-10 18:44:15
time-finished2026-06-10 18:47:05
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmpug71elix/python-drgn-0.2.0+20.g5f847caa-1.20260610183545259170.pr623.20.g5f847caa.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpug71elix/python-drgn-0.2.0+20.g5f847caa-1.20260610183545259170.pr623.20.g5f847caa.src.rpm'
tool-versioncsmock-3.8.6.20260603.095741.gbb48252-1.el9