diff options
author | Jianfeng Tan <henry.tjf@antfin.com> | 2019-11-18 06:59:50 +0000 |
---|---|---|
committer | Jianfeng Tan <henry.tjf@antfin.com> | 2020-03-05 01:31:33 +0800 |
commit | 78c896b3b3127515478090c19447e27dc406427e (patch) | |
tree | d6d67d4683e9ca0409f9984a834547a572fb5310 /afl | |
parent | e4380f4866091fd92a7a57667dd938a99144f9cd (diff) |
TLDKv2dev-next-socket
Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
Signed-off-by: Jielong Zhou <jielong.zjl@antfin.com>
Signed-off-by: Jian Zhang <wuzai.zj@antfin.com>
Signed-off-by: Chen Zhao <winters.zc@antfin.com>
Change-Id: I55c39de4c6cd30f991f35631eb507f770230f08e
Diffstat (limited to 'afl')
-rw-r--r-- | afl/lower_constructor_priority.diff | 16 | ||||
-rwxr-xr-x | afl/run.sh | 1 | ||||
-rw-r--r-- | afl/seeds/seed.txt | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..1ed4d76 --- /dev/null +++ b/afl/seeds/seed.txt |