LCOV - code coverage report
Current view:
top level
-
src/elf
- relocation.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
lief.lcov
Lines:
8.7 %
1068
93
Test Date:
2024-10-27:00:00:00
Functions:
64.1 %
39
25
Function Name
Hit count
Lines
<lief::elf::relocation::Type>::from_value
1
1.8 % (18 / 988)
<lief::elf::relocation::Encoding>::from_value
1
62.5 % (5 / 8)
<lief::elf::relocation::Purpose>::from_value
1
75.0 % (6 / 8)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary, lief_ffi::autocxx_ffi::bindgen::root::ELF_Binary_it_dynamic_relocations> 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_object_relocations> 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_pltgot_relocations> 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_relocations> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (1 / 1)
<lief::elf::relocation::Encoding as core::cmp::Ord>::cmp
2
100.0 % (1 / 1)
::clone
0
::cmp
0
::partial_cmp
0
::hash::<_>
0
::eq
1
::fmt
1
<lief::elf::relocation::Purpose as core::cmp::Ord>::cmp
1
100.0 % (1 / 1)
::clone
0
::cmp
0
::eq
0
::partial_cmp
0
::hash::<_>
0
::fmt
1
<lief::elf::relocation::Relocation as core::fmt::Debug>::fmt
1
100.0 % (15 / 15)
<lief::elf::relocation::Relocation as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::ELF_Relocation>>::from_ffi
1
100.0 % (6 / 6)
<lief::elf::relocation::Relocation as lief::generic::Relocation>::as_generic
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::addend
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::architecture
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::encoding
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::get_type
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::info
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::is_rel
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::is_rela
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::purpose
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::section
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::symbol
1
100.0 % (3 / 3)
<lief::elf::relocation::Relocation>::symbol_table
1
100.0 % (3 / 3)
<lief::elf::relocation::Type as core::cmp::Ord>::cmp
1
100.0 % (1 / 1)
::clone
0
::cmp
0
::eq
0
::partial_cmp
0
::hash::<_>
0
::fmt
1
Generated by:
LCOV version 2.1-1