39 Commits

Author SHA1 Message Date
van Hauser
da8e03e18a
Merge branch 'master' into shared_memory_mmap_refactor 2019-07-14 20:02:20 +02:00
van Hauser
013a1731d5 set instrim as default and updated documentation 2019-07-14 19:48:28 +02:00
van Hauser
e664024853 whitelist features works now 2019-07-14 10:50:13 +02:00
van Hauser
495f3b9a68 notZero added and first attempt at whitelist 2019-07-14 10:23:54 +02:00
van Hauser
98a6963911 make fix 2019-07-14 10:05:46 +02:00
Heiko Eißfeldt
c204efaaab Compile fix for LLVM 3.8.0 2019-07-13 23:12:36 +02:00
Heiko Eißfeldt
0f13137616 compiles now with LLVM 8.0 2019-07-13 23:40:34 +02:00
van Hauser
864056fcaa initial commit 2019-07-13 11:08:13 +02:00
hexcoder-
d9c70c7b8c add explicit llvm library for OpenBSD 2019-07-05 20:33:36 +02:00
heiko
984ae35948 increased portability, replace sed with tr (*BSD)
sanity check versions from clang and llvm, adjust clang path if needed.
2019-07-05 20:02:40 +02:00
van Hauser
c0332ad98b
Merge branch 'master' into neverZero_counters 2019-07-05 13:27:38 +02:00
van Hauser
7f6aaa5314 final touches 2019-07-05 11:28:08 +02:00
van Hauser
9199967022 this is the best solution IMHO 2019-07-04 11:19:18 +02:00
van Hauser
04c92c8470 notzero for afl-gcc 2019-07-03 19:10:48 +02:00
van Hauser
00b22e37df select implementations 2019-07-03 16:36:31 +02:00
van Hauser
aaa810c64a add -lrt with afl-gcc/clang automatically in mmap mode 2019-07-03 12:11:02 +02:00
van Hauser
b57b2073ac LAF_... -> AFL_LLVM_LAF_... 2019-07-03 12:05:58 +02:00
Heiko Eissfeldt
cc48f4499a add librt under NetBSD 2019-07-02 20:20:07 +02:00
van Hauser
37a379f959 Makefile magic for llvm_mode 2019-07-02 00:26:27 +02:00
Heiko Eißfeldt
d9ff84e39e Refactor to use an alternative method for shared memory.
If USEMMAP is defined, the shared memory segment is created/attached etc.
now by shm_open() and mmap().
This API is hopefully more often available (at least for iOS).

In order to reduce code duplication I have added new files
sharedmem.[ch] which now encapsulate the shared memory method.

This is based on the work of Proteas to support iOS fuzzing (thanks).
866af8ad1c

Currently this is in an experimental status yet. Please report
whether this variant works on 32 and 64 bit and on the supported platforms.

This branch enables USEMMAP and has been tested on Linux.
There is no auto detection for the mmap API yet.
2019-06-30 10:37:14 +02:00
van Hauser
aa4fc44a80 2 different implementations 2019-06-27 15:43:51 +02:00
Hexcoder
45be91ff48 experimental implementation of counters that skip zero on overflow.
Enable with AFL_NZERO_COUNTS=1 during compilation of target.
2019-06-25 22:03:59 +02:00
van Hauser
0104e99caa llvm_mode whitelist (partial instrumentation) support added 2019-06-25 12:00:12 +02:00
Philipp Bartsch
7b5905bda6 llvm_mode/split-switches-pass: add checks
Add extra check to allow early exist in trivial cases that would
sometimes lead to crashes.
2019-06-17 04:18:55 +02:00
Philipp Bartsch
f5ba5ffe80 fix zero terminated string issue
In C "strings" are zero terminated. Functions like
strcmp/strncmp/memcmp/... work on them. We have to be careful to not
ignore the last byte.
2019-06-13 14:42:10 +00:00
Heiko Eißfeldt
0113c4f834 Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2019-06-12 17:21:26 +02:00
Heiko Eißfeldt
1c2ed83960 bugfixes from pbst for laf-intel transformations 2019-06-12 17:20:25 +02:00
practicalswift
263fd37590 Fix typos 2019-06-07 17:56:29 +02:00
Heiko Eißfeldt
bcc0347eef enable laf-intel passes in the test compilation to check instrumentation 2019-06-04 20:59:45 +02:00
Hexcoder
8cf9125097 Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2019-06-03 23:41:42 +02:00
Hexcoder
b4678b77f1 fix llvm compatibility problems. Should compile now with llvm 3.8.0
up to llvm 8.0
2019-06-03 23:20:47 +02:00
van Hauser
865212899a llvm support for up to version 8 2019-06-03 23:20:30 +02:00
van Hauser
58b6c7605a fixed afl++ version display in llvm_mode 2019-06-03 14:08:04 +02:00
van Hauser
14bfde3f78 llvm compile fix 2019-06-03 13:10:27 +02:00
van Hauser
835b84fc49 set to compile with llvm 5.0 and 6.0 2019-06-02 22:39:04 +02:00
van Hauser
49a08e38b9 llvm 5.0 and 6.0 workaround 2019-06-02 22:23:25 +02:00
van Hauser
c9d2c5f269 llvm compilter versions supported 2019-06-02 17:20:38 +02:00
van Hauser
bf5bd17d2e llvm 8 support 2019-06-01 17:05:51 +02:00
van Hauser
f367728c44 afl++ 2.52c initial commit 2019-05-28 16:40:24 +02:00