Task #17819 - python-drgn-0.0.29+18.ga8b49ef4-1.20241016214052857254.pr447.18.ga8b49ef4/scan-results.err

back to task #17819
download
Error: GCC_ANALYZER_WARNING (CWE-401):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_aarch64.c: scope_hint: In function 'linux_kernel_pgtable_iterator_create_aarch64'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_aarch64.c:381:14: warning[-Wanalyzer-malloc-leak]: leak of 'it'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/register_state.h:15: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_aarch64.c:14: included_from: Included from here.
#  379|   	}
#  380|   
#  381|-> 	*ret = &it->it;
#  382|   	return NULL;
#  383|   }

Error: GCC_ANALYZER_WARNING (CWE-401):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_arm.c: scope_hint: In function 'linux_kernel_pgtable_iterator_create_arm'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_arm.c:191:14: warning[-Wanalyzer-malloc-leak]: leak of 'it'
#  189|   	if (!it)
#  190|   		return &drgn_enomem;
#  191|-> 	*ret = &it->it;
#  192|   	return NULL;
#  193|   }

Error: GCC_ANALYZER_WARNING (CWE-401):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_ppc64.c: scope_hint: In function 'linux_kernel_pgtable_iterator_create_ppc64'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_ppc64.c:380:14: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(24)'
#  378|   	}
#  379|   
#  380|-> 	*ret = &no_cleanup_ptr(it)->it;
#  381|   	return NULL;
#  382|   }

Error: GCC_ANALYZER_WARNING (CWE-401):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_s390x.c: scope_hint: In function 'linux_kernel_pgtable_iterator_create_s390x'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_s390x.c:282:14: warning[-Wanalyzer-malloc-leak]: leak of 'it'
#  280|   		return &drgn_enomem;
#  281|   
#  282|-> 	*ret = &it->it;
#  283|   	return NULL;
#  284|   }

Error: GCC_ANALYZER_WARNING (CWE-401):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_x86_64.c: scope_hint: In function 'linux_kernel_pgtable_iterator_create_x86_64'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/arch_x86_64.c:563:14: warning[-Wanalyzer-malloc-leak]: leak of 'it'
#  561|   	if (!it)
#  562|   		return &drgn_enomem;
#  563|-> 	*ret = &it->it;
#  564|   	return NULL;
#  565|   }

Error: GCC_ANALYZER_WARNING (CWE-590):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/cfi.h:182:17: warning[-Wanalyzer-free-of-non-heap]: 'free' of '&drgn_empty_cfi_row_impl' which points to memory not on the heap
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/cfi.h: scope_hint: In function 'drgn_get_stack_trace.part.0'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:35: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/dwarf_info.h:25: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.h:22: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/stack_trace.c:12: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/stack_trace.c: scope_hint: In function 'drgn_get_stack_trace.part.0'
#  180|   {
#  181|   	if (row->allocated_rules > 0)
#  182|-> 		free(row);
#  183|   }
#  184|   

Error: GCC_ANALYZER_WARNING (CWE-1341):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_report_elf'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.c:473:17: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd'
#  471|   						   drgn_error_libelf());
#  472|   		elf_end(elf);
#  473|-> 		close(fd);
#  474|   		return err;
#  475|   	} else if (build_id_len == 0) {

Error: GCC_ANALYZER_WARNING (CWE-457):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.c: scope_hint: In function 'userspace_report_elf_file'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.c:1314:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'elf'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.c:10: included_from: Included from here.
# 1312|   
# 1313|   	GElf_Ehdr ehdr_mem, *ehdr;
# 1314|-> 	ehdr = gelf_getehdr(elf, &ehdr_mem);
# 1315|   	if (!ehdr) {
# 1316|   		err = drgn_error_libelf();

Error: GCC_ANALYZER_WARNING (CWE-1341):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.c:1335:9: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd'
# 1333|   err_close:
# 1334|   	elf_end(elf);
# 1335|-> 	close(fd);
# 1336|   err:
# 1337|   	return drgn_debug_info_report_error(load, path, NULL, err);

Error: GCC_ANALYZER_WARNING (CWE-457):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.c: scope_hint: In function 'drgn_module_find_files'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.c:1755:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'debug_file_bias'
# 1753|   		debug_file_path = loaded_file_path;
# 1754|   
# 1755|-> 	module->debug_file_bias = debug_file_bias;
# 1756|   	err = drgn_elf_file_create(module, debug_file_path, dwarf_getelf(dwarf),
# 1757|   				   &module->debug_file);

