mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Add OSS-Fuzz Zeek script search path to fuzzers
This commit is contained in:
parent
a4244bc72b
commit
98845e89aa
4 changed files with 57 additions and 32 deletions
|
@ -346,6 +346,14 @@ std::string normalize_path(std::string_view path);
|
|||
*/
|
||||
std::string without_bropath_component(std::string_view path);
|
||||
|
||||
/**
|
||||
* Gets the full path used to invoke some executable.
|
||||
* @param invocation any possible string that may be seen in argv[0], such as
|
||||
* absolute path, relative path, or name to lookup in PATH.
|
||||
* @return the absolute path to the executable file
|
||||
*/
|
||||
std::string get_exe_path(const std::string& invocation);
|
||||
|
||||
/**
|
||||
* Locate a file within a given search path.
|
||||
* @param filename Name of a file to find.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue