LCOV - code coverage report
Current view:
top level
-
src/macho/commands
- segment.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
lief.lcov
Lines:
63.3 %
128
81
Test Date:
2026-04-12:00:00:00
Functions:
46.2 %
39
18
Function Name
Hit count
Lines
<lief::macho::commands::segment::Flags as core::cmp::Ord>::cmp
0
0.0 % (0 / 9)
::clone
0
::cmp
0
::eq
0
::partial_cmp
0
::fmt
0
::hash::<_>
0
<lief::macho::commands::segment::VmProtections as core::cmp::Ord>::cmp
0
0.0 % (0 / 7)
::clone
0
::cmp
0
::eq
0
::partial_cmp
0
::fmt
0
::hash::<_>
0
<lief::macho::commands::segment::Segment>::index
0
0.0 % (0 / 6)
<lief::macho::commands::segment::Flags as core::convert::From<u64>>::from
0
0.0 % (0 / 3)
<lief::macho::commands::segment::Flags as core::fmt::Display>::fmt
0
0.0 % (0 / 3)
<lief::macho::commands::segment::Segment>::get_section
0
0.0 % (0 / 3)
<lief::macho::commands::segment::VmProtections as core::convert::From<u32>>::from
0
0.0 % (0 / 3)
<lief::macho::commands::segment::VmProtections as core::fmt::Display>::fmt
0
0.0 % (0 / 3)
<u32 as core::convert::From<lief::macho::commands::segment::VmProtections>>::from
0
0.0 % (0 / 3)
<u64 as core::convert::From<lief::macho::commands::segment::Flags>>::from
0
0.0 % (0 / 3)
<lief::macho::commands::segment::_::InternalBitFlags as core::str::traits::FromStr>::from_str::{closure#0}
0
0.0 % (0 / 2)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary, lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary_it_segments> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_SegmentCommand, lief_ffi::autocxx_ffi::bindgen::root::MachO_SegmentCommand_it_relocations> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_SegmentCommand, lief_ffi::autocxx_ffi::bindgen::root::MachO_SegmentCommand_it_sections> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::macho::commands::segment::Segment as core::fmt::Debug>::fmt
1
100.0 % (15 / 15)
<lief::macho::commands::segment::Segment as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::MachO_SegmentCommand>>::from_ffi
1
100.0 % (6 / 6)
<lief::macho::commands::segment::Segment as lief::macho::commands::Command>::get_base
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::content
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::file_offset
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::file_size
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::flags
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::init_protection
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::max_protection
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::name
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::numberof_sections
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::relocations
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::sections
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::virtual_address
1
100.0 % (3 / 3)
<lief::macho::commands::segment::Segment>::virtual_size
1
100.0 % (3 / 3)
Generated by:
LCOV version 2.1-1