about summary refs log tree commit diff
path: root/test/test-custom-mutator.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-12 12:13:01 +0200
committervan Hauser <vh@thc.org>2020-04-12 12:13:01 +0200
commit0a525f768b8b50e6f20a59489f19a4efe84ccfff (patch)
treee04aa443ac4fefc6acad438e8d778f57ecdfc109 /test/test-custom-mutator.c
parent4ed43b7632e8e0d80230bd3c27ee7f4d536a543a (diff)
downloadafl++-0a525f768b8b50e6f20a59489f19a4efe84ccfff.tar.gz
local/global var for compare-transform-pass and code-format
Diffstat (limited to 'test/test-custom-mutator.c')
-rw-r--r--test/test-custom-mutator.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/test/test-custom-mutator.c b/test/test-custom-mutator.c
index 83baafab..f868550c 100644
--- a/test/test-custom-mutator.c
+++ b/test/test-custom-mutator.c
@@ -1,5 +1,6 @@
 /**
- * Reference: https://github.com/bruce30262/libprotobuf-mutator_fuzzing_learning/blob/master/4_libprotobuf_aflpp_custom_mutator/vuln.c
+ * Reference:
+ * https://github.com/bruce30262/libprotobuf-mutator_fuzzing_learning/blob/master/4_libprotobuf_aflpp_custom_mutator/vuln.c
  */
 
 #include <stdio.h>
@@ -8,12 +9,12 @@
 #include <stdlib.h>
 #include <unistd.h>
 
-int main(int argc, char *argv[])
-{
-    char str[100];
-    read(0, str, 100);
-    if( str[6] == 'A') {
-        abort();
-    }
-    return 0;
+int main(int argc, char *argv[]) {
+
+  char str[100];
+  read(0, str, 100);
+  if (str[6] == 'A') { abort(); }
+  return 0;
+
 }
+