LCOV - code coverage report
Current view: top level - src/elf - binary.rs (source / functions) Coverage Total Hit
Test: lief.lcov Lines: 92.2 % 166 153
Test Date: 2024-10-27:00:00:00 Functions: 67.6 % 71 48

Function Name Sort by function name Hit count Sort by function hit count Lines Sort by unexercised lines in function
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary, lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary_it_symbols_version> as core::iter::traits::iterator::Iterator>::next::{closure#0} 1 100.0 % (1 / 1)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary, lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary_it_symbols_version_definition> as core::iter::traits::iterator::Iterator>::next::{closure#0} 1 100.0 % (1 / 1)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary, lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary_it_symbols_version_requirement> as core::iter::traits::iterator::Iterator>::next::{closure#0} 1 100.0 % (1 / 1)
<lief::elf::binary::Binary as core::fmt::Debug>::fmt 1 100.0 % (5 / 5)
<lief::elf::binary::Binary as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary>>::from_ffi 1 100.0 % (5 / 5)
<lief::elf::binary::Binary as lief::generic::Binary>::as_generic 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::content_from_virtual_address 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::dynamic_entries 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::dynamic_relocations 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::dynamic_symbol_by_name 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::dynamic_symbols 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::exported_symbols 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::get_int_from_virtual_address::<_> 4 100.0 % (10 / 10)
::get_int_from_virtual_address::<_> 0
::get_int_from_virtual_address:: 1
::get_int_from_virtual_address:: 1
::get_int_from_virtual_address:: 1
::get_int_from_virtual_address:: 1
<lief::elf::binary::Binary>::get_int_from_virtual_address::<_>::{closure#0} 1 100.0 % (7 / 7)
::get_int_from_virtual_address::<_>::{closure#0} 0
::get_int_from_virtual_address::::{closure#0} 0
::get_int_from_virtual_address::::{closure#0} 0
::get_int_from_virtual_address::::{closure#0} 1
::get_int_from_virtual_address::::{closure#0} 0
<lief::elf::binary::Binary>::get_int_from_virtual_address::<_>::{closure#1} 1 100.0 % (7 / 7)
::get_int_from_virtual_address::<_>::{closure#1} 0
::get_int_from_virtual_address::::{closure#1} 1
::get_int_from_virtual_address::::{closure#1} 0
::get_int_from_virtual_address::::{closure#1} 0
::get_int_from_virtual_address::::{closure#1} 0
<lief::elf::binary::Binary>::get_int_from_virtual_address::<_>::{closure#2} 1 100.0 % (7 / 7)
::get_int_from_virtual_address::<_>::{closure#2} 0
::get_int_from_virtual_address::::{closure#2} 0
::get_int_from_virtual_address::::{closure#2} 0
::get_int_from_virtual_address::::{closure#2} 0
::get_int_from_virtual_address::::{closure#2} 1
<lief::elf::binary::Binary>::get_int_from_virtual_address::<_>::{closure#3} 1 50.0 % (3 / 6)
::get_int_from_virtual_address::<_>::{closure#3} 0
::get_int_from_virtual_address::::{closure#3} 0
::get_int_from_virtual_address::::{closure#3} 1
::get_int_from_virtual_address::::{closure#3} 0
::get_int_from_virtual_address::::{closure#3} 0
<lief::elf::binary::Binary>::get_library 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::get_relocated_dynamic_array 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::gnu_hash 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::header 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::imported_symbols 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::interpreter 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::is_targeting_android 0 0.0 % (0 / 3)
<lief::elf::binary::Binary>::notes 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::object_relocations 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::parse 1 100.0 % (4 / 4)
<lief::elf::binary::Binary>::pltgot_relocations 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::relocation_by_addr 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::relocation_for_symbol 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::relocations 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::section_by_name 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::section_from_offset 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::section_from_virtual_address 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::sections 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::segment_from_offset 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::segment_from_virtual_address 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::segments 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::symbols_version 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::symbols_version_definition 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::symbols_version_requirement 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::symtab_symbol_by_name 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::symtab_symbols 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::sysv_hash 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::virtual_address_to_offset 1 100.0 % (3 / 3)
<lief::elf::binary::Binary>::virtual_size 1 100.0 % (3 / 3)
<lief::elf::binary::ElfClass as core::fmt::Debug>::fmt 0 0.0 % (0 / 1)
::clone 0
::eq 0
::fmt 0
::hash::<_> 0
<lief::elf::binary::ElfClass>::from_value 0 0.0 % (0 / 6)

Generated by: LCOV version 2.1-1