char const *dict_dir = getenv("FR_DICTIONARY_DIR");
char const *debug_lvl_str = getenv("FR_DEBUG_LVL");
char const *p;
-#ifdef LIB_FUZZING_ENGINE
+#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
char *dict_dir_to_free = NULL;
char *lib_dir_to_free = NULL;
#endif
}
}
-#ifdef LIB_FUZZING_ENGINE
+#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
/*
* oss-fuzz puts the dictionaries, etc. into subdirectories named after the location of the
* binary. So we find the directory of the binary, and append "/dict" or "/lib" to find
init = true;
-#ifdef LIB_FUZZING_ENGINE
+#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
talloc_free(dict_dir_to_free);
talloc_free(lib_dir_to_free);
#endif
FUZZER_CORPUS_DIR := src/tests/fuzzer-corpus
-ifdef LIB_FUZZING_ENGINE
-SRC_CFLAGS += -DLIB_FUZZING_ENGINE
-endif
-
#
# Ensure that the large data file is copied from git-lfs,
# and then the files are extracted.