diff options
author | Davide Quarta <quarta@qti.qualcomm.com> | 2024-02-05 18:26:46 +0100 |
---|---|---|
committer | Davide Quarta <quarta@qti.qualcomm.com> | 2024-02-05 18:26:46 +0100 |
commit | 023fc19ce04bffcbd623e27a1f2d1810c3ec0c3c (patch) | |
tree | 9a1130a5c2fec03a6a85db5f2f176be958a2332d /utils | |
parent | 8fedf4998449d5b6b909a1118fc2e152e4d2e6e7 (diff) | |
download | afl++-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.c | 6 |
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(); } |