diff options
| author | van Hauser <vh@thc.org> | 2021-07-20 08:57:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-20 08:57:37 +0200 |
| commit | fff8c49f7c73a1531166ad52fc50306dbd01775f (patch) | |
| tree | 217b85dfd5b6ccf62a8fa4ac59a65d615a08143f /custom_mutators/honggfuzz | |
| parent | b3fe3b8877931f7ba7c4150fcc24e8cd18835d86 (diff) | |
| parent | 5bcbb2f59affc411a1e8bb7ccaabaa5ba63e6596 (diff) | |
| download | afl++-fff8c49f7c73a1531166ad52fc50306dbd01775f.tar.gz | |
Merge pull request #1034 from AFLplusplus/grammatron
Grammatron
Diffstat (limited to 'custom_mutators/honggfuzz')
| -rw-r--r-- | custom_mutators/honggfuzz/honggfuzz.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/custom_mutators/honggfuzz/honggfuzz.c b/custom_mutators/honggfuzz/honggfuzz.c index b4f07258..d7b3c9c5 100644 --- a/custom_mutators/honggfuzz/honggfuzz.c +++ b/custom_mutators/honggfuzz/honggfuzz.c @@ -65,9 +65,9 @@ my_mutator_t *afl_custom_init(afl_state_t *afl, unsigned int seed) { /* When a new queue entry is added we check if there are new dictionary entries to add to honggfuzz structure */ -void afl_custom_queue_new_entry(my_mutator_t * data, - const uint8_t *filename_new_queue, - const uint8_t *filename_orig_queue) { +uint8_t afl_custom_queue_new_entry(my_mutator_t * data, + const uint8_t *filename_new_queue, + const uint8_t *filename_orig_queue) { if (run.global->mutate.dictionaryCnt >= 1024) return; @@ -97,6 +97,8 @@ void afl_custom_queue_new_entry(my_mutator_t * data, } + return 0; + } /* we could set only_printable if is_ascii is set ... let's see |
