LCOV - code coverage report
Current view: top level - src - readelf.c (source / functions) Coverage Total Hit
Test: elfutils-0.195 Lines: 67.6 % 7294 4929
Test Date: 2026-04-15 18:52:09 Functions: 87.6 % 186 163
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 52.3 % 5150 2695

Function Name Sort by function name Hit count Sort by function hit count
add_dump_section 566
attr_callback 9209230
buf_has_data 390
buf_read_int 36
buf_read_ulong 354
check_archive_index 4
cleanup_list 1796
compare_core_item_groups 278
compare_core_items 1790
compare_listptr 1534948
compare_register_sets 40
compare_registers 9190
compare_sets_by_info 2124
convert 1862
count_dwflmod 876
create_dwfl 994
cudie_base 5370
die_type_sign_bytes 408744
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 10057202
dwarf_attr_string 10057202
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 68268
dwarf_encoding_string 68268
dwarf_form_name 10069228
dwarf_form_string 10069228
dwarf_identifier_case_name 0
dwarf_identifier_case_string 0
dwarf_inline_name 1888
dwarf_inline_string 1888
dwarf_lang_name 4272
dwarf_lang_string 4276
dwarf_line_content_description_name 12026
dwarf_line_content_description_string 12026
dwarf_lname_name 3998
dwarf_lname_string 3998
dwarf_loc_list_encoding_name 516084
dwarf_loc_list_encoding_string 516084
dwarf_locexpr_opcode_string 1016642
dwarf_ordering_name 0
dwarf_ordering_string 0
dwarf_range_list_encoding_name 36506
dwarf_range_list_encoding_string 36506
dwarf_section_short_string 104
dwarf_tag_name 2589226
dwarf_tag_string 2589226
dwarf_unit_name 4022
dwarf_unit_string 4022
dwarf_virtuality_name 0
dwarf_virtuality_string 0
dwarf_visibility_name 0
dwarf_visibility_string 0
elf_ch_type_name 384
elf_contains_chdrs 494
encoded_ptr_size 33194
find_no_debuginfo 262
find_offsets 2
for_each_section_argument 198
get_debug_elf_data 3232
get_dyn_ents 136
get_dynscn_addrs 2
get_dynscn_strtab 2
get_indexed_addr 148
get_listptr 1242992
get_ver_flags 340
get_visibility_type 113092
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 560
handle_relocs_rel 92
handle_relocs_rela 846
handle_relocs_relr 0
handle_scngrp 610
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 898
is_split_dwarf 206
left 24
listptr_attr 622012
listptr_base 5370
listptr_cu 5162
mac_compare 0
main 898
next_listptr_offset 105928
notice_listptr 224848
open_input_section 10
parse_opt 5710
print_attributes 192
print_block 942
print_bytes 24
print_cfa_program 33462
print_core_item 1642
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 206
print_debug_line_section 186
print_debug_loc_section 52
print_debug_loclists_section 40
print_debug_macinfo_section 0
print_debug_macro_section 2430
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_dt_feature_1 2
print_dt_flags 14
print_dt_flags_1 14
print_dt_posflag_1 2
print_dwarf_addr 1991300
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 1086260
print_gdb_index_section 8
print_hash_info 130
print_liblist 192
print_ops 789320
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 976
process_elf_file 976
process_file 980
process_symtab 266
read_encoded 280
register_bitpos 4132
register_info 126334
regname 124638
reset_listptr 3036
run_advance_pc 871608
same_set 1728
schedule_job 3524
section_name 3682
skip_listptr_hole 208
sort_listptr 182
split_dwarf_cu_base 0
string_or_unknown 23362740

Generated by: LCOV version 2.0-1