225 Commits

Author SHA1 Message Date
hexcoder-
e56e2f4c18 llvm_mode: fix compiler warnings FORTIFY_SOURCE needs -O 2020-04-01 13:10:06 +02:00
hexcoder-
23d9649aec making 'CFLAGS="-m32" make source-only tests' work 2020-04-01 13:10:06 +02:00
Dominik Maier
e71c2937de code format 2020-04-01 13:10:05 +02:00
hexcoder-
3d6c58df53 part1 make it compilable for llvm 3.8.0 (ubuntu 16.04) 2020-04-01 13:10:05 +02:00
van Hauser
34c090a31d add CFI sanitizer 2020-04-01 13:10:05 +02:00
van Hauser
5cc50bb979 important llvm_mode Makefile fix 2020-03-27 11:06:06 +01:00
Dominik Maier
6d3dc83c5d code format 2020-03-27 11:06:06 +01:00
Andrea Fioraldi
65817144ac include afl-llvm-rt.o not only when linking 2020-03-23 20:19:07 +01:00
van Hauser
94e30002e7 better man page for afl-clang-* 2020-03-23 09:25:05 +01:00
van Hauser
37603272be more fixes and code-format 2020-03-23 08:58:17 +01:00
van Hauser
4263519479 more fixes 2020-03-23 08:48:57 +01:00
van Hauser
db302ff18b minor fixes 2020-03-23 08:44:27 +01:00
hexcoder-
6cbd0f1faf avoid calling awk for 'which' replacement, use POSIX 'command -v' instead 2020-03-21 18:51:43 +01:00
van Hauser
a0012c9e82 forgot readme for ngram 2020-03-20 17:56:24 +01:00
van Hauser
5a74cffa0f added llvm_mode ngram coverage 2020-03-20 17:10:44 +01:00
van Hauser
60d66ebc0d clean was missing ld symlink 2020-03-20 09:06:54 +01:00
hexcoder-
d0b5cd64c3 install llvm_mode READMEs 2020-03-19 23:55:28 +01:00
van Hauser
be261b3e69 moved repository to https://github.com/AFLplusplus/AFLplusplus and updated links 2020-03-19 15:20:39 +01:00
hexcoder-
a3bd1c71ca Makefiles: replace 'which' with 'type' 2020-03-18 23:51:54 +01:00
hexcoder-
94a4cc8415 Makefiles: prefer POSIX 'type' over 'which' for checking 2020-03-18 22:55:14 +01:00
van Hauser
8e07fbf636 cmplog was neither quiet nor where its llvm passes installed 2020-03-17 16:26:36 +01:00
van Hauser
35720304be not all opt are compiled with polly support 2020-03-16 20:10:42 +01:00
van Hauser
9ce0617cda fix for instrim with and without AFL_LLVM_INSTRIM_SKIPSINGLEBLOCK 2020-03-16 07:28:31 +01:00
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