LCOV - code coverage report
Current view:
top level
-
third_party/socket_wrapper
- socket_wrapper.c
(
source
/ functions)
Hit
Total
Coverage
Test:
coverage report for master 70ed9daf
Lines:
2672
3908
68.4 %
Date:
2024-01-11 09:59:51
Functions:
147
171
86.0 %
Function Name
Hit count
__close_nocancel
0
__swrap_bind_symbol_all_once
168078
_socket_wrapper_init_mutex
1235892
_swrap_bind_symbol
6723120
_swrap_mutex_lock
275462930
_swrap_mutex_unlock
275403585
convert_in_un_alloc
4806
convert_in_un_remote
15167448
convert_un_in
301455
find_socket_info
77754552
find_socket_info_index
502486939
getprogname
79493863
libc___close_nocancel
0
libc_accept4
199684
libc_bind
271548
libc_close
66809691
libc_connect
15183456
libc_dup
162274
libc_dup2
352530
libc_eventfd
47622
libc_fopen
2827865
libc_fopen64
75300
libc_getpeername
13993
libc_getsockname
1264638
libc_getsockopt
675793
libc_listen
4222
libc_open
74048382
libc_pipe
814761
libc_read
8531322
libc_readv
13703627
libc_recv
8883705
libc_recvfrom
70299
libc_recvmmsg
0
libc_recvmsg
3340510
libc_send
1021911
libc_sendmmsg
69
libc_sendmsg
2311821
libc_sendto
60115
libc_setsockopt
61730
libc_signalfd
0
libc_socket
1733507
libc_socketpair
1683
libc_timerfd_create
0
libc_vfcntl
292707602
libc_vfcntl64
62736
libc_vioctl
2866128
libc_vopen
79692234
libc_vopen64
1401451
libc_vopenat
5885617
libc_vopenat64
4465
libc_vsyscall
739759
libc_write
5649922
libc_writev
13528800
reset_socket_info_index
2015054
set_port
209172
set_socket_info_index
3735340
sockaddr_convert_from_un
301455
sockaddr_convert_to_un
15172254
socket_length
139075
socket_wrapper_default_iface
428936
socket_wrapper_dir
17144060
socket_wrapper_enabled
1765523
socket_wrapper_indicate_no_inet_fd
0
socket_wrapper_init_fds_idx
39336
socket_wrapper_init_sockets
1765500
socket_wrapper_max_sockets
39336
socket_wrapper_mtu
37058647
socket_wrapper_syscall_va
0
socket_wrapper_syscall_valid
0
swrap___close_nocancel
0
swrap_accept
204162
swrap_add_socket_info
1704281
swrap_auto_bind
210817
swrap_bind
66892
swrap_bind_symbol_all
602594226
swrap_bindresvport_sa
0
swrap_close
63457436
swrap_close_fd_array
0
swrap_connect
329084
swrap_constructor
168078
swrap_create_socket
1702399
swrap_dec_fd_passed_array
0
swrap_dec_refcount
1980271
swrap_destructor
215946
swrap_dir_usable
17144037
swrap_dup
165800
swrap_dup2
361013
swrap_eventfd
48559
swrap_fopen
2912393
swrap_fopen64
77728
swrap_get_next_free
1673900
swrap_get_refcount
1980271
swrap_get_socket_info
62353507
swrap_getpeername
216643
swrap_getsockname
1512270
swrap_getsockopt
682691
swrap_inc_refcount
1689905
swrap_inject_o_largefile
86308044
swrap_ipv4_bcast
15161794
swrap_ipv4_iface
513805
swrap_ipv4_net
30891207
swrap_ipv6
6245
swrap_is_swrap_related_syscall
36618699
swrap_listen
4308
swrap_load_lib_handle
6723120
swrap_log
80073226
swrap_msghdr_add_cmsghdr
0
swrap_msghdr_add_pktinfo
0
swrap_msghdr_add_socket_info
0
swrap_noop_close
15875098
swrap_pcap_dump_packet
39324767
swrap_pcap_get_fd
37024191
swrap_pcap_init_file
39324767
swrap_pcap_marshall_packet
37227369
swrap_pcap_packet_init
37024191
swrap_pipe
818637
swrap_read
23786466
swrap_readv
13747941
swrap_recv
8930867
swrap_recvfrom
72278
swrap_recvmmsg
0
swrap_recvmsg
3414729
swrap_recvmsg_after
23196930
swrap_recvmsg_after_unix
215676
swrap_recvmsg_before
23204626
swrap_recvmsg_before_unix
215676
swrap_recvmsg_unix_scm_rights
70081
swrap_recvmsg_unix_sol_socket
70081
swrap_remove_stale
15539651
swrap_remove_wrapper
82474317
swrap_send
15885713
swrap_sendmmsg
69
swrap_sendmsg
2378191
swrap_sendmsg_after
14045530
swrap_sendmsg_after_unix
539068
swrap_sendmsg_before
28921299
swrap_sendmsg_before_unix
539071
swrap_sendmsg_copy_cmsg
0
swrap_sendmsg_filter_cmsg_ipproto_ip
0
swrap_sendmsg_filter_cmsg_pktinfo
0
swrap_sendmsg_filter_cmsg_sol_socket
0
swrap_sendmsg_filter_cmsghdr
0
swrap_sendmsg_unix_scm_rights
70274
swrap_sendmsg_unix_sol_socket
70274
swrap_sendto
58336
swrap_set_next_free
2560686314
swrap_setsockopt
133108
swrap_signalfd
0
swrap_sockaddr_string
30031231
swrap_socket
1765136
swrap_socketpair
1853
swrap_str_lib
6529640
swrap_syscall
386
swrap_thread_child
8478
swrap_thread_parent
1213371
swrap_thread_prepare
1221849
swrap_timerfd_create
0
swrap_un_path
33093018
swrap_un_path_EINVAL
4646
swrap_undo_si_idx_array
0
swrap_uwrap_syscall_va
35960482
swrap_uwrap_syscall_valid
36700241
swrap_vfcntl
308365351
swrap_vfcntl64
64080
swrap_vioctl
2908749
swrap_vopen
5643852
swrap_vopen64
1401451
swrap_vopenat
5885617
swrap_vopenat64
4465
swrap_write
23063690
swrap_writev
13589968
Generated by:
LCOV version 1.14