diff options
author | wxyxsx <wxyxsx@126.com> | 2021-08-10 11:14:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 11:14:55 +0800 |
commit | 50fc76faa86c7e2cc6523af141f3596bc2af2364 (patch) | |
tree | 267849625bf7cf82fa20a45ec69489b56905cac0 /src/afl-fuzz-python.c | |
parent | 32a0d6ac31554a47dca591f8978982758fb87677 (diff) | |
download | afl++-50fc76faa86c7e2cc6523af141f3596bc2af2364.tar.gz |
Update afl-fuzz-python.c
Fix havoc_mutations not working in python version
Diffstat (limited to 'src/afl-fuzz-python.c')
-rw-r--r-- | src/afl-fuzz-python.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afl-fuzz-python.c b/src/afl-fuzz-python.c index 3aa97635..bc481b49 100644 --- a/src/afl-fuzz-python.c +++ b/src/afl-fuzz-python.c @@ -445,6 +445,10 @@ struct custom_mutator *load_custom_mutator_py(afl_state_t *afl, /* Initialize the custom mutator */ init_py(afl, py_mutator, rand_below(afl, 0xFFFFFFFF)); + + mutator->stacked_custom = (mutator && mutator->afl_custom_havoc_mutation); + mutator->stacked_custom_prob = + 6; // like one of the default mutations in havoc return mutator; |