Coverage Report

Created: 2026-01-10 06:17

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/ntpsec/fuzz/setup.c
Line
Count
Source
1
/* Copyright 2022 Google LLC
2
Licensed under the Apache License, Version 2.0 (the "License");
3
you may not use this file except in compliance with the License.
4
You may obtain a copy of the License at
5
      http://www.apache.org/licenses/LICENSE-2.0
6
Unless required by applicable law or agreed to in writing, software
7
distributed under the License is distributed on an "AS IS" BASIS,
8
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
See the License for the specific language governing permissions and
10
limitations under the License.
11
*/
12
13
#include <stdio.h>
14
#include <stdlib.h>
15
#include <string.h>
16
#include "ntpd.h"
17
#include "ntp_dns.h"
18
19
const char *progname = "ntpsecfuzz";
20
21
/* Hack to keep linker happy */
22
uint16_t extra_port = 0;
23
struct peer *peer_list = NULL;
24
25
void dns_take_server(struct peer *a, sockaddr_u *b);
26
void dns_take_status(struct peer *a, DNS_Status b);
27
28
0
void dns_take_server(struct peer *a, sockaddr_u *b) {
29
0
  UNUSED_ARG(a);
30
0
  UNUSED_ARG(b);
31
0
  return;
32
0
}
33
34
0
void dns_take_status(struct peer *a, DNS_Status b) {
35
0
  UNUSED_ARG(a);
36
0
  UNUSED_ARG(b);
37
0
  return;
38
0
}