Error: GCC_ANALYZER_WARNING (CWE-471):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:817:47: warning[-Wanalyzer-write-to-const]: write to 'const' object 'hash_table_empty_chunk_header'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1213:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:554:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1318:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1323:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1301:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1307:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:554:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1307:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1313:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1255:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1266:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1270:25: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:464:22: note: declared here
#  815|   {										\
#  816|   	if (chunk->outbound_overflow_count != UINT8_MAX)			\
#  817|-> 		chunk->outbound_overflow_count++;				\
#  818|   }										\
#  819|   										\

Error: GCC_ANALYZER_WARNING (CWE-471):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1278:34: warning[-Wanalyzer-write-to-const]: write to 'const' object 'hash_table_empty_chunk_header'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1213:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:554:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1318:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1323:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1301:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1307:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:554:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1307:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1313:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1255:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1266:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:30: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:763:23: note: in expansion of macro 'ctz'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:464:22: note: declared here
# 1276|   							   hosted_overflow_count_inc);\
# 1277|   	}									\
# 1278|-> 	chunk->tags[first_empty] = hp.second;					\
# 1279|   	if (table##_vector_policy) {						\
# 1280|   		*table##_vector_item(&chunk->items[first_empty]) =		\

Error: GCC_ANALYZER_WARNING (CWE-471):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1285:17: warning[-Wanalyzer-write-to-const]: write to 'const' object 'hash_table_empty_chunk_header'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1213:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:554:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1318:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1323:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1301:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1307:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:554:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1307:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1313:24: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1255:12: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1266:36: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/bitops.h:108:24: note: in expansion of macro 'builtin_bitop_impl'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/bitops.h:41:16: note: in expansion of macro 'generic_bitop'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:763:23: note: in expansion of macro 'ctz'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'int_set_insert_searched'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:464:22: note: declared here
# 1283|   		       sizeof(*entry));						\
# 1284|   	} else {								\
# 1285|-> 		memcpy(&chunk->items[first_empty], entry, sizeof(*entry));	\
# 1286|   	}									\
# 1287|   	table##_adjust_size_and_first_after_insert(table, chunk, first_empty);	\

Error: GCC_ANALYZER_WARNING (CWE-457):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/kallsyms.c: scope_hint: In function 'kallsyms_expand_symbol'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/kallsyms.c:255:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'len'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/binary_buffer.h:22: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/kallsyms.c:7: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/util.h:56:41: note: in definition of macro 'unlikely'
#  253|   
#  254|   	const uint8_t *data = (uint8_t *)names_bb->pos;
#  255|-> 	err = binary_buffer_skip(names_bb, len);
#  256|   	if (err)
#  257|   		return err;

Error: COMPILER_WARNING (CWE-457):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/kallsyms.c:479:60: warning[-Wmaybe-uninitialized]: 'stext_idx' may be used uninitialized
#  479 |                 uint64_t stext_abs = relative_base + addr32[stext_idx];
#      |                                                            ^
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/kallsyms.c: scope_hint: In function 'drgn_load_builtin_kallsyms'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/kallsyms.c:475:25: note: 'stext_idx' was declared here
#  475 |                 ssize_t stext_idx;
#      |                         ^~~~~~~~~
#  477|   		if (err)
#  478|   			return err;
#  479|-> 		uint64_t stext_abs = relative_base + addr32[stext_idx];
#  480|   		uint64_t stext_pcpu = absolute_percpu(relative_base, (int32_t)addr32[stext_idx]);
#  481|   		if (stext_abs == loc->_stext) {

Error: CPPCHECK_WARNING (CWE-476):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/memory_reader.c:34: error[ctunullpointer]: Null pointer dereference: entry
#   32|   drgn_memory_segment_to_key(const struct drgn_memory_segment *entry)
#   33|   {
#   34|-> 	return entry->min_address;
#   35|   }
#   36|   

Error: CPPCHECK_WARNING (CWE-476):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/memory_reader.c:34: warning[nullPointer]: Possible null pointer dereference: entry
#   32|   drgn_memory_segment_to_key(const struct drgn_memory_segment *entry)
#   33|   {
#   34|-> 	return entry->min_address;
#   35|   }
#   36|   

