about summary refs log tree commit diff
path: root/utils
diff options
context:
space:
mode:
authorDavide Quarta <quarta@qti.qualcomm.com>2024-02-05 18:26:46 +0100
committerDavide Quarta <quarta@qti.qualcomm.com>2024-02-05 18:26:46 +0100
commit023fc19ce04bffcbd623e27a1f2d1810c3ec0c3c (patch)
tree9a1130a5c2fec03a6a85db5f2f176be958a2332d /utils
parent8fedf4998449d5b6b909a1118fc2e152e4d2e6e7 (diff)
downloadafl++-023fc19ce04bffcbd623e27a1f2d1810c3ec0c3c.tar.gz
better replay mode error handling, added replay mode documentation, code formatting
Diffstat (limited to 'utils')
-rw-r--r--utils/persistent_mode/persistent_demo_new.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/persistent_mode/persistent_demo_new.c b/utils/persistent_mode/persistent_demo_new.c
index 40ada9e1..3d9d90a6 100644
--- a/utils/persistent_mode/persistent_demo_new.c
+++ b/utils/persistent_mode/persistent_demo_new.c
@@ -31,8 +31,8 @@
 
 /* this lets the source compile without afl-clang-fast/lto */
 #ifndef __AFL_FUZZ_TESTCASE_LEN
-#define AFL_COMPAT
-#include "persistent_replay.h"
+  #define AFL_COMPAT
+  #include "persistent_replay.h"
 #endif
 
 __AFL_FUZZ_INIT();
@@ -86,8 +86,6 @@ int main(int argc, char **argv) {
               if (buf[5] == '!') {
 
                 printf("six\n");
-                char *nullo = NULL+1;
-                *nullo = 'p';
                 abort();
 
               }