Coverage Report

Created: 2024-04-25 06:03

/src/ntpsec/fuzz/setup.c
Line
Count
Source (jump to first uncovered line)
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
24
void dns_take_server(struct peer *a, sockaddr_u *b);
25
void dns_take_status(struct peer *a, DNS_Status b);
26
27
0
void dns_take_server(struct peer *a, sockaddr_u *b) {
28
0
  UNUSED_ARG(a);
29
0
  UNUSED_ARG(b);
30
0
  return;
31
0
}
32
33
0
void dns_take_status(struct peer *a, DNS_Status b) {
34
0
  UNUSED_ARG(a);
35
0
  UNUSED_ARG(b);
36
0
  return;
37
0
}