Coverage Report

Created: 2026-05-30 06:35

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/rtpproxy/libre/rtpp_re_stub.c
Line
Count
Source
1
#include <stdint.h>
2
#include <stdbool.h>
3
#include <stdlib.h>
4
5
#define ABSTRACT_FUNC_STUB(ret, func, ...) \
6
0
    ret __attribute__((weak)) func(__VA_ARGS__) { abort(); }
Unexecuted instantiation: icem_conncheck_send
Unexecuted instantiation: tcp_send
Unexecuted instantiation: turnc_add_chan
Unexecuted instantiation: tmr_start
Unexecuted instantiation: stun_indication
Unexecuted instantiation: ch_hex
Unexecuted instantiation: udp_listen
Unexecuted instantiation: tcp_connect
Unexecuted instantiation: tmr_get_expire
Unexecuted instantiation: udp_send
7
8
struct ice_candpair;
9
struct tcp_conn;
10
struct sa;
11
struct turnc;
12
typedef void turnc_chan_h;
13
struct tmr;
14
typedef void tmr_h;
15
typedef void udp_recv_h;
16
typedef void tcp_estab_h;
17
typedef void tcp_recv_h;
18
typedef void tcp_close_h;
19
20
ABSTRACT_FUNC_STUB(int, icem_conncheck_send, struct ice_candpair *cp, bool use_cand, bool trigged);
21
ABSTRACT_FUNC_STUB(int, tcp_send, struct tcp_conn *tc, struct mbuf *mb);
22
ABSTRACT_FUNC_STUB(int, udp_send, struct udp_sock *us, const struct sa *dst, struct mbuf *mb);
23
ABSTRACT_FUNC_STUB(int, turnc_add_chan, struct turnc *turnc, const struct sa *peer, turnc_chan_h *ch, void *arg);
24
ABSTRACT_FUNC_STUB(void, tmr_start, struct tmr *tmr, uint64_t delay, tmr_h *th, void *arg);
25
ABSTRACT_FUNC_STUB(int, stun_indication, int proto, void *sock, const struct sa *dst, size_t presz,
26
  uint16_t method, const uint8_t *key, size_t keylen, bool fp, uint32_t attrc, ...);
27
ABSTRACT_FUNC_STUB(uint8_t, ch_hex, char ch);
28
ABSTRACT_FUNC_STUB(int, udp_listen, struct udp_sock **usp, const struct sa *local,
29
  udp_recv_h *rh, void *arg);
30
ABSTRACT_FUNC_STUB(int, tcp_connect, struct tcp_conn **tcp, const struct sa *peer,
31
  tcp_estab_h *eh, tcp_recv_h *rh, tcp_close_h *ch, void *arg);
32
ABSTRACT_FUNC_STUB(uint64_t, tmr_get_expire, const struct tmr *tmr);