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 98b443d9
Lines:
2671
3908
68.3 %
Date:
2024-05-31 13:13:24
Functions:
147
171
86.0 %
Function Name
Hit count
__close_nocancel
0
__swrap_bind_symbol_all_once
172730
_socket_wrapper_init_mutex
1272292
_swrap_bind_symbol
6909200
_swrap_mutex_lock
273165250
_swrap_mutex_unlock
273102068
convert_in_un_alloc
4939
convert_in_un_remote
9286442
convert_un_in
310263
find_socket_info
72277269
find_socket_info_index
495006603
getprogname
56125788
libc___close_nocancel
0
libc_accept4
199589
libc_bind
276081
libc_close
67613541
libc_connect
9300365
libc_dup
160530
libc_dup2
375166
libc_eventfd
48703
libc_fopen
2762605
libc_fopen64
77576
libc_getpeername
13999
libc_getsockname
1227342
libc_getsockopt
550319
libc_listen
4294
libc_open
74920436
libc_pipe
866271
libc_read
8724308
libc_readv
13589132
libc_recv
8894539
libc_recvfrom
72875
libc_recvmmsg
0
libc_recvmsg
3346174
libc_send
1024384
libc_sendmmsg
69
libc_sendmsg
2307770
libc_sendto
63394
libc_setsockopt
62917
libc_signalfd
0
libc_socket
1739392
libc_socketpair
1760
libc_timerfd_create
0
libc_vfcntl
293771944
libc_vfcntl64
66684
libc_vioctl
2932821
libc_vopen
80647980
libc_vopen64
1421058
libc_vopenat
5907679
libc_vopenat64
4409
libc_vsyscall
782943
libc_write
5674450
libc_writev
13891228
reset_socket_info_index
2029646
set_port
212288
set_socket_info_index
3757959
sockaddr_convert_from_un
310263
sockaddr_convert_to_un
9291381
socket_length
144289
socket_wrapper_default_iface
435519
socket_wrapper_dir
11272843
socket_wrapper_enabled
1771903
socket_wrapper_indicate_no_inet_fd
0
socket_wrapper_init_fds_idx
40828
socket_wrapper_init_sockets
1771880
socket_wrapper_max_sockets
40828
socket_wrapper_mtu
37477049
socket_wrapper_syscall_va
0
socket_wrapper_syscall_valid
0
swrap___close_nocancel
0
swrap_accept
204154
swrap_add_socket_info
1712062
swrap_auto_bind
213900
swrap_bind
68402
swrap_bind_symbol_all
600133859
swrap_bindresvport_sa
0
swrap_close
64300896
swrap_close_fd_array
0
swrap_connect
331676
swrap_constructor
172730
swrap_create_socket
1710187
swrap_dec_fd_passed_array
0
swrap_dec_refcount
1994303
swrap_destructor
221745
swrap_dir_usable
11272820
swrap_dup
164357
swrap_dup2
383816
swrap_eventfd
49661
swrap_fopen
2848026
swrap_fopen64
80145
swrap_get_next_free
1681221
swrap_get_refcount
1994303
swrap_get_socket_info
56599072
swrap_getpeername
220725
swrap_getsockname
1495155
swrap_getsockopt
557314
swrap_inc_refcount
1697472
swrap_inject_o_largefile
87307655
swrap_ipv4_bcast
9280698
swrap_ipv4_iface
525667
swrap_ipv4_net
19142535
swrap_ipv6
6536
swrap_is_swrap_related_syscall
36620856
swrap_listen
4382
swrap_load_lib_handle
6909200
swrap_log
56739697
swrap_msghdr_add_cmsghdr
0
swrap_msghdr_add_pktinfo
0
swrap_msghdr_add_socket_info
0
swrap_noop_close
16123966
swrap_pcap_dump_packet
39788998
swrap_pcap_get_fd
37460218
swrap_pcap_init_file
39788998
swrap_pcap_marshall_packet
37661844
swrap_pcap_packet_init
37460218
swrap_pipe
870136
swrap_read
22754521
swrap_readv
13634935
swrap_recv
8942440
swrap_recvfrom
74874
swrap_recvmmsg
0
swrap_recvmsg
3431189
swrap_recvmsg_after
23222992
swrap_recvmsg_after_unix
203468
swrap_recvmsg_before
23229162
swrap_recvmsg_before_unix
203468
swrap_recvmsg_unix_scm_rights
62996
swrap_recvmsg_unix_sol_socket
62996
swrap_remove_stale
15793296
swrap_remove_wrapper
83547822
swrap_send
10002613
swrap_sendmmsg
69
swrap_sendmsg
2384244
swrap_sendmsg_after
14442965
swrap_sendmsg_after_unix
527167
swrap_sendmsg_before
23433626
swrap_sendmsg_before_unix
527170
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
63445
swrap_sendmsg_unix_sol_socket
63445
swrap_sendto
59985
swrap_set_next_free
2658479812
swrap_setsockopt
135890
swrap_signalfd
0
swrap_sockaddr_string
18263648
swrap_socket
1771516
swrap_socketpair
1930
swrap_str_lib
6711120
swrap_syscall
386
swrap_thread_child
9026
swrap_thread_parent
1322957
swrap_thread_prepare
1331983
swrap_timerfd_create
0
swrap_un_path
21366601
swrap_un_path_EINVAL
4991
swrap_undo_si_idx_array
0
swrap_uwrap_syscall_va
35929689
swrap_uwrap_syscall_valid
36712632
swrap_vfcntl
308305123
swrap_vfcntl64
68130
swrap_vioctl
2976055
swrap_vopen
5727544
swrap_vopen64
1421058
swrap_vopenat
5907679
swrap_vopenat64
4409
swrap_write
21246707
swrap_writev
13956664
Generated by:
LCOV version 1.14