aboutsummaryrefslogtreecommitdiffstats
path: root/afl
diff options
context:
space:
mode:
Diffstat (limited to 'afl')
-rw-r--r--afl/lower_constructor_priority.diff16
-rwxr-xr-xafl/run.sh1
-rw-r--r--afl/seeds/seed.txtbin0 -> 90 bytes
3 files changed, 17 insertions, 0 deletions
diff --git a/afl/lower_constructor_priority.diff b/afl/lower_constructor_priority.diff
new file mode 100644
index 0000000..b1eba07
--- /dev/null
+++ b/afl/lower_constructor_priority.diff
@@ -0,0 +1,16 @@
+diff --git a/llvm_mode/afl-llvm-rt.o.c b/llvm_mode/afl-llvm-rt.o.c
+index debde20..69e2e4c 100644
+--- a/llvm_mode/afl-llvm-rt.o.c
++++ b/llvm_mode/afl-llvm-rt.o.c
+@@ -39,9 +39,9 @@
+ the LLVM-generated runtime initialization pass, not before. */
+
+ #ifdef USE_TRACE_PC
+-# define CONST_PRIO 5
++# define CONST_PRIO 2005
+ #else
+-# define CONST_PRIO 0
++# define CONST_PRIO 2000
+ #endif /* ^USE_TRACE_PC */
+
+ #include <sys/mman.h>
diff --git a/afl/run.sh b/afl/run.sh
new file mode 100755
index 0000000..23213f6
--- /dev/null
+++ b/afl/run.sh
@@ -0,0 +1 @@
+`pwd`/AFLplusplus/afl-fuzz -m 4096 -i seeds -o output ../x86_64-native-linuxapp-gcc/app/tcp_lo 127.0.0.1 1234 @@
diff --git a/afl/seeds/seed.txt b/afl/seeds/seed.txt
new file mode 100644
index 0000000..1ed4d76
--- /dev/null
+++ b/afl/seeds/seed.txt
Binary files differ