Error: GCC_ANALYZER_WARNING (CWE-775):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'drgn_num_online_cpu_cores'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:51:41: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen("/sys/devices/system/cpu/online", "r")'
#   49|   	_cleanup_(int_set_deinit) struct int_set cpus_seen = HASH_TABLE_INIT;
#   50|   
#   51|-> 	_cleanup_fclose_ FILE *online = fopen("/sys/devices/system/cpu/online", "r");
#   52|   	if (!online)
#   53|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-401):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:51:41: warning[-Wanalyzer-malloc-leak]: leak of 'fopen("/sys/devices/system/cpu/online", "r")'
#   49|   	_cleanup_(int_set_deinit) struct int_set cpus_seen = HASH_TABLE_INIT;
#   50|   
#   51|-> 	_cleanup_fclose_ FILE *online = fopen("/sys/devices/system/cpu/online", "r");
#   52|   	if (!online)
#   53|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-775):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:64:51: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(&siblings_path, "r")'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1213:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'drgn_num_online_cpu_cores'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:554:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'drgn_num_online_cpu_cores'
#   62|   		snprintf(siblings_path, sizeof(siblings_path), SIBLINGS_FORMAT,
#   63|   			 cpu);
#   64|-> 		_cleanup_fclose_ FILE *siblings = fopen(siblings_path, "r");
#   65|   		if (!siblings)
#   66|   			continue;

Error: GCC_ANALYZER_WARNING (CWE-401):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:64:51: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(&siblings_path, "r")'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1213:1: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'drgn_num_online_cpu_cores'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:554:32: note: in definition of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1192:1: note: in expansion of macro 'HASH_TABLE_SEARCH_IMPL'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1655:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1215:16: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1202:38: note: in definition of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:1671:1: note: in expansion of macro 'DEFINE_HASH_SET_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c:15:1: note: in expansion of macro 'DEFINE_HASH_SET'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/openmp.c: scope_hint: In function 'drgn_num_online_cpu_cores'
#   62|   		snprintf(siblings_path, sizeof(siblings_path), SIBLINGS_FORMAT,
#   63|   			 cpu);
#   64|-> 		_cleanup_fclose_ FILE *siblings = fopen(siblings_path, "r");
#   65|   		if (!siblings)
#   66|   			continue;

Error: GCC_ANALYZER_WARNING (CWE-457):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c: scope_hint: In function 'drgn_program_add_memory_segment'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c:190:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'address_mask'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c: scope_hint: In function 'drgn_program_add_memory_segment'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c:33: included_from: Included from here.
#  188|   	if (err)
#  189|   		return err;
#  190|-> 	if (size == 0 || address > address_mask)
#  191|   		return NULL;
#  192|   	uint64_t max_address = address + min(size - 1, address_mask - address);

Error: GCC_ANALYZER_WARNING (CWE-457):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c: scope_hint: In function 'drgn_program_set_core_dump_fd_internal'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c:328:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'is_kdump'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c:43:1: note: in expansion of macro 'DEFINE_HASH_TABLE_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c: scope_hint: In function 'drgn_program_set_core_dump_fd_internal'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c:10: included_from: Included from here.
#  326|   	if (err)
#  327|   		goto out_fd;
#  328|-> 	if (is_kdump) {
#  329|   		err = drgn_program_set_kdump(prog);
#  330|   		if (err)

Error: GCC_ANALYZER_WARNING (CWE-457):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c: scope_hint: In function 'drgn_program_read_word'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.c:1867:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'is_64_bit'
# 1865|   	if (err)
# 1866|   		return err;
# 1867|-> 	if (is_64_bit) {
# 1868|   		uint64_t tmp;
# 1869|   		err = drgn_program_read_memory(prog, &tmp, address, sizeof(tmp),

Error: GCC_ANALYZER_WARNING (CWE-476):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1201:24: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
/usr/include/python3.13/listobject.h:25:5: note: in expansion of macro 'PyType_FastSubclass'
/usr/include/python3.13/abstract.h:731:6: note: in expansion of macro 'PyList_Check'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c: scope_hint: In function 'Program_stack_trace_from_pcs'
/usr/include/python3.13/abstract.h:731:24: note: in expansion of macro 'PyList_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
/usr/include/python3.13/cpython/listobject.h:31:26: note: in expansion of macro '_PyList_CAST'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/abstract.h:731:24: note: in expansion of macro 'PyList_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
/usr/include/python3.13/Python.h:36: included_from: Included from here.
# 1199|   		if (!index_converter(PySequence_Fast_GET_ITEM(pypcseq, i), &pc))
# 1200|   			return NULL;
# 1201|-> 		pcs[i] = pc.uvalue;
# 1202|   	}
# 1203|   

