diff options
author | hexcoder- <heiko@hexco.de> | 2020-12-18 21:10:39 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-12-18 21:10:39 +0100 |
commit | 12ebb351dc2b5655b4174539e2b9ee59e4acf893 (patch) | |
tree | ed66d2b7f4e8d6d1a7f2ff0d9b44a1eb9af39c99 /src/afl-fuzz-state.c | |
parent | 73dd6d86abc16c2ceb5529f3a261724be8b7896a (diff) | |
download | afl++-12ebb351dc2b5655b4174539e2b9ee59e4acf893.tar.gz |
apply nocolor changes
Diffstat (limited to 'src/afl-fuzz-state.c')
-rw-r--r-- | src/afl-fuzz-state.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c index 9c51a3ef..e863c4c7 100644 --- a/src/afl-fuzz-state.c +++ b/src/afl-fuzz-state.c @@ -401,6 +401,22 @@ void read_afl_environment(afl_state_t *afl, char **envp) { afl->afl_env.afl_crash_exitcode = (u8 *)get_afl_env(afl_environment_variables[i]); +#if defined USE_COLOR && ! defined ALWAYS_COLORED + } else if (!strncmp(env, "AFL_NO_COLOR", + + afl_environment_variable_len)) { + + afl->afl_env.afl_statsd_tags_flavor = + (u8 *)get_afl_env(afl_environment_variables[i]); + + } else if (!strncmp(env, "AFL_NO_COLOUR", + + afl_environment_variable_len)) { + + afl->afl_env.afl_statsd_tags_flavor = + (u8 *)get_afl_env(afl_environment_variables[i]); +#endif + } } else { |