LCOV - code coverage report
Current view: top level - src - readelf.c (source / functions) Coverage Total Hit
Test: elfutils-0.196 Lines: 67.7 % 7303 4945
Test Date: 2026-08-14 16:31:37 Functions: 87.6 % 186 163
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 52.3 % 5162 2701

Function Name Sort by function name Hit count Sort by function hit count
add_dump_section 566
attr_callback 9233046
buf_has_data 390
buf_read_int 36
buf_read_ulong 354
check_archive_index 4
cleanup_list 1808
compare_core_item_groups 278
compare_core_items 1790
compare_listptr 1523706
compare_register_sets 40
compare_registers 9190
compare_sets_by_info 2124
convert 1864
count_dwflmod 882
create_dwfl 1000
cudie_base 5306
die_type_sign_bytes 410706
dump_archive_index 4
dump_data 12
dump_data_section 12
dump_strings 186
dwarf_access_name 0
dwarf_access_string 0
dwarf_attr_name 10079884
dwarf_attr_string 10079884
dwarf_calling_convention_name 0
dwarf_calling_convention_string 0
dwarf_defaulted_name 0
dwarf_defaulted_string 0
dwarf_discr_list_name 16
dwarf_discr_list_string 16
dwarf_encoding_name 70994
dwarf_encoding_string 70994
dwarf_form_name 10091946
dwarf_form_string 10091946
dwarf_identifier_case_name 0
dwarf_identifier_case_string 0
dwarf_inline_name 1888
dwarf_inline_string 1888
dwarf_lang_name 4288
dwarf_lang_string 4292
dwarf_line_content_description_name 12062
dwarf_line_content_description_string 12062
dwarf_lname_name 4014
dwarf_lname_string 4014
dwarf_loc_list_encoding_name 545670
dwarf_loc_list_encoding_string 545670
dwarf_locexpr_opcode_string 1054530
dwarf_ordering_name 0
dwarf_ordering_string 0
dwarf_range_list_encoding_name 33058
dwarf_range_list_encoding_string 33058
dwarf_section_short_string 104
dwarf_tag_name 2592412
dwarf_tag_string 2592412
dwarf_unit_name 4040
dwarf_unit_string 4040
dwarf_virtuality_name 0
dwarf_virtuality_string 0
dwarf_visibility_name 0
dwarf_visibility_string 0
elf_ch_type_name 384
elf_contains_chdrs 496
encoded_ptr_size 33378
find_no_debuginfo 262
find_offsets 2
for_each_section_argument 198
get_debug_elf_data 3344
get_dyn_ents 136
get_dynscn_addrs 2
get_dynscn_strtab 2
get_indexed_addr 148
get_listptr 1301300
get_ver_flags 326
get_visibility_type 113664
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 562
handle_relocs_rel 92
handle_relocs_rela 886
handle_relocs_relr 0
handle_scngrp 646
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 904
is_split_dwarf 210
left 24
listptr_attr 651178
listptr_base 5306
listptr_cu 5098
mac_compare 0
main 904
next_listptr_offset 105508
notice_listptr 223332
open_input_section 10
parse_opt 5746
print_attributes 192
print_block 262
print_bytes 24
print_cfa_program 33646
print_core_item 1644
print_cu_index_section 8
print_debug 510
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 210
print_debug_line_section 186
print_debug_loc_section 52
print_debug_loclists_section 40
print_debug_macinfo_section 0
print_debug_macro_section 2538
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 212
print_decoded_aranges_section 2
print_decoded_line_section 82
print_dt_feature_1 2
print_dt_flags 14
print_dt_flags_1 14
print_dt_posflag_1 2
print_dwarf_addr 2058262
print_dynamic 190
print_ehdr 190
print_encoding 600
print_encoding_base 600
print_file_type 190
print_flag_info 510
print_flags 32
print_form_data 1187564
print_gdb_index_section 8
print_hash_info 130
print_liblist 192
print_ops 826686
print_phdr 188
print_pubnames 68
print_relinfo 460
print_relocs 194
print_scngrp 202
print_shdr 510
print_string_section 374
print_strings 0
print_symtab 438
print_verinfo 184
process_dwflmod 982
process_elf_file 982
process_file 986
process_symtab 266
read_encoded 280
register_bitpos 4132
register_info 187600
regname 185904
reset_listptr 3060
run_advance_pc 884984
same_set 1728
schedule_job 3636
section_name 3794
skip_listptr_hole 208
sort_listptr 182
split_dwarf_cu_base 0
string_or_unknown 23440276

Generated by: LCOV version 2.0-1