LCOV - code coverage report
Current view: top level - src - readelf.c (source / functions) Coverage Total Hit
Test: elfutils-0.195 Lines: 67.7 % 7252 4911
Test Date: 2026-07-21 15:36:14 Functions: 90.1 % 162 146
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 52.4 % 5119 2683

Function Name Sort by function name Hit count Sort by function hit count
add_dump_section 566
attr_callback 9304860
buf_read_int 36
buf_read_ulong 354
check_archive_index 4
compare_core_item_groups 278
compare_core_items 1790
compare_listptr 2055336
compare_register_sets 40
compare_registers 9190
compare_sets_by_info 2124
convert 1864
count_dwflmod 874
create_dwfl 992
cudie_base 6106
die_type_sign_bytes 408120
dump_archive_index 4
dump_data 12
dump_data_section 12
dump_strings 186
dwarf_access_name 0
dwarf_attr_name 10188796
dwarf_attr_string 10188796
dwarf_calling_convention_name 0
dwarf_defaulted_name 0
dwarf_discr_list_name 16
dwarf_encoding_name 68132
dwarf_form_name 10200798
dwarf_form_string 10200798
dwarf_identifier_case_name 0
dwarf_inline_name 8296
dwarf_lang_name 4264
dwarf_lang_string 4268
dwarf_line_content_description_name 12002
dwarf_line_content_description_string 12002
dwarf_lname_name 4
dwarf_lname_string 4
dwarf_loc_list_encoding_name 747786
dwarf_loc_list_encoding_string 747786
dwarf_ordering_name 0
dwarf_range_list_encoding_name 168840
dwarf_range_list_encoding_string 168840
dwarf_section_short_string 104
dwarf_tag_name 2641492
dwarf_tag_string 2641492
dwarf_unit_name 4014
dwarf_unit_string 4014
dwarf_virtuality_name 0
dwarf_visibility_name 0
elf_contains_chdrs 494
encoded_ptr_size 27090
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 384
get_visibility_type 89288
getone_dwflmod 18
handle_auxv_note 18
handle_core_item 802
handle_core_items 76
handle_core_note 78
handle_core_register 324
handle_core_registers 76
handle_dynamic 136
handle_dynamic_symtab 0
handle_file_note 12
handle_gnu_hash 130
handle_hash 184
handle_notes 232
handle_notes_data 508
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
init_gettext_strs 896
is_split_dwarf 206
listptr_attr 872804
listptr_base 6106
listptr_cu 5898
mac_compare 0
main 896
next_listptr_offset 125018
notice_listptr 293394
open_input_section 10
parse_opt 5698
print_attributes 192
print_block 590
print_bytes 24
print_cfa_program 27400
print_core_item 1644
print_cu_index_section 8
print_debug 506
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 2574256
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 166116
print_gdb_index_section 8
print_hash_info 130
print_liblist 192
print_ops 893398
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 974
process_elf_file 974
process_file 978
process_symtab 266
read_encoded 280
register_bitpos 4132
register_info 44022
same_set 1728
section_name 1260
skip_listptr_hole 208
sort_listptr 182
split_dwarf_cu_base 0
string_or_unknown 24044444

Generated by: LCOV version 2.0-1