LCOV - code coverage report
Current view: top level - src - readelf.c (source / functions) Coverage Total Hit
Test: elfutils-0.193 Lines: 64.6 % 6889 4448
Test Date: 2025-04-25 16:41:10 Functions: 86.8 % 182 158
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 51.7 % 5235 2704

Function Name Sort by function name Hit count Sort by function hit count
add_dump_section 560
attr_callback 7424990
buf_has_data 390
buf_read_int 36
buf_read_ulong 354
check_archive_index 4
cleanup_list 1784
compare_core_item_groups 278
compare_core_items 1790
compare_listptr 2842
compare_register_sets 40
compare_registers 9190
compare_sets_by_info 2124
convert 1862
count_dwflmod 870
create_dwfl 988
cudie_base 558
die_type_sign_bytes 353228
dump_archive_index 4
dump_data 12
dump_data_section 12
dump_strings 184
dwarf_access_name 0
dwarf_access_string 0
dwarf_attr_name 8079120
dwarf_attr_string 8079120
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 59608
dwarf_encoding_string 59608
dwarf_form_name 8089568
dwarf_form_string 8089568
dwarf_identifier_case_name 0
dwarf_identifier_case_string 0
dwarf_inline_name 176
dwarf_inline_string 176
dwarf_lang_name 3746
dwarf_lang_string 3750
dwarf_line_content_description_name 10448
dwarf_line_content_description_string 10448
dwarf_lname_name 3472
dwarf_lname_string 3472
dwarf_loc_list_encoding_name 182
dwarf_loc_list_encoding_string 182
dwarf_locexpr_opcode_string 122994
dwarf_ordering_name 0
dwarf_ordering_string 0
dwarf_range_list_encoding_name 2782
dwarf_range_list_encoding_string 2782
dwarf_tag_name 2013228
dwarf_tag_string 2013228
dwarf_unit_name 3496
dwarf_unit_string 3496
dwarf_virtuality_name 0
dwarf_virtuality_string 0
dwarf_visibility_name 0
dwarf_visibility_string 0
elf_ch_type_name 384
elf_contains_chdrs 492
encoded_ptr_size 30488
find_no_debuginfo 262
find_offsets 2
for_each_section_argument 196
get_debug_elf_data 776
get_dyn_ents 134
get_dynscn_addrs 2
get_dynscn_strtab 2
get_indexed_addr 148
get_listptr 728
get_ver_flags 300
get_visibility_type 94006
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 134
handle_dynamic_symtab 0
handle_file_note 12
handle_gnu_hash 128
handle_hash 182
handle_notes 228
handle_notes_data 552
handle_relocs_rel 92
handle_relocs_rela 250
handle_relocs_relr 0
handle_scngrp 32
handle_siginfo_note 12
handle_symtab 262
handle_sysv_hash 0
handle_sysv_hash64 0
handle_verdef 4
handle_verneed 128
handle_versym 128
hex_dump 12
is_split_dwarf 394
left 24
listptr_attr 184
listptr_base 558
listptr_cu 338
mac_compare 0
main 892
next_listptr_offset 2
notice_listptr 1440
open_input_section 10
parse_opt 5674
print_attributes 190
print_block 0
print_bytes 24
print_cfa_program 30754
print_core_item 1642
print_debug 500
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 138
print_debug_frame_section 194
print_debug_info_section 206
print_debug_line_section 186
print_debug_loc_section 52
print_debug_loclists_section 8
print_debug_macinfo_section 0
print_debug_macro_section 8
print_debug_pubnames_section 16
print_debug_ranges_section 32
print_debug_rnglists_section 36
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 838722
print_dynamic 188
print_ehdr 188
print_encoding 592
print_encoding_base 592
print_file_type 188
print_flag_info 508
print_flags 32
print_form_data 142032
print_gdb_index_section 8
print_hash_info 128
print_liblist 190
print_ops 121718
print_phdr 186
print_pubnames 68
print_relinfo 454
print_relocs 192
print_scngrp 200
print_shdr 508
print_string_section 368
print_strings 0
print_symtab 434
print_verinfo 182
process_dwflmod 970
process_elf_file 970
process_file 974
process_symtab 262
read_encoded 276
register_bitpos 4132
register_info 93508
regname 91812
reset_listptr 3000
run_advance_pc 708432
same_set 1728
section_name 1216
skip_listptr_hole 208
sort_listptr 148
split_dwarf_cu_base 0
string_or_unknown 18265846

Generated by: LCOV version 2.0-1