refactor finding binaries

This commit is contained in:
vanhauser-thc
2021-03-19 14:55:25 +01:00
parent 99525dee38
commit e73c7c59c1
5 changed files with 79 additions and 162 deletions

View File

@ -57,6 +57,10 @@ extern u8 *doc_path; /* path to documentation dir */
u8 *find_binary(u8 *fname);
/* find an afl binary */
u8 *find_afl_binary(u8 *own_loc, u8 *fname);
/* Parses the kill signal environment variable, FATALs on error.
If the env is not set, sets the env to default_signal for the signal handlers
and returns the default_signal. */