LCOV - code coverage report
Current view:
top level
-
src/elf
- header.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
lief.lcov
Lines:
79.6 %
137
109
Test Date:
2024-10-27:00:00:00
Functions:
53.7 %
54
29
Function Name
Hit count
Lines
<lief::elf::header::Class 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::header::Class>::from_value
1
71.4 % (5 / 7)
<lief::elf::header::ElfData 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::header::ElfData>::from_value
1
71.4 % (5 / 7)
<lief::elf::header::FileType 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::header::FileType>::from_value
1
77.8 % (7 / 9)
<lief::elf::header::Header as core::fmt::Debug>::fmt
1
100.0 % (21 / 21)
<lief::elf::header::Header as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::ELF_Header>>::from_ffi
1
100.0 % (6 / 6)
<lief::elf::header::Header>::entrypoint
1
100.0 % (3 / 3)
<lief::elf::header::Header>::file_type
1
100.0 % (3 / 3)
<lief::elf::header::Header>::header_size
1
100.0 % (3 / 3)
<lief::elf::header::Header>::identity_class
1
100.0 % (3 / 3)
<lief::elf::header::Header>::identity_data
1
100.0 % (3 / 3)
<lief::elf::header::Header>::identity_os_abi
1
100.0 % (3 / 3)
<lief::elf::header::Header>::identity_version
1
100.0 % (3 / 3)
<lief::elf::header::Header>::machine_type
1
100.0 % (3 / 3)
<lief::elf::header::Header>::numberof_sections
1
100.0 % (3 / 3)
<lief::elf::header::Header>::numberof_segments
1
100.0 % (3 / 3)
<lief::elf::header::Header>::object_file_version
1
100.0 % (3 / 3)
<lief::elf::header::Header>::processor_flag
1
100.0 % (3 / 3)
<lief::elf::header::Header>::program_header_size
1
100.0 % (3 / 3)
<lief::elf::header::Header>::program_headers_offset
1
100.0 % (3 / 3)
<lief::elf::header::Header>::section_header_size
1
100.0 % (3 / 3)
<lief::elf::header::Header>::section_headers_offset
1
100.0 % (3 / 3)
<lief::elf::header::Header>::section_name_table_idx
1
100.0 % (3 / 3)
<lief::elf::header::OsAbi 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::header::OsAbi>::from_value
1
20.0 % (5 / 25)
<lief::elf::header::Version 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::header::Version>::from_value
1
66.7 % (4 / 6)
Generated by:
LCOV version 2.1-1