diff options
author | van Hauser <vh@thc.org> | 2022-04-03 09:31:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 09:31:23 +0200 |
commit | ef5543680aea31e193ea5794c023dac8cc3ca7d6 (patch) | |
tree | 8dc251d65376b47ce17121bdf328fc79c68243f2 /src/afl-fuzz-state.c | |
parent | c4363dd8b3d19a3e4bab8bc1fca1708ae2ff7899 (diff) | |
parent | 26f3ec28eef78f3a57bc3c308de9a3105cb63538 (diff) | |
download | afl++-ef5543680aea31e193ea5794c023dac8cc3ca7d6.tar.gz |
Merge pull request #1374 from CarloMara/stable
Add new mode to AFLplusplus
Diffstat (limited to 'src/afl-fuzz-state.c')
-rw-r--r-- | src/afl-fuzz-state.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c index 129e4c8b..507ddb46 100644 --- a/src/afl-fuzz-state.c +++ b/src/afl-fuzz-state.c @@ -496,6 +496,13 @@ void read_afl_environment(afl_state_t *afl, char **envp) { afl->max_length = atoi((u8 *)get_afl_env(afl_environment_variables[i])); + } else if (!strncmp(env, "AFL_PIZZA_MODE", + + afl_environment_variable_len)) { + + afl->afl_env.afl_pizza_mode = + atoi((u8 *)get_afl_env(afl_environment_variables[i])); + } } else { |