Task #121704 - added.err

back to task #121704
download
Error: GCC_ANALYZER_WARNING (CWE-688):
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):
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):
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|