LCOV - code coverage report
Current view: top level - src - readelf.c (source / functions) Coverage Total Hit
Test: elfutils-0.193 Lines: 67.1 % 7038 4721
Test Date: 2025-08-30 14:31:09 Functions: 89.9 % 159 143
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 52.2 % 4988 2606

Function Name Sort by function name Hit count Sort by function hit count
add_dump_section 566
attr_callback 8118186
buf_read_int 36
buf_read_ulong 354
check_archive_index 4
compare_core_item_groups 278
compare_core_items 1790
compare_listptr 1789340
compare_register_sets 40
compare_registers 9190
compare_sets_by_info 2124
convert 1862
count_dwflmod 868
create_dwfl 986
cudie_base 21870
die_type_sign_bytes 352974
dump_archive_index 4
dump_data 12
dump_data_section 12
dump_strings 186
dwarf_access_name 0
dwarf_attr_name 8886730
dwarf_attr_string 8886730
dwarf_calling_convention_name 0
dwarf_defaulted_name 0
dwarf_discr_list_name 16
dwarf_encoding_name 59402
dwarf_form_name 8897148
dwarf_form_string 8897148
dwarf_identifier_case_name 0
dwarf_inline_name 7270
dwarf_lang_name 3736
dwarf_lang_string 3740
dwarf_line_content_description_name 10418
dwarf_line_content_description_string 10418
dwarf_lname_name 4
dwarf_lname_string 4
dwarf_loc_list_encoding_name 654136
dwarf_loc_list_encoding_string 654136
dwarf_ordering_name 0
dwarf_range_list_encoding_name 148614
dwarf_range_list_encoding_string 148614
dwarf_tag_name 2290212
dwarf_tag_string 2290212
dwarf_unit_name 3486
dwarf_unit_string 3486
dwarf_virtuality_name 0
dwarf_visibility_name 0
elf_contains_chdrs 492
encoded_ptr_size 24198
find_no_debuginfo 262
find_offsets 2
for_each_section_argument 198
get_debug_elf_data 810
get_dyn_ents 136
get_dynscn_addrs 2
get_dynscn_strtab 2
get_indexed_addr 148
get_ver_flags 380
get_visibility_type 80566
getone_dwflmod 18
handle_auxv_note 18
handle_core_item 800
handle_core_items 74
handle_core_note 76
handle_core_register 324
handle_core_registers 74
handle_dynamic 136
handle_dynamic_symtab 0
handle_file_note 12
handle_gnu_hash 130
handle_hash 184
handle_notes 230
handle_notes_data 506
handle_relocs_rel 92
handle_relocs_rela 282
handle_relocs_relr 0
handle_scngrp 32
handle_siginfo_note 12
handle_symtab 266
handle_sysv_hash 0
handle_sysv_hash64 0
handle_verdef 4
handle_verneed 130
handle_versym 130
hex_dump 12
is_split_dwarf 396
listptr_attr 763878
listptr_base 21870
listptr_cu 5130
mac_compare 0
main 890
next_listptr_offset 109742
notice_listptr 257642
open_input_section 10
parse_opt 5662
print_attributes 192
print_block 510
print_bytes 24
print_cfa_program 24508
print_core_item 1642
print_debug 502
print_debug_abbrev_section 88
print_debug_addr_section 8
print_debug_aranges_section 92
print_debug_exception_table 0
print_debug_frame_hdr_section 140
print_debug_frame_section 196
print_debug_info_section 42
print_debug_line_section 186
print_debug_loc_section 52
print_debug_loclists_section 40
print_debug_macinfo_section 0
print_debug_macro_section 8
print_debug_pubnames_section 16
print_debug_ranges_section 32
print_debug_rnglists_section 38
print_debug_str_offsets_section 12
print_debug_str_section 134
print_debug_types_section 2
print_debug_units 208
print_decoded_aranges_section 2
print_decoded_line_section 82
print_dwarf_addr 2254950
print_dynamic 190
print_ehdr 190
print_encoding 642
print_encoding_base 642
print_file_type 190
print_flag_info 506
print_flags 74
print_form_data 143590
print_gdb_index_section 8
print_hash_info 130
print_liblist 192
print_ops 785094
print_phdr 188
print_pubnames 68
print_relinfo 502
print_relocs 194
print_scngrp 202
print_shdr 506
print_string_section 374
print_strings 0
print_symtab 438
print_verinfo 184
process_dwflmod 968
process_elf_file 968
process_file 972
process_symtab 266
read_encoded 280
register_bitpos 4132
register_info 39562
same_set 1728
section_name 1252
skip_listptr_hole 208
sort_listptr 182
split_dwarf_cu_base 0
string_or_unknown 20961176

Generated by: LCOV version 2.0-1