diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-03-27 23:30:15 +0100 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-04-01 13:10:05 +0200 |
commit | e71c2937de8a19cf9b3627b86894cafabcd45513 (patch) | |
tree | 1af4449f1a7a891e4c0aafc487be7c4bc9de7b5c /examples/custom_mutators/example.c | |
parent | 3d6c58df53bf2fecc068d1a4d48fbe4926d6257d (diff) | |
download | afl++-e71c2937de8a19cf9b3627b86894cafabcd45513.tar.gz |
code format
Diffstat (limited to 'examples/custom_mutators/example.c')
-rw-r--r-- | examples/custom_mutators/example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/custom_mutators/example.c b/examples/custom_mutators/example.c index 8a45d87f..4b0a461b 100644 --- a/examples/custom_mutators/example.c +++ b/examples/custom_mutators/example.c @@ -149,6 +149,7 @@ size_t afl_custom_pre_save(my_mutator_t *data, uint8_t *buf, size_t buf_size, data->pre_save_size = buf_size + 5; } + *out_buf = data->pre_save_buf; memcpy(*out_buf + 5, buf, buf_size); |