mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Add missing namespace to usage of get_exe_path in fuzzer
This commit is contained in:
parent
54215ab9cd
commit
73051135c2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
|
||||||
{
|
{
|
||||||
// Set up an expected script search path for use with OSS-Fuzz
|
// Set up an expected script search path for use with OSS-Fuzz
|
||||||
auto constexpr oss_fuzz_scripts = "oss-fuzz-zeek-scripts";
|
auto constexpr oss_fuzz_scripts = "oss-fuzz-zeek-scripts";
|
||||||
auto fuzzer_path = get_exe_path(*argv[0]);
|
auto fuzzer_path = zeek::util::detail::get_exe_path(*argv[0]);
|
||||||
auto fuzzer_dir = SafeDirname(fuzzer_path).result;
|
auto fuzzer_dir = SafeDirname(fuzzer_path).result;
|
||||||
std::string fs = zeek::util::fmt("%s/%s", fuzzer_dir.data(), oss_fuzz_scripts);
|
std::string fs = zeek::util::fmt("%s/%s", fuzzer_dir.data(), oss_fuzz_scripts);
|
||||||
auto p = fs.data();
|
auto p = fs.data();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue