[PATCH v2 5/8] abg-elf-helpers: consolidate the is_linux_kernel* helpers

Dodji Seketeli dodji@seketeli.org
Wed Apr 22 09:48:11 GMT 2020


Matthias Maennich <maennich@google.com> a écrit:

> This consistently names the is_linux_kernel* helpers and keeps only the
> copy in the elf-helpers. All users are adjusted.
>
> 	* src/abg-dwarf-reader.cc
> 	(read_context::function_symbol_is_exported): use is_linux_kernel
> 	from elf_helpers.
> 	(read_context::variable_is_exported): Likewise.
> 	(read_context::get_symtab_format): Likewise.
> 	(read_context::load_symbol_maps): Likewise.
> 	(read_debug_info_into_corpus): Likewise.
> 	(read_context::is_linux_kernel_binary): Drop function.
> 	(read_context::is_linux_kernel_module): Drop function.
> 	* src/abg-elf-helpers.cc (binary_is_linux_kernel): rename to
> 	is_linux_kernel
> 	(binary_is_linux_kernel_module): rename to is_linux_kernel_module
> 	(find_ksymtab_strings_section): Adjust to function renames.
> 	* src/abg-elf-helpers.h (binary_is_linux_kernel): rename to
> 	is_linux_kernel
> 	(binary_is_linux_kernel_module): rename to
> 	is_linux_kernel_module

Applying to master, Thanks!

Cheers,

-- 
		Dodji


More information about the Libabigail mailing list