about summary refs log tree commit diff
path: root/examples/post_library/post_library.so.c
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-03-10 22:04:05 +0100
committerDominik Maier <domenukk@gmail.com>2020-03-10 22:04:05 +0100
commitcc1d6b33b1524d52b21a6e9794ee6b0d6a2a9d50 (patch)
tree717c62b52076b37cb9d4e4efc9f33cf09dea723b /examples/post_library/post_library.so.c
parent2832cb643d90ff6bad7a6ba4ff139988f10b171a (diff)
downloadafl++-cc1d6b33b1524d52b21a6e9794ee6b0d6a2a9d50.tar.gz
unified pointer placement
Diffstat (limited to 'examples/post_library/post_library.so.c')
-rw-r--r--examples/post_library/post_library.so.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/post_library/post_library.so.c b/examples/post_library/post_library.so.c
index 487b9a6d..a38652ce 100644
--- a/examples/post_library/post_library.so.c
+++ b/examples/post_library/post_library.so.c
@@ -76,11 +76,11 @@
 
 /* The actual postprocessor routine called by afl-fuzz: */
 
-const unsigned char* afl_postprocess(const unsigned char* in_buf,
-                                     unsigned int*        len) {
+const unsigned char *afl_postprocess(const unsigned char *in_buf,
+                                     unsigned int *len) {
 
-  static unsigned char* saved_buf;
-  unsigned char*        new_buf;
+  static unsigned char *saved_buf;
+  unsigned char *new_buf;
 
   /* Skip execution altogether for buffers shorter than 6 bytes (just to
      show how it's done). We can trust *len to be sane. */