LCOV - code coverage report
Current view:
top level
-
src/pe
- binary.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
lief.lcov
Lines:
52.6 %
323
170
Test Date:
2025-02-23:00:00:00
Functions:
57.3 %
82
47
Function Name
Hit count
Lines
<lief::pe::binary::Binary as lief::generic::Binary>::as_pin_mut_generic
0
0.0 % (0 / 9)
<lief::pe::binary::Binary>::add_debug_info
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::add_import
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::cert_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::clear_debug
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::codeview_pdb
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::debug_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::exceptions_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::export_delay_dirdir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::export_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::find_coff_string_at
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::find_exception_at
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::get_int_from_virtual_address::<_>
0
0.0 % (0 / 12)
<lief::pe::binary::Binary>::get_int_from_virtual_address::<_>::{closure#0}
0
0.0 % (0 / 10)
<lief::pe::binary::Binary>::get_int_from_virtual_address::<_>::{closure#1}
0
0.0 % (0 / 10)
<lief::pe::binary::Binary>::get_int_from_virtual_address::<_>::{closure#2}
0
0.0 % (0 / 10)
<lief::pe::binary::Binary>::get_int_from_virtual_address::<_>::{closure#3}
0
0.0 % (0 / 8)
<lief::pe::binary::Binary>::iat_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::import_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::is_arm64ec
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::is_arm64x
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::load_config_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::parse
0
0.0 % (0 / 7)
<lief::pe::binary::Binary>::relocation_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::remove_all_imports
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::remove_debug
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::remove_import
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::remove_tls
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::rsrc_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::set_export
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::set_resources
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::set_tls
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::tls_dir
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::write
0
0.0 % (0 / 3)
<lief::pe::binary::Binary>::write_with_config
0
0.0 % (0 / 5)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::PE_Binary, lief_ffi::autocxx_ffi::bindgen::root::PE_Binary_it_debug> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::PE_Binary, lief_ffi::autocxx_ffi::bindgen::root::PE_Binary_it_exceptions> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::PE_Binary, lief_ffi::autocxx_ffi::bindgen::root::PE_Binary_it_strings_table> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::common::Iterator<lief_ffi::autocxx_ffi::bindgen::root::PE_Binary, lief_ffi::autocxx_ffi::bindgen::root::PE_Binary_it_symbols> as core::iter::traits::iterator::Iterator>::next::{closure#0}
1
100.0 % (7 / 7)
<lief::pe::binary::Binary as core::fmt::Debug>::fmt
1
100.0 % (3 / 3)
<lief::pe::binary::Binary as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::PE_Binary>>::from_ffi
1
100.0 % (3 / 3)
<lief::pe::binary::Binary as lief::generic::Binary>::as_generic
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::authentihash
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::coff_string_table
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::compute_checksum
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::content_from_virtual_address
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::data_directories
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::data_directory_by_type
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::debug
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::delay_import_by_name
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::delay_imports
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::dos_header
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::dos_stub
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::exceptions
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::export
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::functions
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::header
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::import_by_name
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::imports
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::load_configuration
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::nested_pe_binary
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::optional_header
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::overlay
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::overlay_offset
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::parse_with_config
1
87.5 % (7 / 8)
<lief::pe::binary::Binary>::relocations
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::resources
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::resources_manager
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::rich_header
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::rva_to_offset
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::section_by_name
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::section_from_offset
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::section_from_rva
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::sections
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::signatures
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::sizeof_headers
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::symbols
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::tls
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::va_to_offset
1
100.0 % (3 / 3)
<lief::pe::binary::Binary>::verify_signature
1
100.0 % (6 / 6)
<lief::pe::binary::Binary>::verify_with_signature
1
100.0 % (9 / 9)
<lief::pe::binary::Binary>::virtual_size
1
100.0 % (3 / 3)
Generated by:
LCOV version 2.1-1