07df1e3034
bugfix 'echo -n' is not POSIX, use input redirection from /dev/null
2019-08-07 20:34:57 +02:00
09c95b7ea7
reviewed neverZero for llvm 9.0
2019-08-07 20:26:41 +02:00
a6fe8ae0af
fix compilation error with llvm 9.0
2019-08-07 20:25:22 +02:00
dc2c46e23c
change instrumentation test to trigger different bitmap entries with clang 9.0
2019-08-07 20:22:47 +02:00
aad485128e
fix
2019-08-01 15:55:10 +02:00
af823d6486
map size fixes
2019-08-01 15:44:10 +02:00
8f4f45c524
incorporated most of the 2.53b changes
2019-07-26 10:35:58 +02:00
ce842648ae
afl_trace_pc fix
2019-07-25 11:18:14 +02:00
fe084b9866
several documentation fixes
2019-07-19 11:17:30 +02:00
80c98f4d0c
added readme
2019-07-16 21:05:50 +02:00
995eb0cd79
deprecate afl-gcc
2019-07-16 08:51:00 +02:00
3252523823
fixing commit fuckup
2019-07-15 11:22:54 +02:00
2628f9f61b
fix crash with case insensitive compare functions (str(n)casecmp())
2019-07-15 08:54:12 +02:00
da8e03e18a
Merge branch 'master' into shared_memory_mmap_refactor
2019-07-14 20:02:20 +02:00
013a1731d5
set instrim as default and updated documentation
2019-07-14 19:48:28 +02:00
e664024853
whitelist features works now
2019-07-14 10:50:13 +02:00
495f3b9a68
notZero added and first attempt at whitelist
2019-07-14 10:23:54 +02:00
98a6963911
make fix
2019-07-14 10:05:46 +02:00
c204efaaab
Compile fix for LLVM 3.8.0
2019-07-13 23:12:36 +02:00
0f13137616
compiles now with LLVM 8.0
2019-07-13 23:40:34 +02:00
864056fcaa
initial commit
2019-07-13 11:08:13 +02:00
d9c70c7b8c
add explicit llvm library for OpenBSD
2019-07-05 20:33:36 +02:00
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
c0332ad98b
Merge branch 'master' into neverZero_counters
2019-07-05 13:27:38 +02:00
7f6aaa5314
final touches
2019-07-05 11:28:08 +02:00
9199967022
this is the best solution IMHO
2019-07-04 11:19:18 +02:00
04c92c8470
notzero for afl-gcc
2019-07-03 19:10:48 +02:00
00b22e37df
select implementations
2019-07-03 16:36:31 +02:00
aaa810c64a
add -lrt with afl-gcc/clang automatically in mmap mode
2019-07-03 12:11:02 +02:00
b57b2073ac
LAF_... -> AFL_LLVM_LAF_...
2019-07-03 12:05:58 +02:00
cc48f4499a
add librt under NetBSD
2019-07-02 20:20:07 +02:00
37a379f959
Makefile magic for llvm_mode
2019-07-02 00:26:27 +02:00
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
aa4fc44a80
2 different implementations
2019-06-27 15:43:51 +02:00
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
0104e99caa
llvm_mode whitelist (partial instrumentation) support added
2019-06-25 12:00:12 +02:00
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
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
0113c4f834
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
2019-06-12 17:21:26 +02:00
1c2ed83960
bugfixes from pbst for laf-intel transformations
2019-06-12 17:20:25 +02:00
263fd37590
Fix typos
2019-06-07 17:56:29 +02:00
bcc0347eef
enable laf-intel passes in the test compilation to check instrumentation
2019-06-04 20:59:45 +02:00
8cf9125097
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
2019-06-03 23:41:42 +02:00
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
865212899a
llvm support for up to version 8
2019-06-03 23:20:30 +02:00
58b6c7605a
fixed afl++ version display in llvm_mode
2019-06-03 14:08:04 +02:00
14bfde3f78
llvm compile fix
2019-06-03 13:10:27 +02:00
835b84fc49
set to compile with llvm 5.0 and 6.0
2019-06-02 22:39:04 +02:00
49a08e38b9
llvm 5.0 and 6.0 workaround
2019-06-02 22:23:25 +02:00
c9d2c5f269
llvm compilter versions supported
2019-06-02 17:20:38 +02:00