Coverage Report

Created: 2025-07-18 06:32

/src/opensips/parser/msg_parser.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright (C) 2001-2003 FhG Fokus
3
 *
4
 * This file is part of opensips, a free SIP server.
5
 *
6
 * opensips is free software; you can redistribute it and/or modify
7
 * it under the terms of the GNU General Public License as published by
8
 * the Free Software Foundation; either version 2 of the License, or
9
 * (at your option) any later version
10
 *
11
 * opensips is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
19
 *
20
 * History
21
 * -------
22
 *  2003-01-28  removed scratchpad (jiri)
23
 *  2003-02-28  scratchpad compatibility abandoned (jiri)
24
 *  2003-03-06  enum_request_method changed to begin with 1;
25
 *               0 reserved for invalid values; (jiri)
26
 *  2003-03-31  removed sip_msg->repl_add_rm (andrei)
27
 *  2003-04-01  2 macros added: GET_NEXT_HOP and GET_RURI (janakj)
28
 *  2003-04-04  structure for parsed inbound uri added (jiri)
29
 *  2003-04-11  updated the  sip_uri structure (lots of fields added) (andrei)
30
 *  2003-04-12  added msg_flags to sip_msg (andrei)
31
 *  2003-11-02  added diversion header field to sip_msg (jh)
32
 *  2004-11-08  added force_send_socket (andrei)
33
 *  2005-02-25  uri types added (sip, sips & tel)  (andrei)
34
 *  2006-02-17  Session-Expires, Min-SE (dhsueh@somanetworks.com)
35
 *  2007-09-09  added sdp structure (osas)
36
 *  2011-04-20  added support for URI unknown parameters (osas)
37
 */
38
39
40
#ifndef MSG_PARSER_H
41
#define MSG_PARSER_H
42
43
#include <strings.h>
44
#include <sys/time.h>
45
46
#include "../str.h"
47
#include "../lump_struct.h"
48
#include "../flags.h"
49
#include "../ip_addr.h"
50
#include "../md5utils.h"
51
#include "../qvalue.h"
52
#include "../config.h"
53
#include "parse_def.h"
54
#include "parse_cseq.h"
55
#include "parse_content.h"
56
#include "parse_via.h"
57
#include "parse_fline.h"
58
#include "parse_body.h"
59
#include "hf.h"
60
#include "../trim.h"
61
62
63
/* convenience short-cut macros */
64
55.0k
#define REQ_LINE(_msg) ((_msg)->first_line.u.request)
65
317k
#define REQ_METHOD   first_line.u.request.method_value
66
#define REQ_METHOD_S first_line.u.request.method
67
10.0k
#define REPLY_STATUS first_line.u.reply.statuscode
68
#define REPLY_CLASS(_reply) ((_reply)->REPLY_STATUS/100)
69
70
/* number methods as power of two to allow bitmap matching */
71
enum request_method {
72
  METHOD_UNDEF=0,           /* 0 - --- */
73
  METHOD_INVITE=1,          /* 1 - 2^0 */
74
  METHOD_CANCEL=2,          /* 2 - 2^1 */
75
  METHOD_ACK=4,             /* 3 - 2^2 */
76
  METHOD_BYE=8,             /* 4 - 2^3 */
77
  METHOD_INFO=16,           /* 5 - 2^4 */
78
  METHOD_OPTIONS=32,        /* 6 - 2^5 */
79
  METHOD_UPDATE=64,         /* 7 - 2^6 */
80
  METHOD_REGISTER=128,      /* 8 - 2^7 */
81
  METHOD_MESSAGE=256,       /* 9 - 2^8 */
82
  METHOD_SUBSCRIBE=512,     /* 10 - 2^9 */
83
  METHOD_NOTIFY=1024,       /* 11 - 2^10 */
84
  METHOD_PRACK=2048,        /* 12 - 2^11 */
85
  METHOD_REFER=4096,        /* 13 - 2^12 */
86
  METHOD_PUBLISH=8192,      /* 14 - 2^13 */
87
  METHOD_OTHER=16384        /* 15 - 2^14 */
88
};
89
90
33.3k
#define FL_FORCE_RPORT       (1<<0)  /* force rport (top via) */
91
0
#define FL_REPLY_TO_VIA      (1<<1)  /* force replying to VIA ip:port */
92
19.1k
#define FL_FORCE_LOCAL_RPORT (1<<2)  /* force local rport (local via) */
93
#define FL_SDP_IP_AFS        (1<<3)  /* SDP IP rewritten */
94
#define FL_SDP_PORT_AFS      (1<<4)  /* SDP port rewritten */
95
#define FL_SHM_CLONE         (1<<5)  /* msg cloned in SHM as a single chunk */
96
#define FL_USE_UAC_FROM      (1<<6)  /* take FROM hdr from UAC insteas of UAS*/
97
#define FL_USE_UAC_TO        (1<<7)  /* take TO hdr from UAC insteas of UAS */
98
#define FL_USE_UAC_CSEQ      (1<<8)  /* take CSEQ hdr from UAC insteas of UAS*/
99
#define FL_REQ_UPSTREAM      (1<<9)  /* it's an upstream going request */
100
#define FL_DO_KEEPALIVE      (1<<10) /* keepalive request's source after a
101
                                      * positive reply */
102
#define FL_USE_MEDIA_PROXY   (1<<11) /* use mediaproxy on all messages during
103
                                      * a dialog */
104
#define FL_USE_RTPPROXY      (1<<12) /* used by rtpproxy to remember if the msg
105
                                      * callback had already been registered */
106
#define FL_NAT_TRACK_DIALOG  (1<<13) /* trigger dialog tracking from the
107
                                      * nat_traversal module */
108
#define FL_USE_SIPTRACE      (1<<14) /* used by tracer to check if the tm
109
                                      * callbacks were registered */
110
#define FL_SHM_UPDATABLE     (1<<15) /* a SHM cloned message can be updated
111
                                      * (TM used, requires FL_SHM_CLONE) */
112
#define FL_SHM_UPDATED       (1<<16) /* an updatable SHM cloned message that 
113
                                      * had at least one update; if the flag is
114
                                      * missing, it means the cloned msg was
115
                                      * never updated.
116
                                      * (TM used, requires FL_SHM_UPDATABLE) */
117
#define FL_TM_CB_REGISTERED  (1<<17) /* tm callbacks for this message have been
118
                                      * registered (by setting this flag, you
119
                                      * will know if any tm callbacks for this
120
                                      * message have been registered) */
121
#define FL_TM_FAKE_REQ       (1<<18) /* the SIP request is a fake one,
122
                                      * generated based on the transaction,
123
                                      * either in failure route or resume 
124
                                      * route */
125
#define FL_TM_REPLICATED   (1<<19) /* message received due to a tm replication */
126
#define FL_BODY_NO_SDP       (1<<20) /* message does not have an SDP body */
127
#define FL_IS_LOCAL          (1<<21) /* the message is a locally generated
128
                                      * one, not received */
129
0
#define FL_HAS_ROUTE_LUMP    (1<<22) /* the message had Route headers added
130
                                      * as lumps */
131
#define FL_USE_SIPTRACE_B2B  (1<<23) /* used by tracer to check if the b2b
132
                                      * tracing was enabled */
