add AFL_TARGET_ENV to afl-fuzz

This commit is contained in:
fuzzah
2021-03-17 01:51:40 +03:00
parent 65b90001f6
commit d7e121e2c9
7 changed files with 119 additions and 0 deletions

View File

@ -49,6 +49,10 @@ char **get_qemu_argv(u8 *own_loc, u8 **target_path_p, int argc, char **argv);
char **get_wine_argv(u8 *own_loc, u8 **target_path_p, int argc, char **argv);
char * get_afl_env(char *env);
/* Extract env vars from input string and set them using setenv()
For use with AFL_TARGET_ENV, ... */
u8 extract_and_set_env(u8 *env_str);
extern u8 be_quiet;
extern u8 *doc_path; /* path to documentation dir */