Use zeek::detail namespace for fuzzer utils

This commit is contained in:
Jon Siwek 2020-05-04 17:37:11 -07:00
parent 5a2d25c954
commit 2d0b8c0b8e
7 changed files with 17 additions and 16 deletions

View file

@ -36,15 +36,15 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
options.ignore_checksums = true;
options.abort_on_scripting_errors = true;
if ( zeek::setup(*argc, *argv, &options).code )
if ( zeek::detail::setup(*argc, *argv, &options).code )
abort();
return 0;
}
namespace zeek {
namespace zeek { namespace detail {
void fuzz_cleanup_one_input()
void fuzzer_cleanup_one_input()
{
terminating = true;
broker_mgr->ClearStores();
@ -58,4 +58,4 @@ void fuzz_cleanup_one_input()
terminating = false;
}
} // namespace zeek
}} // namespace zeek::detail