261 Commits

Author SHA1 Message Date
Andrea Fioraldi
4b88e059ef more robust search for clang for afl-clang-fast 2020-04-13 17:05:43 +02:00
van Hauser
e70c54547e remove warnings with llvm11 2020-04-12 17:23:41 +02:00
van Hauser
ec67780854 fix 32/64 bit LTO 2020-04-12 14:04:17 +02:00
van Hauser
0a525f768b local/global var for compare-transform-pass and code-format 2020-04-12 12:13:01 +02:00
van Hauser
4ed43b7632 m32/m64 support for LTO and code-format for test/ 2020-04-12 11:00:01 +02:00
van Hauser
5e09e13ece m32/m64 support for LTO and code-format for test/ 2020-04-12 10:58:58 +02:00
van Hauser
eec725a345 add global and local var support to autodictionary 2020-04-12 10:34:03 +02:00
Andrea Fioraldi
90a9f22c3d
fix #312 2020-04-11 18:31:46 +02:00
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