Error: GCC_ANALYZER_WARNING (CWE-476):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1201:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'malloc_array((size_t)<unknown>, 8)'
/usr/include/python3.13/listobject.h:25:5: note: in expansion of macro 'PyType_FastSubclass'
/usr/include/python3.13/abstract.h:731:6: note: in expansion of macro 'PyList_Check'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c: scope_hint: In function 'Program_stack_trace_from_pcs'
/usr/include/python3.13/abstract.h:731:24: note: in expansion of macro 'PyList_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
/usr/include/python3.13/cpython/listobject.h:31:26: note: in expansion of macro '_PyList_CAST'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/abstract.h:731:24: note: in expansion of macro 'PyList_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
# 1199|   		if (!index_converter(PySequence_Fast_GET_ITEM(pypcseq, i), &pc))
# 1200|   			return NULL;
# 1201|-> 		pcs[i] = pc.uvalue;
# 1202|   	}
# 1203|   

Error: GCC_ANALYZER_WARNING (CWE-457):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/serialize.c: scope_hint: In function 'serialize_bits'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/serialize.c:137:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '&*(unsigned char (*)[9])(&tmp[1])'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/serialize.c:4: included_from: Included from here.
#  135|   	} else {
#  136|   		p[0] = (p[0] & first_mask) | tmp[0];
#  137|-> 		memcpy(p + 1, tmp + 1, size - 2);
#  138|   		p[size - 1] = (p[size - 1] & last_mask) | tmp[size - 1];
#  139|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/symbol.c: scope_hint: In function 'drgn_symbol_index_init_from_builder'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/symbol.c:421:57: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/symbol.h:15: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/symbol.c:12: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/vector.h:449:13: note: in definition of macro 'DEFINE_VECTOR_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/symbol.c:15:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/symbol.c:15:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS'
#  419|   	// static lifetimes helps avoid unnecessary copying.
#  420|   	for (size_t i = 0; i < num_syms; i++) {
#  421|-> 		size_t string_index = (size_t)symbols[i].name;
#  422|   		symbols[i].name = &names[string_index];
#  423|   		symbols[i].name_lifetime = DRGN_LIFETIME_STATIC;

Error: GCC_ANALYZER_WARNING (CWE-401):
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/hash_table.h:35: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/drgnpy.h:18: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:4: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/util.h: scope_hint: In function 'Program_stack_trace_from_pcs'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/util.h:89:13: warning[-Wanalyzer-malloc-leak]: leak of 'malloc_array((size_t)<unknown>, 8)'
/usr/include/python3.13/Python.h:72: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/drgnpy.h:10: included_from: Included from here.
/usr/include/python3.13/listobject.h:25:5: note: in expansion of macro 'PyType_FastSubclass'
/usr/include/python3.13/abstract.h:731:6: note: in expansion of macro 'PyList_Check'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
/usr/include/python3.13/listobject.h:48: included_from: Included from here.
/usr/include/python3.13/Python.h:89: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c: scope_hint: In function 'Program_stack_trace_from_pcs'
/usr/include/python3.13/abstract.h:731:24: note: in expansion of macro 'PyList_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
/usr/include/python3.13/Python.h:19: included_from: Included from here.
/usr/include/python3.13/cpython/listobject.h:31:26: note: in expansion of macro '_PyList_CAST'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/cpython/listobject.h:35:12: note: in expansion of macro 'Py_SIZE'
/usr/include/python3.13/abstract.h:731:24: note: in expansion of macro 'PyList_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1194:23: note: in expansion of macro 'PySequence_Fast_GET_SIZE'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/type.h:15: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/object.h:20: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/debug_info.h:24: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/program.h:21: included_from: Included from here.
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/drgnpy.h:20: included_from: Included from here.
/usr/include/python3.13/tupleobject.h:27:18: note: in expansion of macro 'PyType_FastSubclass'
/usr/include/python3.13/cpython/tupleobject.h:17:13: note: in expansion of macro 'PyTuple_Check'
/usr/include/python3.13/cpython/tupleobject.h:27:38: note: in expansion of macro '_PyTuple_CAST'
/usr/include/python3.13/abstract.h:736:53: note: in expansion of macro 'PyTuple_GET_ITEM'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/python/program.c:1199:38: note: in expansion of macro 'PySequence_Fast_GET_ITEM'
python-drgn-0.0.29+18.ga8b49ef4-build/drgn-0.0.29+18.ga8b49ef4/libdrgn/util.h: scope_hint: In function 'Program_stack_trace_from_pcs'
#   87|   	size_t bytes;
#   88|   
#   89|-> 	if (__builtin_mul_overflow(nmemb, size, &bytes)) {
#   90|   		errno = ENOMEM;
#   91|   		return NULL;