van Hauser
684f4dd1c4
honor afl_quiet on env var checks + code-format
2020-03-11 11:42:57 +01:00
Dominik Maier
cc1d6b33b1
unified pointer placement
2020-03-10 22:04:05 +01:00
van Hauser
1148a2d0d1
document new environment variables and code format
2020-03-10 07:14:42 +01:00
van Hauser
f678731234
afl-tmin is fixed via default initialization in forkserver
2020-03-10 06:44:24 +01:00
van Hauser
188a6f5ec5
disable leaksanitizer when "make" ... more
2020-03-09 12:17:59 +01:00
van Hauser
df74edeb45
more honoring be_quiet
2020-03-09 11:08:50 +01:00
van Hauser
dcf7d85cba
honor no_quiet for missing llvm_mode output, also print to stderr with afl-*-rt.o.c instead of stdout for errors plus two potential bad free() fixes
2020-03-09 10:56:53 +01:00
van Hauser
9f89bbd5ec
reactivated LTO persistent mode to test.sh
2020-03-09 08:51:37 +01:00
van Hauser
6a6dd84b39
more detail to the fact that LTO mode can fail easily
2020-03-09 08:33:08 +01:00
van Hauser
0581f6ec00
bug fixes to afl-ld and intensive README.lto.md update on errors and how to do the steps by hand, plus global code format
2020-03-09 08:27:23 +01:00
van Hauser
783f3b0957
afl-ld fixes for -L/-l .a libary loads
2020-03-08 19:12:04 +01:00
van Hauser
8ff0161d58
"fixed" symbol multiply defined problems with LTO
2020-03-08 18:20:28 +01:00
Andrea Fioraldi
27d6d35893
small fix to run cmplog binaries outside afl-fuzz
2020-03-06 21:23:47 +01:00
van Hauser
9d686ba523
Add LTO collision free llvm_mode ( #223 )
...
* first new implementation, only works with AFL_DONT_OPTIMIZE
* bug hunting
* interim commit
* finalized LTO non-collision solution
* update documentation
* merge resulted in some problems, fixing these
* added lto env to env check
* fixed llvm weirdness to messes up our instrumentation due CFG rewrite optimizations
* all llvm instrumentation issues have been resolved! :-)
* llvm 9 is required (so far)
* update lto readme
2020-03-05 10:52:26 +01:00
van Hauser
05a3418f86
added __afl_final_loc to all compile RTs
2020-03-04 01:51:41 +01:00
Andrea Fioraldi
d559d5a374
fix prev commit
2020-03-03 11:15:07 +01:00
Andrea Fioraldi
385f7da77f
allow custom cflags on llvm makefile
2020-03-03 11:07:41 +01:00
Andrea Fioraldi
d946be29b9
fix #218
2020-03-01 11:16:43 +01:00
van Hauser
76ca6adbc5
afl-clang-fast: only show the official env vars
2020-02-29 15:12:27 +01:00
van Hauser
6730b6a15a
code-format, env.md fixes and adding -hh for env usage display into afl-fuzz and Makefile
2020-02-29 14:23:44 +01:00
hexcoder-
0e8388d3ea
add env info to afl-clang-fast, small Android change
2020-02-28 05:00:22 +01:00
van Hauser
4e37e12c06
code-format
2020-02-28 00:19:36 +01:00
Andrea Fioraldi
3712a70115
bye bye SanCov for CmpLog
2020-02-27 16:04:07 +01:00
hexcoder-
891b568678
fix references to README docs
2020-02-25 08:34:44 +01:00
van Hauser
28b43ab137
important InsTrim bugfix!
2020-02-24 03:03:53 +01:00
van Hauser
f807d7cefb
important InsTrim fixes!
2020-02-24 02:45:17 +01:00
Andrea Fioraldi
eb05cb4d11
ooops, I forgot to merge thsi part :(
2020-02-21 19:51:19 +01:00
Andrea Fioraldi
7323833888
block the usage of mopt with optionals mutators (redqueen/radamsa/etc...)
2020-02-21 16:50:06 +01:00
Andrea Fioraldi
97d34b52d7
Merge pull request #202 from vanhauser-thc/cmplog_routines
...
Cmplog routines for LLVM mode
2020-02-19 20:48:26 +01:00
Andrea Fioraldi
0fce34ec16
merge afl-llvm-cmplog-rt into afl-llvm-rt
2020-02-19 20:45:45 +01:00
van Hauser
f9d7ad8e43
forgot cleanup
2020-02-19 10:52:44 +01:00
van Hauser
69898722cb
fix travis and fix logic
2020-02-19 10:46:10 +01:00
van Hauser
687b357b2d
isatty for all compilers + AFL_DEBUG
2020-02-19 09:53:46 +01:00
Andrea Fioraldi
2a549d548a
fuzzer wotking with rtn cmplog
2020-02-18 17:45:57 +01:00
Andrea Fioraldi
a83691d662
fix insertion of __cmplog_rtn_hook
2020-02-18 15:27:35 +01:00
Andrea Fioraldi
706718ca2e
cmplog routines llvm pass
2020-02-18 14:52:28 +01:00
van Hauser
204059c61a
check for mistyped env vars
2020-02-16 18:16:10 +01:00
van Hauser
4cccdb89c0
fix for instrim (not the important one)
2020-02-16 16:45:30 +01:00
Andrea Fioraldi
ef00ed6090
code format
2020-02-16 13:21:39 +01:00
hexcoder-
37f865ab24
fix UBSAN handling, update docs
2020-02-16 10:44:53 +01:00
hexcoder-
24dcc5eb37
fix issue #194 more seriously
2020-02-13 21:06:09 +01:00
hexcoder-
1b758e4d6b
compatibility for GNU make 4.3, which behaves different for
...
lines with '#' like in
ifeq "$(shell echo '\#include <sys/ipc.h> ...
Now make v 4.3 wants
ifeq "$(shell echo '#include <sys/ipc.h> ...
In order to get it working with all GNU makes, we use a make
variable for '#' called HASH
2020-02-11 20:15:01 +01:00
van Hauser
1edc392194
afl-showmap fix
2020-02-05 17:33:02 +01:00
van Hauser
118a81a5fe
Merge pull request #186 from vanhauser-thc/ubsan
...
add AFL_USE_UBSAN
2020-02-03 17:30:44 +01:00
van Hauser
542bea37fb
fix MDs
2020-02-03 16:10:16 +01:00
Andrea Fioraldi
13ac2cb125
s/experimental\//examples\/g
2020-02-03 14:13:09 +01:00
Andrea Fioraldi
fa877b573a
add AFL_USE_UBSAN
2020-02-03 12:48:10 +01:00
Andrea Fioraldi
4384008f81
AFL_ALIGNED_ALLOC in libdislocator
2020-02-01 19:12:26 +01:00
hexcoder
3b4920011b
small fixes
2020-01-31 00:18:27 +01:00
Andrea Fioraldi
e5f081586d
changelog
2020-01-30 23:11:03 +01:00