253 Commits

Author SHA1 Message Date
van Hauser
8bcfba8231 add missing file 2020-04-11 07:35:54 +02:00
van Hauser
68f269437d
Autodictionary (#309)
* lto module clean-up

* step 1/3

* step 1/3 completed

* if tmp is ever made non-static

* parts 2 and 3 - autodictionary is complete

* variable map_size support

* variable map size: changed overlooked functions

* remove debug for autodict

* 64 bit alignment of map size

* fix review comments

* force 64 bit alignment on both sides

* typo

* better map transfer, display snapshot in UI

* update readme
2020-04-11 07:32:42 +02:00
Dominik Maier
39e8b91806 code format 2020-04-10 22:54:31 +02:00
van Hauser
3a509c6168
LTO optimization, variable map size, autodictionary (#307)
* lto module clean-up

* step 1/3

* step 1/3 completed

* if tmp is ever made non-static

* parts 2 and 3 - autodictionary is complete

* variable map_size support

* variable map size: changed overlooked functions

* remove debug for autodict

* 64 bit alignment of map size

* fix review comments

* force 64 bit alignment on both sides

* typo
2020-04-10 22:33:11 +02:00
van Hauser
b8d84ababb lto module clean-up (#303) 2020-04-09 16:27:00 +02:00
van Hauser
b485b7a252 fix compilers for empty AFL_CC/AFL_CXX env 2020-04-09 16:27:00 +02:00
van Hauser
c1395bb543 LTO llvm11 (#302)
* new LTO mode for llvm 11

* remove unneeded afl-ld and env vars
2020-04-09 16:27:00 +02:00
Andrea Fioraldi
4b5c4d58dc Update README.snapshot.md 2020-04-09 10:23:37 +02:00
van Hauser
c8ca944fac fix review comments by Heiko 2020-04-09 10:23:37 +02:00
van Hauser
698caed9c0 llvm_mode ctx: move function terminator instrumentation before skipping blocks 2020-04-09 10:23:37 +02:00
van Hauser
d397bba6b2 llvm_mode android fix 2020-04-09 10:23:37 +02:00
van Hauser
1d1f575b5c add missing piece for CTX coverage 2020-04-09 10:23:37 +02:00
van Hauser
ecdffa03f8 added snapshot feature to documentation 2020-04-09 10:23:37 +02:00
hexcoder
84a4fd40a0 fix travis 2020-04-09 10:23:37 +02:00
van Hauser
314debb799 ctx done 2020-04-09 10:23:37 +02:00
Andrea Fioraldi
41225b53fa small fixes 2020-04-09 10:23:37 +02:00
Andrea Fioraldi
5efd306f7b snapshot() in llvm mode 2020-04-09 10:23:37 +02:00
van Hauser
ccbcb5c8d3 added AFL_LLVM_INSTRUMENT, made USE_TRACE_PC obselete and llvm_mode Makefile fix, fixed for FUSELD (for LTO) 2020-04-09 10:23:37 +02:00
van Hauser
5602a09cc6 remove MaybeAlign 2020-04-09 10:23:37 +02:00
van Hauser
f7f106c42a remove maybe_linking artifacts 2020-04-09 10:23:37 +02:00
hexcoder-
7f817fe583 rename all 'Makefile' to 'GNUmakefile', use -Werror for -flto checks 2020-04-09 10:23:37 +02:00
David Carlier
2455f081fc llvm_mode: using MaybeAlign wrapper over the deprecated setter.
seems to be available even on LLVM 3.7
2020-04-09 10:23:37 +02:00
Dominik Maier
c8bdf0790f reenabled custom mutator report 2020-04-01 13:10:07 +02:00
Dominik Maier
be441dc176 upstream changes 2020-04-01 13:10:06 +02:00
Dominik Maier
9721990507 code cleanup 2020-04-01 13:10:06 +02:00
hexcoder-
3ce5efc44b llvm_mode/Makefile: replace lexical version comparison with a numerical one 2020-04-01 13:10:06 +02:00
hexcoder-
1e8c1a4c46 review adaptions for afl-llvm-pass 2020-04-01 13:10:06 +02:00
hexcoder-
b53ec1b247 afl-llvm-pass.so.cc: fix compile for llvm 3.8.0 @Marc: please review 2020-04-01 13:10:06 +02:00
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