diff options
author | rish9101 <rranjan@cs.iitr.ac.in> | 2020-05-13 18:59:12 +0530 |
---|---|---|
committer | rish9101 <rranjan@cs.iitr.ac.in> | 2020-05-13 18:59:12 +0530 |
commit | 9627458ecc61783aa1f8bf76835abe00c4107739 (patch) | |
tree | d489774c83c2e24faf9c44fcde3eb21990679891 /src/afl-fuzz-cmplog.c | |
parent | f8b3d34225102158ed585130e3de08772e989b53 (diff) | |
download | afl++-9627458ecc61783aa1f8bf76835abe00c4107739.tar.gz |
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); |