The fuzzers needs to be completely independent of the main.c for
OSS-Fuzz to work.
#include "fuzz.h"
+bool debug = false;
+
static isc_mem_t *mctx = NULL;
int
#include "fuzz.h"
+bool debug = false;
+
/*
* Fuzz input to dns_rdata_fromwire(). Then convert the result
* to text, back to wire format, to multiline text, and back to wire
#include "fuzz.h"
+bool debug = false;
+
int
LLVMFuzzerInitialize(int *argc __attribute__((unused)),
char ***argv __attribute__((unused)));
#include "fuzz.h"
+bool debug = false;
+
static isc_mem_t *mctx = NULL;
static isc_lex_t *lex = NULL;
#include <dirent.h>
-bool debug = false;
-
static void
test_all_from(const char *dirname) {
DIR *dirp;