LCOV - code coverage report
Current view:
top level
-
src/macho
- section.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
lief.lcov
Lines:
67.0 %
188
126
Test Date:
2026-04-12:00:00:00
Functions:
50.9 %
57
29
Function Name
Hit count
Lines
<_ as lief::macho::section::MachOSection>::address
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::address
0
::address
1
<_ as lief::macho::section::MachOSection>::alignment
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::alignment
0
::alignment
1
<_ as lief::macho::section::MachOSection>::flags
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::flags
0
::flags
1
<_ as lief::macho::section::MachOSection>::numberof_relocations
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::numberof_relocations
0
::numberof_relocations
1
<_ as lief::macho::section::MachOSection>::raw_flags
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::raw_flags
0
::raw_flags
1
<_ as lief::macho::section::MachOSection>::relocation_offset
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::relocation_offset
0
::relocation_offset
1
<_ as lief::macho::section::MachOSection>::relocations
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::relocations
0
::relocations
1
<_ as lief::macho::section::MachOSection>::reserved1
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::reserved1
0
::reserved1
1
<_ as lief::macho::section::MachOSection>::reserved2
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::reserved2
0
::reserved2
1
<_ as lief::macho::section::MachOSection>::reserved3
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::reserved3
0
::reserved3
1
<_ as lief::macho::section::MachOSection>::section_type
2
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::section_type
0
::section_type
1
::section_type
1
<_ as lief::macho::section::MachOSection>::segment
1
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::segment
0
::segment
1
<_ as lief::macho::section::MachOSection>::segment_name
2
100.0 % (3 / 3)
<_ as lief::macho::section::MachOSection>::segment_name
0
::segment_name
1
::segment_name
1
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary, lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary_it_sections> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_Section, lief_ffi::autocxx_ffi::bindgen::root::MachO_Section_it_relocations> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::macho::section::Flags as core::cmp::Ord>::cmp
1
7.1 % (1 / 14)
::clone
0
::cmp
0
::eq
0
::partial_cmp
0
::fmt
1
::hash::<_>
0
<lief::macho::section::Flags as core::convert::From<u64>>::from
0
0.0 % (0 / 3)
<lief::macho::section::Flags as core::fmt::Display>::fmt
0
0.0 % (0 / 3)
<lief::macho::section::Generic as core::fmt::Debug>::fmt
1
100.0 % (20 / 20)
<lief::macho::section::Generic as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::MachO_Section>>::from_ffi
1
100.0 % (6 / 6)
<lief::macho::section::Generic as lief::generic::Section>::as_generic
1
100.0 % (3 / 3)
<lief::macho::section::Generic as lief::generic::Section>::as_generic_mut
0
0.0 % (0 / 9)
<lief::macho::section::Generic as lief::macho::section::MachOSection>::as_base
1
100.0 % (3 / 3)
<lief::macho::section::Generic as lief::macho::section::MachOSection>::as_mut_base
0
0.0 % (0 / 9)
<lief::macho::section::Section as core::fmt::Debug>::fmt
1
100.0 % (1 / 1)
<lief::macho::section::Section as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::MachO_Section>>::from_ffi
1
100.0 % (12 / 12)
<lief::macho::section::Section as lief::generic::Section>::as_generic
1
80.0 % (4 / 5)
<lief::macho::section::Section as lief::generic::Section>::as_generic_mut
0
0.0 % (0 / 5)
<lief::macho::section::Section as lief::macho::section::MachOSection>::as_base
1
100.0 % (5 / 5)
<lief::macho::section::Section as lief::macho::section::MachOSection>::as_mut_base
0
0.0 % (0 / 5)
<lief::macho::section::Type as core::convert::From<u64>>::from
1
63.0 % (17 / 27)
<lief::macho::section::Type as core::fmt::Debug>::fmt
2
100.0 % (1 / 1)
::clone
0
::eq
1
::fmt
1
::hash::<_>
0
<lief::macho::section::_::InternalBitFlags as core::str::traits::FromStr>::from_str::{closure#0}
0
0.0 % (0 / 1)
<u64 as core::convert::From<lief::macho::section::Flags>>::from
0
0.0 % (0 / 3)
Generated by:
LCOV version 2.1-1