diff options
| author | van Hauser <vh@thc.org> | 2021-08-20 23:54:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-20 23:54:59 +0200 |
| commit | 2e15661f184c77ac1fbb6f868c894e946cbb7f17 (patch) | |
| tree | 665b9368d2c1908cf71dbc4a76517f88c5317d9a /custom_mutators/honggfuzz | |
| parent | 32a0d6ac31554a47dca591f8978982758fb87677 (diff) | |
| parent | ca9c87dd45d8b9a746a212cbc6ce85b78b637d8c (diff) | |
| download | afl++-2e15661f184c77ac1fbb6f868c894e946cbb7f17.tar.gz | |
Merge pull request #1074 from AFLplusplus/dev
push to stable
Diffstat (limited to 'custom_mutators/honggfuzz')
| -rw-r--r-- | custom_mutators/honggfuzz/README.md | 2 | ||||
| -rw-r--r-- | custom_mutators/honggfuzz/honggfuzz.c | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/custom_mutators/honggfuzz/README.md b/custom_mutators/honggfuzz/README.md index e1cab281..4bf5c462 100644 --- a/custom_mutators/honggfuzz/README.md +++ b/custom_mutators/honggfuzz/README.md @@ -1,7 +1,7 @@ # custum mutator: honggfuzz mangle this is the honggfuzz mutator in mangle.c as a custom mutator -module for afl++. It is the original mangle.c, mangle.h and honggfuzz.h +module for AFL++. It is the original mangle.c, mangle.h and honggfuzz.h with a lot of mocking around it :-) just type `make` to build 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 |
