diff options
author | van Hauser <vh@thc.org> | 2020-05-13 16:39:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 16:39:23 +0200 |
commit | c4fe6f5277a8edfbf12d9c9c5db77ceb5271bd7f (patch) | |
tree | c039c7192a3aa9f83ac9f7dde9c68dac01f3f607 /src/afl-fuzz-cmplog.c | |
parent | f8b3d34225102158ed585130e3de08772e989b53 (diff) | |
parent | 645e331559d01d234be231a7f5076c2ad658b159 (diff) | |
download | afl++-c4fe6f5277a8edfbf12d9c9c5db77ceb5271bd7f.tar.gz |
Merge pull request #361 from rish9101/pre_save_format
Add post library API as custom mutator and rename pre_save
Diffstat (limited to 'src/afl-fuzz-cmplog.c')
-rw-r--r-- | src/afl-fuzz-cmplog.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/afl-fuzz-cmplog.c b/src/afl-fuzz-cmplog.c index 9452fa90..4be6a2c8 100644 --- a/src/afl-fuzz-cmplog.c +++ b/src/afl-fuzz-cmplog.c @@ -51,17 +51,6 @@ u8 common_fuzz_cmplog_stuff(afl_state_t *afl, u8 *out_buf, u32 len) { u8 fault; - if (afl->post_handler) { - - u8 *post_buf = NULL; - - size_t post_len = - afl->post_handler(afl->post_data, out_buf, len, &post_buf); - if (!post_buf || !post_len) { return 0; } - out_buf = post_buf; - len = post_len; - - } write_to_testcase(afl, out_buf, len); |