133
#define FL_ACK_WITH_BODY     (1<<24) /* ACK message has SDP body */
134
135
/* define the # of unknown URI parameters to parse */
136
472k
#define URI_MAX_U_PARAMS 10
137
138
208k
#define IFISMETHOD(methodname,firstchar)                                  \
139
208k
if (  (*tmp==(firstchar) || *tmp==((firstchar) | 32)) &&                  \
140
208k
        strncasecmp( tmp+1, (char *)#methodname+1, methodname##_LEN-1)==0 &&     \
141
208k
        *(tmp+methodname##_LEN)==' ') {                                   \
142
44
                fl->type=SIP_REQUEST;                                     \
143
44
                fl->u.request.method.len=methodname##_LEN;                \
144
44
                fl->u.request.method_value=METHOD_##methodname;           \
145
44
                tmp=buffer+methodname##_LEN;                              \
146
44
}
147
148
149
/*
150
 * Return a URI to which the message should be really sent (not what should
151
 * be in the Request URI. The following fields are tried in this order:
152
 * 1) dst_uri
153
 * 2) new_uri
154
 * 3) first_line.u.request.uri
155
 */
156
#define GET_NEXT_HOP(m) \
157
(((m)->dst_uri.s && (m)->dst_uri.len) ? (&(m)->dst_uri) : \
158
(((m)->new_uri.s && (m)->new_uri.len) ? (&(m)->new_uri) : (&(m)->first_line.u.request.uri)))
159
160
161
/*
162
 * Return the Reqeust URI of a message.
163
 * The following fields are tried in this order:
164
 * 1) new_uri
165
 * 2) first_line.u.request.uri
166
 */
167
12.2k
#define GET_RURI(m) \
168
12.2k
(((m)->new_uri.s && (m)->new_uri.len) ? (&(m)->new_uri) : (&(m)->first_line.u.request.uri))
169
170
171
enum _uri_type{ERROR_URI_T=0, SIP_URI_T, SIPS_URI_T, TEL_URI_T, TELS_URI_T, URN_SERVICE_URI_T, URN_NENA_SERVICE_URI_T};
172
typedef enum _uri_type uri_type;
173
174
struct sip_uri {
175
  str user;     /* Username */
176
  str passwd;   /* Password */
177
  str host;     /* Host name */
178
  str port;     /* Port number */
179
  str params;   /* Parameters */
180
  str headers;
181
  unsigned short port_no;
182
  unsigned short proto; /* from transport */
183
  uri_type type; /* uri scheme */
184
185
  /* parameters [+ "=value" parts, if any] */
186
  str transport;
187
  str ttl;
188
  str user_param;
189
  str maddr;
190
  str method;
191
  str lr;
192
  str r2; /* ser specific rr parameter */
193
  str gr; /* GRUU */
194
  str pn_provider; /* RFC 8599 (SIP PN) */
195
  str pn_prid;
196
  str pn_param;
197
  str pn_purr;
198
199
  /* just values */
200
  str transport_val;
201
  str ttl_val;
202
  str user_param_val;
203
  str maddr_val;
204
  str method_val;
205
  str lr_val; /* lr value placeholder for lr=on a.s.o*/
206
  str r2_val;
207
  str gr_val;
208
  str pn_provider_val;
209
  str pn_prid_val;
210
  str pn_param_val;
211
  str pn_purr_val;
212
  /* XXX - in the future when adding params as special links
213
   * in the list above, make sure to also update compare_uris() function
214
   * to explicitly compare these here */
215
216
  /* unknown params */
217
  str u_name[URI_MAX_U_PARAMS]; /* Unknown param names */
218
  str u_val[URI_MAX_U_PARAMS];  /* Unknown param valss */
219
  unsigned short u_params_no;   /* No of unknown params */
220
};
221
222
223
#include "parse_to.h"
224
225
/* Forward declaration */
226
struct msg_callback;
227
228
struct sip_msg {
229
  unsigned int id;               /* message id, unique/process*/
230
  struct msg_start first_line;   /* Message first line */
231
  struct via_body* via1;         /* The first via */
232
  struct via_body* via2;         /* The second via */
233
  struct hdr_field* headers;     /* All the parsed headers*/
234
  struct hdr_field* last_header; /* Pointer to the last parsed header*/
235
  hdr_flags_t parsed_flag;       /* Already parsed header field types */
236
237
  /* Via, To, CSeq, Call-Id, From, end of header*/
238
  /* pointers to the first occurrences of these headers;
239
   * everything is also saved in 'headers'
240
   * (WARNING: do not deallocate them twice!)*/
241
242
  struct hdr_field* h_via1;
243
  struct hdr_field* callid;
244
  struct hdr_field* to;
245
  struct hdr_field* cseq;
246
  struct hdr_field* from;
247
  struct hdr_field* contact;
248
  struct hdr_field* maxforwards;
249
  struct hdr_field* route;
250
  struct hdr_field* record_route;
251
  struct hdr_field* path;
252
  struct hdr_field* content_type;
253
  struct hdr_field* content_length;
254
  struct hdr_field* authorization;
255
  struct hdr_field* expires;
256
  struct hdr_field* proxy_auth;
257
  struct hdr_field* supported;
258
  struct hdr_field* proxy_require;
259
  struct hdr_field* unsupported;
260
  struct hdr_field* allow;
261
  struct hdr_field* event;
262
  struct hdr_field* accept;
263
  struct hdr_field* accept_language;
264
  struct hdr_field* organization;
265
  struct hdr_field* priority;
266
  struct hdr_field* subject;
267
  struct hdr_field* user_agent;
268
  struct hdr_field* content_disposition;
269
  struct hdr_field* accept_disposition;
270
  struct hdr_field* diversion;
271
  struct hdr_field* rpid;
272
  struct hdr_field* refer_to;
273
  struct hdr_field* session_expires;
274
  struct hdr_field* min_se;
275
  struct hdr_field* ppi;
276
  struct hdr_field* pai;
277
  struct hdr_field* privacy;
278
  struct hdr_field* call_info;
279
  struct hdr_field* www_authenticate;
280
  struct hdr_field* proxy_authenticate;
281
  struct hdr_field* min_expires;
282
  struct hdr_field* feature_caps;
283
  struct hdr_field* replaces;
284
  struct hdr_field* security_client;
285
  struct hdr_field* security_server;
286
  struct hdr_field* security_verify;
287
288
  struct sip_msg_body *body;
289
  /* optional, real-time changes performed on the first SDP body part */
290
  struct sdp_body_part_ops *sdp_ops;
291
292
  char* eoh;        /* pointer to the end of header (if found) or null */
293
  char* unparsed;   /* here we stopped parsing*/
294
295
  struct receive_info rcv; /* source & dest ip, ports, proto a.s.o*/
296
297
  char* buf;        /* scratch pad, holds a unmodified message,
298
                           *  via, etc. point into it */
299
  unsigned int len; /* message len (orig) */
300
301
  /* attributes of the msg as first/default branch */
302
  str new_uri; /* changed first line uri, when you change this
303
                  * don't forget to set parsed_uri_ok to 0 */
304
  str dst_uri; /* Destination URI, must be forwarded to this URI if len!=0 */
305
306
  qvalue_t ruri_q; /* Q value of RURI */
307
308
  unsigned int ruri_bflags; /* per-branch flags for RURI*/
309
310
  /* force sending on this socket */
311
  const struct socket_info* force_send_socket;
312
313
  /* path vector to generate Route hdrs */
314
  str path_vec;
315
  /* end-of-attributes for RURI as first branch*/
316
317
  /* current uri */
318
  int parsed_uri_ok; /* 1 if parsed_uri is valid, 0 if not, set it to 0
319
                        if you modify the uri (e.g change new_uri)*/
320
  struct sip_uri parsed_uri; /* speed-up > keep here the parsed uri*/
321
322
  /* the same for original uri */
323
  int parsed_orig_ruri_ok;
324
  struct sip_uri parsed_orig_ruri;
325
326
  /* modifications */
327
  struct lump* add_rm;       /* used for all the forwarded requests/replies */
328
  struct lump* body_lumps;     /* Lumps that update Content-Length */
329
  struct lump_rpl *reply_lump; /* only for localy generated replies !!!*/
330
331
  /* whatever whoever want to append to branch comes here */
332
  char add_to_branch_s[MAX_BRANCH_PARAM_LEN];
333
  int add_to_branch_len;
334
335
  /* index to TM hash table; stored in core to avoid
336
   * unnecessary calculations */
337
  unsigned int  hash_index;
338
339
  /* flags used from script */
340
  flag_t flags;
341
342
  /* flags used by core - allows to set various flags on the message; may
343
   * be used for simple inter-module communication or remembering
344
   * processing state reached, e.g. FL_FORCE_RPORT */
345
  unsigned int msg_flags;
346
347
  str set_global_address;
348
  str set_global_port;
349
350
  /* used to store a particular time of the message - note that the time is
351
   * not stored when the message was received, but only the first time
352
   * someone gets interested in it - this way we have a consistent timestamp
353
   * of the message, without being affected by lazy callbacks */
354
  struct timeval time;
355
356
  struct msg_callback *msg_cb;
357
};
358
359
360
/* pointer to a fakes message which was never received ;
361
   (when this message is "relayed", it is generated out
362
    of the original request)
363
*/
364
0
#define FAKED_REPLY     ((struct sip_msg *) -1)
365
366
extern int via_cnt;
367
extern int sdp_get_custom_body(struct sip_msg *msg, str *body);
368
369
#define parse_msg( _buf, _len, _msg) \
370
43.5k
  parse_msg_opt( _buf, _len, _msg, 1)
371
372
int parse_msg_opt(char* buf, unsigned int len, struct sip_msg* msg,
373
    int free_on_err);
374
375
1.52M
#define parse_headers(msg, flags,next)  parse_headers_aux(msg,flags,next, 1)
376
377
int parse_headers_aux(struct sip_msg* msg, hdr_flags_t flags, int next, int sip_well_known_parse);
378
379
0
#define get_hdr_field(buf,end,hdr)  get_hdr_field_aux(buf,end,hdr,1)
380
381
char* get_hdr_field_aux(char* buf, char* end, struct hdr_field* hdr, int sip_well_known_parse);
382
383
/* add DEL lumps for all headers matching the given @hdr */
384
int delete_headers(struct sip_msg *msg, struct hdr_field *hdr);
385
386
void free_sip_msg(struct sip_msg* msg);
387
388
int clone_headers(struct sip_msg *from_msg, struct sip_msg *to_msg);
389
390
/* make sure all HFs needed for transaction identification have been
391
   parsed; return 0 if those HFs can't be found
392
 */
393
394
int check_transaction_quadruple( struct sip_msg* msg );
395
396
/* calculate characteristic value of a message -- this value
397
   is used to identify a transaction during the process of
398
   reply matching
399
 */
400
inline static int char_msg_val( struct sip_msg *msg, char *cv )
401
0
{
402
0
  str src[8];
403
0
404
0
  if (!check_transaction_quadruple(msg)) {
405
0
    LM_ERR("can't calculate char_value due to a parsing error\n");
406
0
    memset( cv, '0', MD5_LEN );
407
0
    return 0;
408
0
  }
409
0
410
0
  src[0]= msg->from->body;
411
0
  src[1]= msg->to->body;
412
0
  src[2]= msg->callid->body;
413
0
  src[3]= msg->first_line.u.request.uri;
414
0
  src[4]= get_cseq( msg )->number;
415
0
416
0
  /* topmost Via is part of transaction key as well ! */
417
0
  src[5]= msg->via1->host;
418
0
  src[6]= msg->via1->port_str;
419
0
  if (msg->via1->branch) {
420
0
    src[7]= msg->via1->branch->value;
421
0
    MD5StringArray ( cv, src, 8 );
422
0
  } else {
423
0
    MD5StringArray( cv, src, 7 );
424
0
  }
425
0
  return 1;
426
0
}
Unexecuted instantiation: fuzz_csv_parser.c:char_msg_val
Unexecuted instantiation: csv.c:char_msg_val
Unexecuted instantiation: dprint.c:char_msg_val
Unexecuted instantiation: pt.c:char_msg_val
Unexecuted instantiation: ut.c:char_msg_val
Unexecuted instantiation: statistics.c:char_msg_val
Unexecuted instantiation: route.c:char_msg_val
Unexecuted instantiation: ipc.c:char_msg_val
Unexecuted instantiation: core_stats.c:char_msg_val
Unexecuted instantiation: route_struct.c:char_msg_val
Unexecuted instantiation: dset.c:char_msg_val
Unexecuted instantiation: pt_load.c:char_msg_val
Unexecuted instantiation: sr_module.c:char_msg_val
Unexecuted instantiation: action.c:char_msg_val
Unexecuted instantiation: db_insertq.c:char_msg_val
Unexecuted instantiation: db.c:char_msg_val
Unexecuted instantiation: proto_tcp.c:char_msg_val
Unexecuted instantiation: proto_udp.c:char_msg_val
Unexecuted instantiation: net_tcp_proc.c:char_msg_val
Unexecuted instantiation: net_tcp.c:char_msg_val
Unexecuted instantiation: tcp_common.c:char_msg_val
Unexecuted instantiation: net_udp.c:char_msg_val
Unexecuted instantiation: tcp_conn_profile.c:char_msg_val
Unexecuted instantiation: trans_trace.c:char_msg_val
Unexecuted instantiation: net_tcp_report.c:char_msg_val
Unexecuted instantiation: shm_mem.c:char_msg_val
Unexecuted instantiation: mi.c:char_msg_val
Unexecuted instantiation: item.c:char_msg_val
Unexecuted instantiation: msg_parser.c:char_msg_val
Unexecuted instantiation: parse_uri.c:char_msg_val
Unexecuted instantiation: parse_fline.c:char_msg_val
Unexecuted instantiation: parse_methods.c:char_msg_val
Unexecuted instantiation: parse_hname2.c:char_msg_val
Unexecuted instantiation: parse_content.c:char_msg_val
Unexecuted instantiation: hf.c:char_msg_val
Unexecuted instantiation: parse_to.c:char_msg_val
Unexecuted instantiation: parse_via.c:char_msg_val
Unexecuted instantiation: event_interface.c:char_msg_val
Unexecuted instantiation: receive.c:char_msg_val
Unexecuted instantiation: error.c:char_msg_val
Unexecuted instantiation: script_cb.c:char_msg_val
Unexecuted instantiation: ip_addr.c:char_msg_val
Unexecuted instantiation: data_lump_rpl.c:char_msg_val
Unexecuted instantiation: async.c:char_msg_val
Unexecuted instantiation: daemonize.c:char_msg_val
Unexecuted instantiation: timer.c:char_msg_val
Unexecuted instantiation: trace_api.c:char_msg_val
Unexecuted instantiation: mod_fix.c:char_msg_val
Unexecuted instantiation: reactor.c:char_msg_val
Unexecuted instantiation: strcommon.c:char_msg_val
Unexecuted instantiation: forward.c:char_msg_val
Unexecuted instantiation: xlog.c:char_msg_val
Unexecuted instantiation: blacklists.c:char_msg_val
Unexecuted instantiation: msg_callbacks.c:char_msg_val
Unexecuted instantiation: usr_avp.c:char_msg_val
Unexecuted instantiation: sl_cb.c:char_msg_val
Unexecuted instantiation: sdp_ops.c:char_msg_val
Unexecuted instantiation: resolve.c:char_msg_val
Unexecuted instantiation: io_wait.c:char_msg_val
Unexecuted instantiation: transformations.c:char_msg_val
Unexecuted instantiation: pvar.c:char_msg_val
Unexecuted instantiation: sr_module_deps.c:char_msg_val
Unexecuted instantiation: cfg_reload.c:char_msg_val
Unexecuted instantiation: socket_info.c:char_msg_val
Unexecuted instantiation: time_rec.c:char_msg_val
Unexecuted instantiation: data_lump.c:char_msg_val
Unexecuted instantiation: status_report.c:char_msg_val
Unexecuted instantiation: pt_scaling.c:char_msg_val
Unexecuted instantiation: signals.c:char_msg_val
Unexecuted instantiation: flags.c:char_msg_val
Unexecuted instantiation: db_id.c:char_msg_val
Unexecuted instantiation: trans.c:char_msg_val
Unexecuted instantiation: sdp.c:char_msg_val
Unexecuted instantiation: sdp_helpr_funcs.c:char_msg_val
Unexecuted instantiation: digest_parser.c:char_msg_val
Unexecuted instantiation: param_parser.c:char_msg_val
Unexecuted instantiation: digest.c:char_msg_val
Unexecuted instantiation: parse_contact.c:char_msg_val
Unexecuted instantiation: parse_body.c:char_msg_val
Unexecuted instantiation: parse_security.c:char_msg_val
Unexecuted instantiation: parse_call_info.c:char_msg_val
Unexecuted instantiation: parse_event.c:char_msg_val
Unexecuted instantiation: parse_disposition.c:char_msg_val
Unexecuted instantiation: parse_authenticate.c:char_msg_val
Unexecuted instantiation: parser_f.c:char_msg_val
Unexecuted instantiation: parse_rpid.c:char_msg_val
Unexecuted instantiation: parse_ppi.c:char_msg_val
Unexecuted instantiation: parse_fcaps.c:char_msg_val
Unexecuted instantiation: parse_sst.c:char_msg_val
Unexecuted instantiation: parse_rr.c:char_msg_val
Unexecuted instantiation: parse_param.c:char_msg_val
Unexecuted instantiation: parse_diversion.c:char_msg_val
Unexecuted instantiation: parse_nameaddr.c:char_msg_val
Unexecuted instantiation: parse_expires.c:char_msg_val
Unexecuted instantiation: parse_refer_to.c:char_msg_val
Unexecuted instantiation: parse_from.c:char_msg_val
Unexecuted instantiation: parse_pai.c:char_msg_val
Unexecuted instantiation: evi_transport.c:char_msg_val
Unexecuted instantiation: msg_translator.c:char_msg_val
Unexecuted instantiation: md5utils.c:char_msg_val
Unexecuted instantiation: cfg.tab.c:char_msg_val
Unexecuted instantiation: modparam.c:char_msg_val
Unexecuted instantiation: crc.c:char_msg_val
Unexecuted instantiation: re.c:char_msg_val
Unexecuted instantiation: lex.yy.c:char_msg_val
Unexecuted instantiation: cfg_pp.c:char_msg_val
Unexecuted instantiation: shutdown.c:char_msg_val
Unexecuted instantiation: cmds.c:char_msg_val
Unexecuted instantiation: core_cmds.c:char_msg_val
Unexecuted instantiation: serialize.c:char_msg_val
Unexecuted instantiation: cachedb.c:char_msg_val
Unexecuted instantiation: cachedb_id.c:char_msg_val
Unexecuted instantiation: fuzz_uri_parser.c:char_msg_val
Unexecuted instantiation: fuzz_core_funcs.c:char_msg_val
Unexecuted instantiation: fuzz_msg_parser.c:char_msg_val
427
428
429
/* returns the body of the SIP message (if none, an empty body will be returned)
430
 */
431
inline static int get_body(struct sip_msg *msg, str *body)
432
61.0k
{
433
61.0k
  unsigned int hdrs_len;
434
61.0k
  int ct_len;
435
436
61.0k
  if (sdp_get_custom_body(msg, body) == 0) {
437
0
    LM_DBG("found custom 'SDP ops' body, len: %d\n", body->len);
438
0
    return 0;
439
0
  }
440
441
61.0k
  if ( parse_headers(msg,HDR_EOH_F, 0)==-1 )
442
0
    return -1;
443
444
61.0k
  if (msg->unparsed){
445
61.0k
    hdrs_len=(unsigned int)(msg->unparsed-msg->buf);
446
61.0k
  } else {
447
0
    return -1;
448
0
  }
449
450
61.0k
  if ((hdrs_len+2<=msg->len) && (strncmp(CRLF,msg->unparsed,CRLF_LEN)==0) )
451
78
    body->s = msg->unparsed + CRLF_LEN;
452
60.9k
  else if ( (hdrs_len+1<=msg->len) &&
453
60.9k
  (*(msg->unparsed)=='\n' || *(msg->unparsed)=='\r' ) )
454
3.30k
    body->s = msg->unparsed + 1;
455
57.6k
  else {
456
    /* no body */
457
57.6k
    body->s = NULL;
458
57.6k
    body->len = 0;
459
57.6k
    return 0;
460
57.6k
  }
461
462
  /* determin the length of the body */
463
3.38k
  body->len = msg->buf + msg->len - body->s;
464
465
  /* double check the len against content-length hdr
466
     (if present, it must be already parsed);
467
     NOTE that the CT hdr may be missing if using UDP, so 
468
     we do not consider its missing an err case */
469
3.38k
  if (msg->content_length) {
470
2.06k
    ct_len = get_content_length( msg );
471
2.06k
    if (ct_len<body->len)
472
481
      body->len = ct_len;
473
2.06k
  } else if (msg->rcv.proto!=PROTO_UDP) {
474
    /* no ct -> no body */
475
1.32k
    body->s = NULL;
476
1.32k
    body->len = 0;
477
1.32k
  }
478
479
3.38k
  return 0;
480
61.0k
}
Unexecuted instantiation: fuzz_csv_parser.c:get_body
Unexecuted instantiation: csv.c:get_body
Unexecuted instantiation: dprint.c:get_body
Unexecuted instantiation: pt.c:get_body
Unexecuted instantiation: ut.c:get_body
Unexecuted instantiation: statistics.c:get_body
Unexecuted instantiation: route.c:get_body
Unexecuted instantiation: ipc.c:get_body
Unexecuted instantiation: core_stats.c:get_body
Unexecuted instantiation: route_struct.c:get_body
Unexecuted instantiation: dset.c:get_body
Unexecuted instantiation: pt_load.c:get_body
Unexecuted instantiation: sr_module.c:get_body
Unexecuted instantiation: action.c:get_body
Unexecuted instantiation: db_insertq.c:get_body
Unexecuted instantiation: db.c:get_body
Unexecuted instantiation: proto_tcp.c:get_body
Unexecuted instantiation: proto_udp.c:get_body
Unexecuted instantiation: net_tcp_proc.c:get_body
Unexecuted instantiation: net_tcp.c:get_body
Unexecuted instantiation: tcp_common.c:get_body
Unexecuted instantiation: net_udp.c:get_body
Unexecuted instantiation: tcp_conn_profile.c:get_body
Unexecuted instantiation: trans_trace.c:get_body
Unexecuted instantiation: net_tcp_report.c:get_body
Unexecuted instantiation: shm_mem.c:get_body
Unexecuted instantiation: mi.c:get_body
Unexecuted instantiation: item.c:get_body
Unexecuted instantiation: msg_parser.c:get_body
Unexecuted instantiation: parse_uri.c:get_body
Unexecuted instantiation: parse_fline.c:get_body
Unexecuted instantiation: parse_methods.c:get_body
Unexecuted instantiation: parse_hname2.c:get_body
Unexecuted instantiation: parse_content.c:get_body
Unexecuted instantiation: hf.c:get_body
Unexecuted instantiation: parse_to.c:get_body
Unexecuted instantiation: parse_via.c:get_body
Unexecuted instantiation: event_interface.c:get_body
Unexecuted instantiation: receive.c:get_body
Unexecuted instantiation: error.c:get_body
Unexecuted instantiation: script_cb.c:get_body
Unexecuted instantiation: ip_addr.c:get_body
Unexecuted instantiation: data_lump_rpl.c:get_body
Unexecuted instantiation: async.c:get_body
Unexecuted instantiation: daemonize.c:get_body
Unexecuted instantiation: timer.c:get_body
Unexecuted instantiation: trace_api.c:get_body
Unexecuted instantiation: mod_fix.c:get_body
Unexecuted instantiation: reactor.c:get_body
Unexecuted instantiation: strcommon.c:get_body
Unexecuted instantiation: forward.c:get_body
Unexecuted instantiation: xlog.c:get_body
Unexecuted instantiation: blacklists.c:get_body
Unexecuted instantiation: msg_callbacks.c:get_body
Unexecuted instantiation: usr_avp.c:get_body
Unexecuted instantiation: sl_cb.c:get_body
Unexecuted instantiation: sdp_ops.c:get_body
Unexecuted instantiation: resolve.c:get_body
Unexecuted instantiation: io_wait.c:get_body
Unexecuted instantiation: transformations.c:get_body
pvar.c:get_body
Line
Count
Source
432
24.4k
{
433
24.4k
  unsigned int hdrs_len;
434
24.4k
  int ct_len;
435
436
24.4k
  if (sdp_get_custom_body(msg, body) == 0) {
437
0
    LM_DBG("found custom 'SDP ops' body, len: %d\n", body->len);
438
0
    return 0;
439
0
  }
440
441
24.4k
  if ( parse_headers(msg,HDR_EOH_F, 0)==-1 )
442
0
    return -1;
443
444
24.4k
  if (msg->unparsed){
445
24.4k
    hdrs_len=(unsigned int)(msg->unparsed-msg->buf);
446
24.4k
  } else {
447
0
    return -1;
448
0
  }
449
450
24.4k
  if ((hdrs_len+2<=msg->len) && (strncmp(CRLF,msg->unparsed,CRLF_LEN)==0) )
451
32
    body->s = msg->unparsed + CRLF_LEN;
452
24.4k
  else if ( (hdrs_len+1<=msg->len) &&
453
24.4k
  (*(msg->unparsed)=='\n' || *(msg->unparsed)=='\r' ) )
454
1.36k
    body->s = msg->unparsed + 1;
455
23.0k
  else {
456
    /* no body */
457
23.0k
    body->s = NULL;
458
23.0k
    body->len = 0;
459
23.0k
    return 0;
460
23.0k
  }
461
462
  /* determin the length of the body */
463
1.40k
  body->len = msg->buf + msg->len - body->s;
464
465
  /* double check the len against content-length hdr
466
     (if present, it must be already parsed);
467
     NOTE that the CT hdr may be missing if using UDP, so 
468
     we do not consider its missing an err case */
469
1.40k
  if (msg->content_length) {
470
872
    ct_len = get_content_length( msg );
471
872
    if (ct_len<body->len)
472
206
      body->len = ct_len;
473
872
  } else if (msg->rcv.proto!=PROTO_UDP) {
474
    /* no ct -> no body */
475
528
    body->s = NULL;
476
528
    body->len = 0;
477
528
  }
478
479
1.40k
  return 0;
480
24.4k
}
Unexecuted instantiation: sr_module_deps.c:get_body
Unexecuted instantiation: cfg_reload.c:get_body
Unexecuted instantiation: socket_info.c:get_body
Unexecuted instantiation: time_rec.c:get_body
Unexecuted instantiation: data_lump.c:get_body
Unexecuted instantiation: status_report.c:get_body
Unexecuted instantiation: pt_scaling.c:get_body
Unexecuted instantiation: signals.c:get_body
Unexecuted instantiation: flags.c:get_body
Unexecuted instantiation: db_id.c:get_body
Unexecuted instantiation: trans.c:get_body
Unexecuted instantiation: sdp.c:get_body
Unexecuted instantiation: sdp_helpr_funcs.c:get_body
Unexecuted instantiation: digest_parser.c:get_body
Unexecuted instantiation: param_parser.c:get_body
Unexecuted instantiation: digest.c:get_body
Unexecuted instantiation: parse_contact.c:get_body
parse_body.c:get_body
Line
Count
Source
432
24.3k
{
433
24.3k
  unsigned int hdrs_len;
434
24.3k
  int ct_len;
435
436
24.3k
  if (sdp_get_custom_body(msg, body) == 0) {
437
0
    LM_DBG("found custom 'SDP ops' body, len: %d\n", body->len);
438
0
    return 0;
439
0
  }
440
441
24.3k
  if ( parse_headers(msg,HDR_EOH_F, 0)==-1 )
442
0
    return -1;
443
444
24.3k
  if (msg->unparsed){
445
24.3k
    hdrs_len=(unsigned int)(msg->unparsed-msg->buf);
446
24.3k
  } else {
447
0
    return -1;
448
0
  }
449
450
24.3k
  if ((hdrs_len+2<=msg->len) && (strncmp(CRLF,msg->unparsed,CRLF_LEN)==0) )
451
30
    body->s = msg->unparsed + CRLF_LEN;
452
24.3k
  else if ( (hdrs_len+1<=msg->len) &&
453
24.3k
  (*(msg->unparsed)=='\n' || *(msg->unparsed)=='\r' ) )
454
1.25k
    body->s = msg->unparsed + 1;
455
23.0k
  else {
456
    /* no body */
457
23.0k
    body->s = NULL;
458
23.0k
    body->len = 0;
459
23.0k
    return 0;
460
23.0k
  }
461
462
  /* determin the length of the body */
463
1.28k
  body->len = msg->buf + msg->len - body->s;
464
465
  /* double check the len against content-length hdr
466
     (if present, it must be already parsed);
467
     NOTE that the CT hdr may be missing if using UDP, so 
468
     we do not consider its missing an err case */
469
1.28k
  if (msg->content_length) {
470
753
    ct_len = get_content_length( msg );
471
753
    if (ct_len<body->len)
472
172
      body->len = ct_len;
473
753
  } else if (msg->rcv.proto!=PROTO_UDP) {
474
    /* no ct -> no body */
475
528
    body->s = NULL;
476
528
    body->len = 0;
477
528
  }
478
479
1.28k
  return 0;
480
24.3k
}
Unexecuted instantiation: parse_security.c:get_body
Unexecuted instantiation: parse_call_info.c:get_body
Unexecuted instantiation: parse_event.c:get_body
Unexecuted instantiation: parse_disposition.c:get_body
Unexecuted instantiation: parse_authenticate.c:get_body
Unexecuted instantiation: parser_f.c:get_body
Unexecuted instantiation: parse_rpid.c:get_body
Unexecuted instantiation: parse_ppi.c:get_body
Unexecuted instantiation: parse_fcaps.c:get_body
Unexecuted instantiation: parse_sst.c:get_body
Unexecuted instantiation: parse_rr.c:get_body
Unexecuted instantiation: parse_param.c:get_body
Unexecuted instantiation: parse_diversion.c:get_body
Unexecuted instantiation: parse_nameaddr.c:get_body
Unexecuted instantiation: parse_expires.c:get_body
Unexecuted instantiation: parse_refer_to.c:get_body
Unexecuted instantiation: parse_from.c:get_body
Unexecuted instantiation: parse_pai.c:get_body
Unexecuted instantiation: evi_transport.c:get_body
msg_translator.c:get_body
Line
Count
Source
432
12.2k
{
433
12.2k
  unsigned int hdrs_len;
434
12.2k
  int ct_len;
435
436
12.2k
  if (sdp_get_custom_body(msg, body) == 0) {
437
0
    LM_DBG("found custom 'SDP ops' body, len: %d\n", body->len);
438
0
    return 0;
439
0
  }
440
441
12.2k
  if ( parse_headers(msg,HDR_EOH_F, 0)==-1 )
442
0
    return -1;
443
444
12.2k
  if (msg->unparsed){
445
12.2k
    hdrs_len=(unsigned int)(msg->unparsed-msg->buf);
446
12.2k
  } else {
447
0
    return -1;
448
0
  }
449
450
12.2k
  if ((hdrs_len+2<=msg->len) && (strncmp(CRLF,msg->unparsed,CRLF_LEN)==0) )
451
16
    body->s = msg->unparsed + CRLF_LEN;
452
12.2k
  else if ( (hdrs_len+1<=msg->len) &&
453
12.2k
  (*(msg->unparsed)=='\n' || *(msg->unparsed)=='\r' ) )
454
684
    body->s = msg->unparsed + 1;
455
11.5k
  else {
456
    /* no body */
457
11.5k
    body->s = NULL;
458
11.5k
    body->len = 0;
459
11.5k
    return 0;
460
11.5k
  }
461
462
  /* determin the length of the body */
463
700
  body->len = msg->buf + msg->len - body->s;
464
465
  /* double check the len against content-length hdr
466
     (if present, it must be already parsed);
467
     NOTE that the CT hdr may be missing if using UDP, so 
468
     we do not consider its missing an err case */
469
700
  if (msg->content_length) {
470
436
    ct_len = get_content_length( msg );
471
436
    if (ct_len<body->len)
472
103
      body->len = ct_len;
473
436
  } else if (msg->rcv.proto!=PROTO_UDP) {
474
    /* no ct -> no body */
475
264
    body->s = NULL;
476
264
    body->len = 0;
477
264
  }
478
479
700
  return 0;
480
12.2k
}
Unexecuted instantiation: md5utils.c:get_body
Unexecuted instantiation: cfg.tab.c:get_body
Unexecuted instantiation: modparam.c:get_body
Unexecuted instantiation: crc.c:get_body
Unexecuted instantiation: re.c:get_body
Unexecuted instantiation: lex.yy.c:get_body
Unexecuted instantiation: cfg_pp.c:get_body
Unexecuted instantiation: shutdown.c:get_body
Unexecuted instantiation: cmds.c:get_body
Unexecuted instantiation: core_cmds.c:get_body
Unexecuted instantiation: serialize.c:get_body
Unexecuted instantiation: cachedb.c:get_body
Unexecuted instantiation: cachedb_id.c:get_body
Unexecuted instantiation: fuzz_uri_parser.c:get_body
Unexecuted instantiation: fuzz_core_funcs.c:get_body
Unexecuted instantiation: fuzz_msg_parser.c:get_body
481
482
/*
483
 * Get the callid of a message. If returned value is 0, the callid is stored
484
 * in the _cid field, otherwise -1 is returned on error
485
 */
486
inline static int get_callid(struct sip_msg* _m, str* _cid)
487
0
{
488
0
  if ((parse_headers(_m, HDR_CALLID_F, 0) == -1)) {
489
0
    LM_ERR("failed to parse call-id header\n");
490
0
    return -1;
491
0
  }
492
0
493
0
  if (_m->callid == NULL) {
494
0
    LM_ERR("call-id not found\n");
495
0
    return -1;
496
0
  }
497
0
498
0
  _cid->s = _m->callid->body.s;
499
0
  _cid->len = _m->callid->body.len;
500
0
  trim(_cid);
501
0
  return 0;
502
0
}
Unexecuted instantiation: fuzz_csv_parser.c:get_callid
Unexecuted instantiation: csv.c:get_callid
Unexecuted instantiation: dprint.c:get_callid
Unexecuted instantiation: pt.c:get_callid
Unexecuted instantiation: ut.c:get_callid
Unexecuted instantiation: statistics.c:get_callid
Unexecuted instantiation: route.c:get_callid
Unexecuted instantiation: ipc.c:get_callid
Unexecuted instantiation: core_stats.c:get_callid
Unexecuted instantiation: route_struct.c:get_callid
Unexecuted instantiation: dset.c:get_callid
Unexecuted instantiation: pt_load.c:get_callid
Unexecuted instantiation: sr_module.c:get_callid
Unexecuted instantiation: action.c:get_callid
Unexecuted instantiation: db_insertq.c:get_callid
Unexecuted instantiation: db.c:get_callid
Unexecuted instantiation: proto_tcp.c:get_callid
Unexecuted instantiation: proto_udp.c:get_callid
Unexecuted instantiation: net_tcp_proc.c:get_callid
Unexecuted instantiation: net_tcp.c:get_callid
Unexecuted instantiation: tcp_common.c:get_callid
Unexecuted instantiation: net_udp.c:get_callid
Unexecuted instantiation: tcp_conn_profile.c:get_callid
Unexecuted instantiation: trans_trace.c:get_callid
Unexecuted instantiation: net_tcp_report.c:get_callid
Unexecuted instantiation: shm_mem.c:get_callid
Unexecuted instantiation: mi.c:get_callid
Unexecuted instantiation: item.c:get_callid
Unexecuted instantiation: msg_parser.c:get_callid
Unexecuted instantiation: parse_uri.c:get_callid
Unexecuted instantiation: parse_fline.c:get_callid
Unexecuted instantiation: parse_methods.c:get_callid
Unexecuted instantiation: parse_hname2.c:get_callid
Unexecuted instantiation: parse_content.c:get_callid
Unexecuted instantiation: hf.c:get_callid
Unexecuted instantiation: parse_to.c:get_callid
Unexecuted instantiation: parse_via.c:get_callid
Unexecuted instantiation: event_interface.c:get_callid
Unexecuted instantiation: receive.c:get_callid
Unexecuted instantiation: error.c:get_callid
Unexecuted instantiation: script_cb.c:get_callid
Unexecuted instantiation: ip_addr.c:get_callid
Unexecuted instantiation: data_lump_rpl.c:get_callid
Unexecuted instantiation: async.c:get_callid
Unexecuted instantiation: daemonize.c:get_callid
Unexecuted instantiation: timer.c:get_callid
Unexecuted instantiation: trace_api.c:get_callid
Unexecuted instantiation: mod_fix.c:get_callid
Unexecuted instantiation: reactor.c:get_callid
Unexecuted instantiation: strcommon.c:get_callid
Unexecuted instantiation: forward.c:get_callid
Unexecuted instantiation: xlog.c:get_callid
Unexecuted instantiation: blacklists.c:get_callid
Unexecuted instantiation: msg_callbacks.c:get_callid
Unexecuted instantiation: usr_avp.c:get_callid
Unexecuted instantiation: sl_cb.c:get_callid
Unexecuted instantiation: sdp_ops.c:get_callid
Unexecuted instantiation: resolve.c:get_callid
Unexecuted instantiation: io_wait.c:get_callid
Unexecuted instantiation: transformations.c:get_callid
Unexecuted instantiation: pvar.c:get_callid
Unexecuted instantiation: sr_module_deps.c:get_callid
Unexecuted instantiation: cfg_reload.c:get_callid
Unexecuted instantiation: socket_info.c:get_callid
Unexecuted instantiation: time_rec.c:get_callid
Unexecuted instantiation: data_lump.c:get_callid
Unexecuted instantiation: status_report.c:get_callid
Unexecuted instantiation: pt_scaling.c:get_callid
Unexecuted instantiation: signals.c:get_callid
Unexecuted instantiation: flags.c:get_callid
Unexecuted instantiation: db_id.c:get_callid
Unexecuted instantiation: trans.c:get_callid
Unexecuted instantiation: sdp.c:get_callid
Unexecuted instantiation: sdp_helpr_funcs.c:get_callid
Unexecuted instantiation: digest_parser.c:get_callid
Unexecuted instantiation: param_parser.c:get_callid
Unexecuted instantiation: digest.c:get_callid
Unexecuted instantiation: parse_contact.c:get_callid
Unexecuted instantiation: parse_body.c:get_callid
Unexecuted instantiation: parse_security.c:get_callid
Unexecuted instantiation: parse_call_info.c:get_callid
Unexecuted instantiation: parse_event.c:get_callid
Unexecuted instantiation: parse_disposition.c:get_callid
Unexecuted instantiation: parse_authenticate.c:get_callid
Unexecuted instantiation: parser_f.c:get_callid
Unexecuted instantiation: parse_rpid.c:get_callid
Unexecuted instantiation: parse_ppi.c:get_callid
Unexecuted instantiation: parse_fcaps.c:get_callid
Unexecuted instantiation: parse_sst.c:get_callid
Unexecuted instantiation: parse_rr.c:get_callid
Unexecuted instantiation: parse_param.c:get_callid
Unexecuted instantiation: parse_diversion.c:get_callid
Unexecuted instantiation: parse_nameaddr.c:get_callid
Unexecuted instantiation: parse_expires.c:get_callid
Unexecuted instantiation: parse_refer_to.c:get_callid
Unexecuted instantiation: parse_from.c:get_callid
Unexecuted instantiation: parse_pai.c:get_callid
Unexecuted instantiation: evi_transport.c:get_callid
Unexecuted instantiation: msg_translator.c:get_callid
Unexecuted instantiation: md5utils.c:get_callid
Unexecuted instantiation: cfg.tab.c:get_callid
Unexecuted instantiation: modparam.c:get_callid
Unexecuted instantiation: crc.c:get_callid
Unexecuted instantiation: re.c:get_callid
Unexecuted instantiation: lex.yy.c:get_callid
Unexecuted instantiation: cfg_pp.c:get_callid
Unexecuted instantiation: shutdown.c:get_callid
Unexecuted instantiation: cmds.c:get_callid
Unexecuted instantiation: core_cmds.c:get_callid
Unexecuted instantiation: serialize.c:get_callid
Unexecuted instantiation: cachedb.c:get_callid
Unexecuted instantiation: cachedb_id.c:get_callid
Unexecuted instantiation: fuzz_uri_parser.c:get_callid
Unexecuted instantiation: fuzz_core_funcs.c:get_callid
Unexecuted instantiation: fuzz_msg_parser.c:get_callid
503
504
505
/*
506
 * Search through already parsed headers (no parsing done) a non-standard
507
 * header - all known headers are skipped!
508
 */
509
#define get_header_by_static_name(_msg, _name) \
510
    get_header_by_name(_msg, _name, sizeof(_name)-1)
511
inline static struct hdr_field *get_header_by_name( struct sip_msg *msg,
512
                          char *s, unsigned int len)
513
0
{
514
0
  struct hdr_field *hdr;
515
0
516
0
  for( hdr=msg->headers ; hdr ; hdr=hdr->next ) {
517
0
    if(len==hdr->name.len && strncasecmp(hdr->name.s,s,len)==0)
518
0
      return hdr;
519
0
  }
520
0
  return NULL;
521
0
}
Unexecuted instantiation: fuzz_csv_parser.c:get_header_by_name
Unexecuted instantiation: csv.c:get_header_by_name
Unexecuted instantiation: dprint.c:get_header_by_name
Unexecuted instantiation: pt.c:get_header_by_name
Unexecuted instantiation: ut.c:get_header_by_name
Unexecuted instantiation: statistics.c:get_header_by_name
Unexecuted instantiation: route.c:get_header_by_name
Unexecuted instantiation: ipc.c:get_header_by_name
Unexecuted instantiation: core_stats.c:get_header_by_name
Unexecuted instantiation: route_struct.c:get_header_by_name
Unexecuted instantiation: dset.c:get_header_by_name
Unexecuted instantiation: pt_load.c:get_header_by_name
Unexecuted instantiation: sr_module.c:get_header_by_name
Unexecuted instantiation: action.c:get_header_by_name
Unexecuted instantiation: db_insertq.c:get_header_by_name
Unexecuted instantiation: db.c:get_header_by_name
Unexecuted instantiation: proto_tcp.c:get_header_by_name
Unexecuted instantiation: proto_udp.c:get_header_by_name
Unexecuted instantiation: net_tcp_proc.c:get_header_by_name
Unexecuted instantiation: net_tcp.c:get_header_by_name
Unexecuted instantiation: tcp_common.c:get_header_by_name
Unexecuted instantiation: net_udp.c:get_header_by_name
Unexecuted instantiation: tcp_conn_profile.c:get_header_by_name
Unexecuted instantiation: trans_trace.c:get_header_by_name
Unexecuted instantiation: net_tcp_report.c:get_header_by_name
Unexecuted instantiation: shm_mem.c:get_header_by_name
Unexecuted instantiation: mi.c:get_header_by_name
Unexecuted instantiation: item.c:get_header_by_name
Unexecuted instantiation: msg_parser.c:get_header_by_name
Unexecuted instantiation: parse_uri.c:get_header_by_name
Unexecuted instantiation: parse_fline.c:get_header_by_name
Unexecuted instantiation: parse_methods.c:get_header_by_name
Unexecuted instantiation: parse_hname2.c:get_header_by_name
Unexecuted instantiation: parse_content.c:get_header_by_name
Unexecuted instantiation: hf.c:get_header_by_name
Unexecuted instantiation: parse_to.c:get_header_by_name
Unexecuted instantiation: parse_via.c:get_header_by_name
Unexecuted instantiation: event_interface.c:get_header_by_name
Unexecuted instantiation: receive.c:get_header_by_name
Unexecuted instantiation: error.c:get_header_by_name
Unexecuted instantiation: script_cb.c:get_header_by_name
Unexecuted instantiation: ip_addr.c:get_header_by_name
Unexecuted instantiation: data_lump_rpl.c:get_header_by_name
Unexecuted instantiation: async.c:get_header_by_name
Unexecuted instantiation: daemonize.c:get_header_by_name
Unexecuted instantiation: timer.c:get_header_by_name
Unexecuted instantiation: trace_api.c:get_header_by_name
Unexecuted instantiation: mod_fix.c:get_header_by_name
Unexecuted instantiation: reactor.c:get_header_by_name
Unexecuted instantiation: strcommon.c:get_header_by_name
Unexecuted instantiation: forward.c:get_header_by_name
Unexecuted instantiation: xlog.c:get_header_by_name
Unexecuted instantiation: blacklists.c:get_header_by_name
Unexecuted instantiation: msg_callbacks.c:get_header_by_name
Unexecuted instantiation: usr_avp.c:get_header_by_name
Unexecuted instantiation: sl_cb.c:get_header_by_name
Unexecuted instantiation: sdp_ops.c:get_header_by_name
Unexecuted instantiation: resolve.c:get_header_by_name
Unexecuted instantiation: io_wait.c:get_header_by_name
Unexecuted instantiation: transformations.c:get_header_by_name
Unexecuted instantiation: pvar.c:get_header_by_name
Unexecuted instantiation: sr_module_deps.c:get_header_by_name
Unexecuted instantiation: cfg_reload.c:get_header_by_name
Unexecuted instantiation: socket_info.c:get_header_by_name
Unexecuted instantiation: time_rec.c:get_header_by_name
Unexecuted instantiation: data_lump.c:get_header_by_name
Unexecuted instantiation: status_report.c:get_header_by_name
Unexecuted instantiation: pt_scaling.c:get_header_by_name
Unexecuted instantiation: signals.c:get_header_by_name
Unexecuted instantiation: flags.c:get_header_by_name
Unexecuted instantiation: db_id.c:get_header_by_name
Unexecuted instantiation: trans.c:get_header_by_name
Unexecuted instantiation: sdp.c:get_header_by_name
Unexecuted instantiation: sdp_helpr_funcs.c:get_header_by_name
Unexecuted instantiation: digest_parser.c:get_header_by_name
Unexecuted instantiation: param_parser.c:get_header_by_name
Unexecuted instantiation: digest.c:get_header_by_name
Unexecuted instantiation: parse_contact.c:get_header_by_name
Unexecuted instantiation: parse_body.c:get_header_by_name
Unexecuted instantiation: parse_security.c:get_header_by_name
Unexecuted instantiation: parse_call_info.c:get_header_by_name
Unexecuted instantiation: parse_event.c:get_header_by_name
Unexecuted instantiation: parse_disposition.c:get_header_by_name
Unexecuted instantiation: parse_authenticate.c:get_header_by_name
Unexecuted instantiation: parser_f.c:get_header_by_name
Unexecuted instantiation: parse_rpid.c:get_header_by_name
Unexecuted instantiation: parse_ppi.c:get_header_by_name
Unexecuted instantiation: parse_fcaps.c:get_header_by_name
Unexecuted instantiation: parse_sst.c:get_header_by_name
Unexecuted instantiation: parse_rr.c:get_header_by_name
Unexecuted instantiation: parse_param.c:get_header_by_name
Unexecuted instantiation: parse_diversion.c:get_header_by_name
Unexecuted instantiation: parse_nameaddr.c:get_header_by_name
Unexecuted instantiation: parse_expires.c:get_header_by_name
Unexecuted instantiation: parse_refer_to.c:get_header_by_name
Unexecuted instantiation: parse_from.c:get_header_by_name
Unexecuted instantiation: parse_pai.c:get_header_by_name
Unexecuted instantiation: evi_transport.c:get_header_by_name
Unexecuted instantiation: msg_translator.c:get_header_by_name
Unexecuted instantiation: md5utils.c:get_header_by_name
Unexecuted instantiation: cfg.tab.c:get_header_by_name
Unexecuted instantiation: modparam.c:get_header_by_name
Unexecuted instantiation: crc.c:get_header_by_name
Unexecuted instantiation: re.c:get_header_by_name
Unexecuted instantiation: lex.yy.c:get_header_by_name
Unexecuted instantiation: cfg_pp.c:get_header_by_name
Unexecuted instantiation: shutdown.c:get_header_by_name
Unexecuted instantiation: cmds.c:get_header_by_name
Unexecuted instantiation: core_cmds.c:get_header_by_name
Unexecuted instantiation: serialize.c:get_header_by_name
Unexecuted instantiation: cachedb.c:get_header_by_name
Unexecuted instantiation: cachedb_id.c:get_header_by_name
Unexecuted instantiation: fuzz_uri_parser.c:get_header_by_name
Unexecuted instantiation: fuzz_core_funcs.c:get_header_by_name
Unexecuted instantiation: fuzz_msg_parser.c:get_header_by_name
522
523
524
#define get_next_header_by_static_name(_hdr, _name) \
525
    get_next_header_by_name(_hdr, _name, sizeof(_name)-1)
526
inline static struct hdr_field *get_next_header_by_name(
527
            struct hdr_field *first, char *s, unsigned int len)
528
0
{
529
0
  struct hdr_field *hdr;
530
0
531
0
  for( hdr=first->next ; hdr ; hdr=hdr->next ) {
532
0
    if(len==hdr->name.len && strncasecmp(hdr->name.s,s,len)==0)
533
0
      return hdr;
534
0
  }
535
0
  return NULL;
536
0
}
Unexecuted instantiation: fuzz_csv_parser.c:get_next_header_by_name
Unexecuted instantiation: csv.c:get_next_header_by_name
Unexecuted instantiation: dprint.c:get_next_header_by_name
Unexecuted instantiation: pt.c:get_next_header_by_name
Unexecuted instantiation: ut.c:get_next_header_by_name
Unexecuted instantiation: statistics.c:get_next_header_by_name
Unexecuted instantiation: route.c:get_next_header_by_name
Unexecuted instantiation: ipc.c:get_next_header_by_name
Unexecuted instantiation: core_stats.c:get_next_header_by_name
Unexecuted instantiation: route_struct.c:get_next_header_by_name
Unexecuted instantiation: dset.c:get_next_header_by_name
Unexecuted instantiation: pt_load.c:get_next_header_by_name
Unexecuted instantiation: sr_module.c:get_next_header_by_name
Unexecuted instantiation: action.c:get_next_header_by_name
Unexecuted instantiation: db_insertq.c:get_next_header_by_name
Unexecuted instantiation: db.c:get_next_header_by_name
Unexecuted instantiation: proto_tcp.c:get_next_header_by_name
Unexecuted instantiation: proto_udp.c:get_next_header_by_name
Unexecuted instantiation: net_tcp_proc.c:get_next_header_by_name
Unexecuted instantiation: net_tcp.c:get_next_header_by_name
Unexecuted instantiation: tcp_common.c:get_next_header_by_name
Unexecuted instantiation: net_udp.c:get_next_header_by_name
Unexecuted instantiation: tcp_conn_profile.c:get_next_header_by_name
Unexecuted instantiation: trans_trace.c:get_next_header_by_name
Unexecuted instantiation: net_tcp_report.c:get_next_header_by_name
Unexecuted instantiation: shm_mem.c:get_next_header_by_name
Unexecuted instantiation: mi.c:get_next_header_by_name
Unexecuted instantiation: item.c:get_next_header_by_name
Unexecuted instantiation: msg_parser.c:get_next_header_by_name
Unexecuted instantiation: parse_uri.c:get_next_header_by_name
Unexecuted instantiation: parse_fline.c:get_next_header_by_name
Unexecuted instantiation: parse_methods.c:get_next_header_by_name
Unexecuted instantiation: parse_hname2.c:get_next_header_by_name
Unexecuted instantiation: parse_content.c:get_next_header_by_name
Unexecuted instantiation: hf.c:get_next_header_by_name
Unexecuted instantiation: parse_to.c:get_next_header_by_name
Unexecuted instantiation: parse_via.c:get_next_header_by_name
Unexecuted instantiation: event_interface.c:get_next_header_by_name
Unexecuted instantiation: receive.c:get_next_header_by_name
Unexecuted instantiation: error.c:get_next_header_by_name
Unexecuted instantiation: script_cb.c:get_next_header_by_name
Unexecuted instantiation: ip_addr.c:get_next_header_by_name
Unexecuted instantiation: data_lump_rpl.c:get_next_header_by_name
Unexecuted instantiation: async.c:get_next_header_by_name
Unexecuted instantiation: daemonize.c:get_next_header_by_name
Unexecuted instantiation: timer.c:get_next_header_by_name
Unexecuted instantiation: trace_api.c:get_next_header_by_name
Unexecuted instantiation: mod_fix.c:get_next_header_by_name
Unexecuted instantiation: reactor.c:get_next_header_by_name
Unexecuted instantiation: strcommon.c:get_next_header_by_name
Unexecuted instantiation: forward.c:get_next_header_by_name
Unexecuted instantiation: xlog.c:get_next_header_by_name
Unexecuted instantiation: blacklists.c:get_next_header_by_name
Unexecuted instantiation: msg_callbacks.c:get_next_header_by_name
Unexecuted instantiation: usr_avp.c:get_next_header_by_name
Unexecuted instantiation: sl_cb.c:get_next_header_by_name
Unexecuted instantiation: sdp_ops.c:get_next_header_by_name
Unexecuted instantiation: resolve.c:get_next_header_by_name
Unexecuted instantiation: io_wait.c:get_next_header_by_name
Unexecuted instantiation: transformations.c:get_next_header_by_name
Unexecuted instantiation: pvar.c:get_next_header_by_name
Unexecuted instantiation: sr_module_deps.c:get_next_header_by_name
Unexecuted instantiation: cfg_reload.c:get_next_header_by_name
Unexecuted instantiation: socket_info.c:get_next_header_by_name
Unexecuted instantiation: time_rec.c:get_next_header_by_name
Unexecuted instantiation: data_lump.c:get_next_header_by_name
Unexecuted instantiation: status_report.c:get_next_header_by_name
Unexecuted instantiation: pt_scaling.c:get_next_header_by_name
Unexecuted instantiation: signals.c:get_next_header_by_name
Unexecuted instantiation: flags.c:get_next_header_by_name
Unexecuted instantiation: db_id.c:get_next_header_by_name
Unexecuted instantiation: trans.c:get_next_header_by_name
Unexecuted instantiation: sdp.c:get_next_header_by_name
Unexecuted instantiation: sdp_helpr_funcs.c:get_next_header_by_name
Unexecuted instantiation: digest_parser.c:get_next_header_by_name
Unexecuted instantiation: param_parser.c:get_next_header_by_name
Unexecuted instantiation: digest.c:get_next_header_by_name
Unexecuted instantiation: parse_contact.c:get_next_header_by_name
Unexecuted instantiation: parse_body.c:get_next_header_by_name
Unexecuted instantiation: parse_security.c:get_next_header_by_name
Unexecuted instantiation: parse_call_info.c:get_next_header_by_name
Unexecuted instantiation: parse_event.c:get_next_header_by_name
Unexecuted instantiation: parse_disposition.c:get_next_header_by_name
Unexecuted instantiation: parse_authenticate.c:get_next_header_by_name
Unexecuted instantiation: parser_f.c:get_next_header_by_name
Unexecuted instantiation: parse_rpid.c:get_next_header_by_name
Unexecuted instantiation: parse_ppi.c:get_next_header_by_name
Unexecuted instantiation: parse_fcaps.c:get_next_header_by_name
Unexecuted instantiation: parse_sst.c:get_next_header_by_name
Unexecuted instantiation: parse_rr.c:get_next_header_by_name
Unexecuted instantiation: parse_param.c:get_next_header_by_name
Unexecuted instantiation: parse_diversion.c:get_next_header_by_name
Unexecuted instantiation: parse_nameaddr.c:get_next_header_by_name
Unexecuted instantiation: parse_expires.c:get_next_header_by_name
Unexecuted instantiation: parse_refer_to.c:get_next_header_by_name
Unexecuted instantiation: parse_from.c:get_next_header_by_name
Unexecuted instantiation: parse_pai.c:get_next_header_by_name
Unexecuted instantiation: evi_transport.c:get_next_header_by_name
Unexecuted instantiation: msg_translator.c:get_next_header_by_name
Unexecuted instantiation: md5utils.c:get_next_header_by_name
Unexecuted instantiation: cfg.tab.c:get_next_header_by_name
Unexecuted instantiation: modparam.c:get_next_header_by_name
Unexecuted instantiation: crc.c:get_next_header_by_name
Unexecuted instantiation: re.c:get_next_header_by_name
Unexecuted instantiation: lex.yy.c:get_next_header_by_name
Unexecuted instantiation: cfg_pp.c:get_next_header_by_name
Unexecuted instantiation: shutdown.c:get_next_header_by_name
Unexecuted instantiation: cmds.c:get_next_header_by_name
Unexecuted instantiation: core_cmds.c:get_next_header_by_name
Unexecuted instantiation: serialize.c:get_next_header_by_name
Unexecuted instantiation: cachedb.c:get_next_header_by_name
Unexecuted instantiation: cachedb_id.c:get_next_header_by_name
Unexecuted instantiation: fuzz_uri_parser.c:get_next_header_by_name
Unexecuted instantiation: fuzz_core_funcs.c:get_next_header_by_name
Unexecuted instantiation: fuzz_msg_parser.c:get_next_header_by_name
537
538
539
540
541
/*
542
 * Make a private copy of the string and assign it to new_uri (new RURI)
543
 */
544
int set_ruri(struct sip_msg* msg, str* uri);
545
546
547
/*
548
 * Make a private copy of the string and assign it to dst_uri
549
 */
550
int set_dst_uri(struct sip_msg* msg, str* uri);
551
552
553
void reset_dst_uri(struct sip_msg *msg);
554
555
556
int set_dst_host_port(struct sip_msg *msg, str *host, str *port);
557
558
559
enum rw_ruri_part {
560
  RW_RURI_HOST = 1,
561
  RW_RURI_HOSTPORT,
562
  RW_RURI_USER,
563
  RW_RURI_USERPASS,
564
  RW_RURI_PORT,
565
  RW_RURI_PREFIX,
566
  RW_RURI_STRIP,
567
  RW_RURI_STRIP_TAIL
568
};
569
570
int rewrite_ruri(struct sip_msg *msg, str *sval, int ival,
571
        enum rw_ruri_part part);
572
573
574
/*
575
 * Set the q value of the Request-URI
576
 */
577
#define set_ruri_q(_msg,_q) \
578
0
  (_msg)->ruri_q = _q
579
580
581
/*
582
 * Get the q value of the Request-URI
583
 */
584
#define get_ruri_q(_msg) \
585
10.8k
  (_msg)->ruri_q
586
587
588
/*
589
 * Get the per branch flags for RURI
590
 */
591
#define getb0flags(_msg) \
592
12.2k
  (_msg)->ruri_bflags
593
594
595
/*
596
 * Set the per branch flags for RURI
597
 */
598
#define setb0flags( _msg, _flags) \
599
0
  (_msg)->ruri_bflags = _flags
600
601
602
/*
603
 * Make a private copy of the string and assign it to path_vec
604
 */
605
int set_path_vector(struct sip_msg* msg, str* path);
606
void clear_path_vector(struct sip_msg* msg);
607
608
609
/*
610
 * Parses a buffer containing a well formed SIP message and extracts the bodies
611
 * for FROM , TO , CSEQ and CALL-ID headers.
612
 */
613
int extract_ftc_hdrs( char *buf, int len, str *from, str *to, str *cseq,str *callid);
614
615
inline static struct timeval *get_msg_time(struct sip_msg *msg)
616
0
{
617
0
  static struct timeval static_time;
618
0
  if (!msg || msg == (struct sip_msg *)-1) {
619
0
    gettimeofday(&static_time, NULL);
620
0
    return &static_time;
621
0
  }
622
0
  if (msg->time.tv_sec == 0 && msg->time.tv_usec == 0)
623
0
    gettimeofday(&msg->time, NULL);
624
0
  return &msg->time;
625
0
}
Unexecuted instantiation: fuzz_csv_parser.c:get_msg_time
Unexecuted instantiation: csv.c:get_msg_time
Unexecuted instantiation: dprint.c:get_msg_time
Unexecuted instantiation: pt.c:get_msg_time
Unexecuted instantiation: ut.c:get_msg_time
Unexecuted instantiation: statistics.c:get_msg_time
Unexecuted instantiation: route.c:get_msg_time
Unexecuted instantiation: ipc.c:get_msg_time
Unexecuted instantiation: core_stats.c:get_msg_time
Unexecuted instantiation: route_struct.c:get_msg_time
Unexecuted instantiation: dset.c:get_msg_time
Unexecuted instantiation: pt_load.c:get_msg_time
Unexecuted instantiation: sr_module.c:get_msg_time
Unexecuted instantiation: action.c:get_msg_time
Unexecuted instantiation: db_insertq.c:get_msg_time
Unexecuted instantiation: db.c:get_msg_time
Unexecuted instantiation: proto_tcp.c:get_msg_time
Unexecuted instantiation: proto_udp.c:get_msg_time
Unexecuted instantiation: net_tcp_proc.c:get_msg_time
Unexecuted instantiation: net_tcp.c:get_msg_time
Unexecuted instantiation: tcp_common.c:get_msg_time
Unexecuted instantiation: net_udp.c:get_msg_time
Unexecuted instantiation: tcp_conn_profile.c:get_msg_time
Unexecuted instantiation: trans_trace.c:get_msg_time
Unexecuted instantiation: net_tcp_report.c:get_msg_time
Unexecuted instantiation: shm_mem.c:get_msg_time
Unexecuted instantiation: mi.c:get_msg_time
Unexecuted instantiation: item.c:get_msg_time
Unexecuted instantiation: msg_parser.c:get_msg_time
Unexecuted instantiation: parse_uri.c:get_msg_time
Unexecuted instantiation: parse_fline.c:get_msg_time
Unexecuted instantiation: parse_methods.c:get_msg_time
Unexecuted instantiation: parse_hname2.c:get_msg_time
Unexecuted instantiation: parse_content.c:get_msg_time
Unexecuted instantiation: hf.c:get_msg_time
Unexecuted instantiation: parse_to.c:get_msg_time
Unexecuted instantiation: parse_via.c:get_msg_time
Unexecuted instantiation: event_interface.c:get_msg_time
Unexecuted instantiation: receive.c:get_msg_time
Unexecuted instantiation: error.c:get_msg_time
Unexecuted instantiation: script_cb.c:get_msg_time
Unexecuted instantiation: ip_addr.c:get_msg_time
Unexecuted instantiation: data_lump_rpl.c:get_msg_time
Unexecuted instantiation: async.c:get_msg_time
Unexecuted instantiation: daemonize.c:get_msg_time
Unexecuted instantiation: timer.c:get_msg_time
Unexecuted instantiation: trace_api.c:get_msg_time
Unexecuted instantiation: mod_fix.c:get_msg_time
Unexecuted instantiation: reactor.c:get_msg_time
Unexecuted instantiation: strcommon.c:get_msg_time
Unexecuted instantiation: forward.c:get_msg_time
Unexecuted instantiation: xlog.c:get_msg_time
Unexecuted instantiation: blacklists.c:get_msg_time
Unexecuted instantiation: msg_callbacks.c:get_msg_time
Unexecuted instantiation: usr_avp.c:get_msg_time
Unexecuted instantiation: sl_cb.c:get_msg_time
Unexecuted instantiation: sdp_ops.c:get_msg_time
Unexecuted instantiation: resolve.c:get_msg_time
Unexecuted instantiation: io_wait.c:get_msg_time
Unexecuted instantiation: transformations.c:get_msg_time
Unexecuted instantiation: pvar.c:get_msg_time
Unexecuted instantiation: sr_module_deps.c:get_msg_time
Unexecuted instantiation: cfg_reload.c:get_msg_time
Unexecuted instantiation: socket_info.c:get_msg_time
Unexecuted instantiation: time_rec.c:get_msg_time
Unexecuted instantiation: data_lump.c:get_msg_time
Unexecuted instantiation: status_report.c:get_msg_time
Unexecuted instantiation: pt_scaling.c:get_msg_time
Unexecuted instantiation: signals.c:get_msg_time
Unexecuted instantiation: flags.c:get_msg_time
Unexecuted instantiation: db_id.c:get_msg_time
Unexecuted instantiation: trans.c:get_msg_time
Unexecuted instantiation: sdp.c:get_msg_time
Unexecuted instantiation: sdp_helpr_funcs.c:get_msg_time
Unexecuted instantiation: digest_parser.c:get_msg_time
Unexecuted instantiation: param_parser.c:get_msg_time
Unexecuted instantiation: digest.c:get_msg_time
Unexecuted instantiation: parse_contact.c:get_msg_time
Unexecuted instantiation: parse_body.c:get_msg_time
Unexecuted instantiation: parse_security.c:get_msg_time
Unexecuted instantiation: parse_call_info.c:get_msg_time
Unexecuted instantiation: parse_event.c:get_msg_time
Unexecuted instantiation: parse_disposition.c:get_msg_time
Unexecuted instantiation: parse_authenticate.c:get_msg_time
Unexecuted instantiation: parser_f.c:get_msg_time
Unexecuted instantiation: parse_rpid.c:get_msg_time
Unexecuted instantiation: parse_ppi.c:get_msg_time
Unexecuted instantiation: parse_fcaps.c:get_msg_time
Unexecuted instantiation: parse_sst.c:get_msg_time
Unexecuted instantiation: parse_rr.c:get_msg_time
Unexecuted instantiation: parse_param.c:get_msg_time
Unexecuted instantiation: parse_diversion.c:get_msg_time
Unexecuted instantiation: parse_nameaddr.c:get_msg_time
Unexecuted instantiation: parse_expires.c:get_msg_time
Unexecuted instantiation: parse_refer_to.c:get_msg_time
Unexecuted instantiation: parse_from.c:get_msg_time
Unexecuted instantiation: parse_pai.c:get_msg_time
Unexecuted instantiation: evi_transport.c:get_msg_time
Unexecuted instantiation: msg_translator.c:get_msg_time
Unexecuted instantiation: md5utils.c:get_msg_time
Unexecuted instantiation: cfg.tab.c:get_msg_time
Unexecuted instantiation: modparam.c:get_msg_time
Unexecuted instantiation: crc.c:get_msg_time
Unexecuted instantiation: re.c:get_msg_time
Unexecuted instantiation: lex.yy.c:get_msg_time
Unexecuted instantiation: cfg_pp.c:get_msg_time
Unexecuted instantiation: shutdown.c:get_msg_time
Unexecuted instantiation: cmds.c:get_msg_time
Unexecuted instantiation: core_cmds.c:get_msg_time
Unexecuted instantiation: serialize.c:get_msg_time
Unexecuted instantiation: cachedb.c:get_msg_time
Unexecuted instantiation: cachedb_id.c:get_msg_time
Unexecuted instantiation: fuzz_uri_parser.c:get_msg_time
Unexecuted instantiation: fuzz_core_funcs.c:get_msg_time
Unexecuted instantiation: fuzz_msg_parser.c:get_msg_time
626
627
#endif