diff options
author | fuzzah <fuzzah@tuta.io> | 2021-03-17 01:51:40 +0300 |
---|---|---|
committer | fuzzah <fuzzah@tuta.io> | 2021-03-20 01:32:28 +0300 |
commit | d7e121e2c99c02d4b6984f21ba837d44bce9c77c (patch) | |
tree | 2263044f6ce1e845226245b0ba7381ab99490976 /include/common.h | |
parent | 65b90001f6e731f22178cb592b9812639bff4cb5 (diff) | |
download | afl++-d7e121e2c99c02d4b6984f21ba837d44bce9c77c.tar.gz |
add AFL_TARGET_ENV to afl-fuzz
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index b7adbaec..06453b8e 100644 --- a/include/common.h +++ b/include/common.h @@ -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 */ |