From 428b88a82a6dd01db8a50e618fe2021bc8215229 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Mon, 16 Sep 2019 16:17:16 +0200 Subject: added afl_custom_mutator_only --- src/afl-fuzz.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/afl-fuzz.c') diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 2d16345a..c2e18477 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -622,6 +622,16 @@ int main(int argc, char** argv) { } + if (getenv("AFL_CUSTOM_MUTATOR_ONLY")) { + + /* This ensures we don't proceed to havoc/splice */ + custom_only = 1; + + /* Ensure we also skip all deterministic steps */ + skip_deterministic = 1; + + } + get_core_count(); #ifdef HAVE_AFFINITY -- cgit 1.4.1