aboutsummaryrefslogtreecommitdiff
path: root/examples/custom_mutators
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-13 16:49:00 +0200
committervan Hauser <vh@thc.org>2020-05-13 16:49:00 +0200
commit60a5df52623802ccadd0691b812761b3f4a9120e (patch)
tree1c1663227c13c422851aa33e21e4d25b92ce570a /examples/custom_mutators
parentc384a17b4181553d9e7c56fbafd6c8e934e6beed (diff)
downloadafl++-60a5df52623802ccadd0691b812761b3f4a9120e.tar.gz
code-format and slight -S/-M modifications
Diffstat (limited to 'examples/custom_mutators')
-rw-r--r--examples/custom_mutators/example.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/custom_mutators/example.c b/examples/custom_mutators/example.c
index c9be3e0c..23add128 100644
--- a/examples/custom_mutators/example.c
+++ b/examples/custom_mutators/example.c
@@ -139,10 +139,11 @@ size_t afl_custom_fuzz(my_mutator_t *data, uint8_t *buf, size_t buf_size,
* @return Size of the output buffer after processing or the needed amount.
* A return of 0 indicates an error.
*/
-size_t afl_custom_post_process(my_mutator_t *data, uint8_t *buf, size_t buf_size,
- uint8_t **out_buf) {
+size_t afl_custom_post_process(my_mutator_t *data, uint8_t *buf,
+ size_t buf_size, uint8_t **out_buf) {
- uint8_t *post_process_buf = maybe_grow(BUF_PARAMS(data, post_process), buf_size + 5);
+ uint8_t *post_process_buf =
+ maybe_grow(BUF_PARAMS(data, post_process), buf_size + 5);
if (!post_process_buf) {
perror("custom mutator realloc failed.");