LCOV - code coverage report
Current view:
top level
-
src/macho
- binary.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
lief.lcov
Lines:
46.2 %
385
178
Test Date:
2026-04-12:00:00:00
Functions:
48.1 %
108
52
Function Name
Hit count
Lines
<lief::macho::binary::Binary as lief::common::AsFFI<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary>>::as_ffi
0
0.0 % (0 / 3)
<lief::macho::binary::Binary as lief::common::AsFFI<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary>>::as_mut_ffi
0
0.0 % (0 / 3)
<lief::macho::binary::Binary as lief::generic::Binary>::as_pin_mut_generic
0
0.0 % (0 / 10)
<lief::macho::binary::Binary>::add_command::<_>
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::add_exported_function
0
0.0 % (0 / 8)
<lief::macho::binary::Binary>::add_local_symbol
0
0.0 % (0 / 8)
<lief::macho::binary::Binary>::atom_info
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::can_remove
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::can_remove_symbol
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::fat_offset
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::find_library
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::function_variant_fixups
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::function_variants
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::get_command_type
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>
0
0.0 % (0 / 12)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>::{closure#0}
0
0.0 % (0 / 1)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>::{closure#0}::{closure#0}
0
0.0 % (0 / 9)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>::{closure#1}
0
0.0 % (0 / 1)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>::{closure#1}::{closure#0}
0
0.0 % (0 / 9)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>::{closure#2}
0
0.0 % (0 / 1)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>::{closure#2}::{closure#0}
0
0.0 % (0 / 9)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>::{closure#3}
0
0.0 % (0 / 1)
<lief::macho::binary::Binary>::get_int_from_virtual_address::<_>::{closure#3}::{closure#0}
0
0.0 % (0 / 7)
<lief::macho::binary::Binary>::get_section
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::get_segment
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::get_symbol
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::has_command_type
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::has_section
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::has_segment
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::has_symbol
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::is_valid_addr
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::objc_metadata
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::overlay
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::remove_command
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::remove_commands_by_type
0
0.0 % (0 / 6)
<lief::macho::binary::Binary>::remove_section
0
0.0 % (0 / 6)
<lief::macho::binary::Binary>::remove_section_from_segment
0
0.0 % (0 / 7)
<lief::macho::binary::Binary>::remove_signature
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::remove_symbol
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::rpaths
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::section_from_offset
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::section_from_virtual_address
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::segment_from_offset
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::segment_from_virtual_address
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::shift
0
0.0 % (0 / 1)
<lief::macho::binary::Binary>::shift::{closure#0}
0
0.0 % (0 / 2)
<lief::macho::binary::Binary>::shift_linkedit
0
0.0 % (0 / 4)
<lief::macho::binary::Binary>::shift_linkedit::{closure#0}
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::support_arm64_ptr_auth
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::tlv_initial_content_range
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::unexport_name
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::unexport_symbol
0
0.0 % (0 / 3)
<lief::macho::binary::Binary>::virtual_address_to_offset
0
0.0 % (0 / 1)
<lief::macho::binary::Binary>::virtual_address_to_offset::{closure#0}
0
0.0 % (0 / 2)
<lief::common::ForwardIterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary, lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary_it_bindings_info> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary, lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary_it_fileset_binaries> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary, lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary_it_notes> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary, lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary_it_stubs> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::macho::binary::Binary as core::fmt::Debug>::fmt
1
100.0 % (3 / 3)
<lief::macho::binary::Binary as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::MachO_Binary>>::from_ffi
1
100.0 % (3 / 3)
<lief::macho::binary::Binary as lief::generic::Binary>::as_generic
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::add_library
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::bindings
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::build_version
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::code_signature
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::code_signature_dir
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::commands
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::data_in_code
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::dyld_chained_fixups
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::dyld_environment
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::dyld_exports_trie
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::dyld_info
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::dylinker
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::dynamic_symbol
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::encryption_info
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::fileset_addr
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::fileset_name
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::filesets
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::function_starts
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::functions
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::header
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::is_ios
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::is_macos
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::libraries
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::linker_opt_hint
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::main_command
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::notes
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::platform
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::relocations
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::routine
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::rpath
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::sections
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::segment_split_info
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::segments
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::source_version
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::sub_framework
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::subclients
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::symbol_command
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::symbol_stubs
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::symbols
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::thread_command
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::two_level_hints
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::uuid
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::version_min
1
100.0 % (3 / 3)
<lief::macho::binary::Binary>::write::<_>
1
100.0 % (6 / 6)
::write::<_>
0
::write::<&std::path::Path>
1
<lief::macho::binary::Binary>::write_with_config::<_>
1
100.0 % (6 / 6)
::write_with_config::<_>
0
::write_with_config::<&std::path::Path>
1
Generated by:
LCOV version 2.1-1